/* ============================================================
   PlisPlas — Landing (para organizadores)
   Paleta de la app: pimentón #DC4524 · azafrán #EC9A12 · oliva #7E9442
   Tipografía: Bricolage Grotesque (display) + Plus Jakarta Sans (texto)
   ============================================================ */

:root {
  --paprika: #DC4524;
  --paprika-600: #C2371A;
  --paprika-700: #9E2C16;
  --coral: #E66E4F;
  --saffron: #EC9A12;
  --saffron-soft: #F2B23D;
  --olive: #7E9442;

  --ink: #2A211C;
  --ink-soft: #6B5E54;
  --paper: #FBF6EE;
  --paper-2: #F4ECDF;
  --card: #ffffff;
  --line: rgba(42, 33, 28, 0.09);
  --dark: #1d120c;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -20px rgba(120, 50, 20, 0.26);
  --shadow-lg: 0 40px 90px -30px rgba(90, 40, 15, 0.5);

  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }

/* grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600;
  border-radius: 999px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--solid {
  background: linear-gradient(135deg, var(--paprika), var(--coral));
  color: #fff; box-shadow: 0 12px 30px -10px rgba(220, 69, 36, .6);
}
.btn--solid:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(220, 69, 36, .7); }
.btn--ghost { background: rgba(42,33,28,.04); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: rgba(42,33,28,.08); transform: translateY(-3px); }
.apple { margin-top: -2px; }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark {
  display: grid; place-items: center; width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--paprika), var(--coral));
  border-radius: 13px; box-shadow: 0 8px 18px -8px rgba(220,69,36,.6);
  color: #fff;
}
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -.03em; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(251, 246, 238, 0.72);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.is-stuck { background: rgba(251, 246, 238, 0.88); border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(90,40,15,.4); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--ink-soft); position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--paprika); transition: width .25s;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

/* ---------- Eyebrow / títulos ---------- */
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
  background: rgba(220, 69, 36, .1); color: var(--paprika-700);
}
.eyebrow--light { background: rgba(242,178,61,.14); color: var(--saffron-soft); }

.section__title {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.03;
}
.section__title--light { color: #fff; }
.section__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); margin-top: 18px; max-width: 58ch; }
.section__lead--light { color: rgba(255,255,255,.74); }
.center { text-align: center; }
.center-lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 64px 0 90px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob--1 { width: 520px; height: 520px; top: -160px; right: -120px;
  background: radial-gradient(circle at 30% 30%, var(--coral), transparent 70%); }
.blob--2 { width: 460px; height: 460px; bottom: -200px; left: -140px;
  background: radial-gradient(circle at 30% 30%, var(--saffron-soft), transparent 70%); opacity: .42; }
.blob--3 { width: 340px; height: 340px; top: 42%; left: 46%;
  background: radial-gradient(circle at 30% 30%, var(--olive), transparent 70%); opacity: .26; }

.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero__title {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.04em;
  font-size: clamp(2.5rem, 5.6vw, 4.3rem); line-height: .99; margin-bottom: 24px;
}
.grad {
  background: linear-gradient(115deg, var(--paprika), var(--saffron) 75%, var(--coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: var(--ink-soft); max-width: 52ch; }
.hero__lead em { font-style: normal; color: var(--paprika-700); font-weight: 600; }
.hero__cta { display: flex; gap: 14px; margin: 32px 0 28px; flex-wrap: wrap; }

.hero__points { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hero__points li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-soft); font-weight: 500; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--olive);
  box-shadow: 0 0 0 4px rgba(126,148,66,.18); flex: none; }

/* ---------- Phone mockup ---------- */
.hero__device { position: relative; display: grid; place-items: center; perspective: 1300px; }
.device__glow {
  position: absolute; width: 80%; height: 70%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(220,69,36,.32), transparent 70%); filter: blur(50px);
}
.device__tag {
  position: absolute; top: 22px; right: -6px; z-index: 4;
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
  color: var(--ink); background: #fff; padding: 7px 13px; border-radius: 999px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transform: rotate(3deg);
}
.phone {
  position: relative; width: 300px; height: 610px; border-radius: 46px;
  background: #211c1a; padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
.phone__notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: #211c1a; border-radius: 0 0 16px 16px; z-index: 3;
}
.phone__screen {
  width: 100%; height: 100%; border-radius: 36px; overflow: hidden;
  background: var(--paper); display: flex; flex-direction: column;
}
/* captura real cuando se sustituya el placeholder */
.phone__shot { width: 100%; height: 100%; object-fit: cover; display: block; }

/* placeholder de la captura (se sustituye por <img class="phone__shot">) */
.phone__shot--placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 24px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(242,178,61,.25), transparent 60%),
    linear-gradient(170deg, var(--paper) 0%, var(--paper-2) 100%);
  position: relative;
}
.phone__shot--placeholder::after {
  content: ""; position: absolute; inset: 16px; border: 2px dashed rgba(42,33,28,.14); border-radius: 26px;
}
.shot__icon {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px;
  border-radius: 20px; color: #fff;
  background: linear-gradient(135deg, var(--paprika), var(--coral));
  box-shadow: 0 14px 28px -12px rgba(220,69,36,.6);
}
.shot__title { position: relative; font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.03em; }
.shot__note { position: relative; font-size: 12.5px; color: var(--ink-soft); font-weight: 500; line-height: 1.4; }

/* ============================================================
   STRIP
   ============================================================ */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.strip__inner {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center;
  padding: 22px 24px; font-family: var(--font-display); font-weight: 500; color: var(--ink-soft); font-size: 15px;
}
.strip__inner i { color: var(--paprika); font-style: normal; }

/* ============================================================
   SECTIONS genéricas
   ============================================================ */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section--soft { background: var(--paper-2); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* dark section */
.section--dark { background: radial-gradient(120% 120% at 80% 0%, #3a2114, var(--dark)); color: #fff; position: relative; }

/* ---------- Ranking de platos (taste) ---------- */
.taste { display: grid; gap: 14px; max-width: 760px; margin: 48px auto 0; }
.taste__card {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius); backdrop-filter: blur(6px);
}
.taste__rank {
  flex: none; width: 26px; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: 18px; color: rgba(255,255,255,.4);
}
.taste__media {
  flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  font-size: 28px; background: color-mix(in srgb, var(--accent, #DC4524) 26%, #1d120c);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.taste__body { flex: 1; min-width: 0; }
.taste__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.taste__body p { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 5px; }
.taste__score { flex: none; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--saffron-soft); }

.stars { display: inline-flex; gap: 2px; }
.stars span { width: 15px; height: 15px; color: var(--saffron-soft); display: inline-block; }
.stars span.off { color: rgba(255,255,255,.22); }
.stars svg { width: 100%; height: 100%; display: block; }

/* ============================================================
   FEATURES
   ============================================================ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); }
.feature { padding: 30px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.feature:hover { box-shadow: var(--shadow); border-color: rgba(220,69,36,.25); }
.feature__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 26px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(220,69,36,.12), rgba(242,178,61,.14));
}
.feature h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin-bottom: 8px; letter-spacing: -.01em; }
.feature p { color: var(--ink-soft); font-size: 15px; }

.feature--lead {
  grid-column: span 2; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(135deg, rgba(220, 69, 36, .07), rgba(242, 178, 61, .06));
  border-color: rgba(220, 69, 36, .18);
}
.feature--lead .feature__icon { width: 62px; height: 62px; font-size: 30px; }
.feature--lead h3 { font-size: 1.7rem; margin-bottom: 10px; }
.feature--lead p { font-size: 1.05rem; max-width: 48ch; }

/* ============================================================
   LA APP (org)
   ============================================================ */
.org { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.ticks { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-size: 1.02rem; color: var(--ink); font-weight: 500; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: #fff; background: var(--olive);
}
.org__panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.org__row {
  display: flex; align-items: center; gap: 12px; padding: 13px 0;
  border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px;
}
.org__row:last-of-type { border-bottom: none; }
.org__row b { margin-left: auto; color: var(--ink-soft); font-weight: 600; font-size: 13px; }
.org__dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.org__bar { margin-top: 16px; height: 10px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.org__bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--paprika), var(--saffron)); }
.org__hint { margin-top: 12px; font-size: 13px; color: var(--ink-soft); }

/* ============================================================
   STEPS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.step { position: relative; padding: 34px 28px; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--paprika), var(--saffron)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin: 8px 0 8px; }
.step p { color: var(--ink-soft); }

/* ============================================================
   QUOTE
   ============================================================ */
.quote-section { padding: clamp(70px, 10vw, 130px) 0; }
.quote {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.3; max-width: 24ch; margin: 0 auto; color: var(--ink);
}

/* ============================================================
   CTA
   ============================================================ */
.cta { padding: 0 0 clamp(70px, 9vw, 120px); }
.cta__inner {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(48px, 7vw, 90px) 30px; border-radius: 34px; color: #fff;
}
.cta__bg { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, var(--paprika), var(--paprika-600) 55%, var(--paprika-700)); }
.cta__inner::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background: radial-gradient(60% 90% at 15% 0%, var(--coral), transparent 60%),
              radial-gradient(50% 80% at 90% 100%, var(--saffron), transparent 60%);
}
.cta__title { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.04; }
.cta__lead { margin: 18px auto 30px; max-width: 46ch; font-size: 1.15rem; color: rgba(255,255,255,.88); }
.cta__btns .btn--solid { background: #fff; color: var(--paprika); box-shadow: 0 14px 36px -12px rgba(0,0,0,.4); }
.cta__btns .btn--solid:hover { box-shadow: 0 22px 46px -14px rgba(0,0,0,.5); }
.cta__fine { margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.8); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 50px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.brand--footer .brand__name { font-size: 18px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.footer__links a:hover { color: var(--paprika); }
.footer__copy { color: var(--ink-soft); font-size: 14px; width: 100%; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }

/* ============================================================
   Reveal animation (mejora progresiva; ver app.js)
   ============================================================ */
.anim .reveal,
.anim .hero__copy > *,
.anim .hero__device,
.anim .taste__card { opacity: 0; }
.anim .phone { animation: none; }
.reveal { will-change: opacity, transform; }

@media (prefers-reduced-motion: reduce) {
  .phone { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__device { order: -1; }
  .nav__links { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 20px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .org { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .features { grid-template-columns: 1fr; }
  .feature--lead { grid-column: auto; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .device__tag { right: 50%; transform: translateX(50%) rotate(3deg); top: -14px; }
}

/* ============================================================
   Badges de descarga (App Store / Google Play)
   ============================================================ */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 9px 18px; border-radius: 14px; cursor: pointer;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.store-badge:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -14px rgba(42,33,28,.55); }
.store-badge:active { transform: translateY(-1px); }
.store-badge svg { width: 25px; height: 25px; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.08; text-align: left; }
.store-badge small { font-size: 10.5px; opacity: .82; font-weight: 500; letter-spacing: .01em; }
.store-badge strong { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.01em; }

/* ============================================================
   Modal "Próximamente"
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(42,33,28,.5); backdrop-filter: blur(5px); animation: fade-in .25s ease both; }
.modal__card {
  position: relative; max-width: 390px; width: 100%; text-align: center;
  background: var(--card); border-radius: 26px; padding: 38px 30px 30px;
  box-shadow: var(--shadow-lg);
  animation: modal-pop .35s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-pop { from { opacity: 0; transform: scale(.92) translateY(12px); } to { opacity: 1; transform: none; } }
.modal__x {
  position: absolute; top: 14px; right: 14px; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--paper-2); color: var(--ink-soft); transition: background .2s;
}
.modal__x:hover { background: var(--border-warm); color: var(--ink); }
.modal__icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px;
  border-radius: 20px; font-size: 32px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(220,69,36,.12), rgba(242,178,61,.16));
}
.modal__card h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.02em; }
.modal__card p { color: var(--ink-soft); margin: 10px auto 24px; max-width: 32ch; }
.modal__ok { width: 100%; justify-content: center; }
