/* =====================================================================
   MenuQR — Estilos base compartidos + Landing page
   ===================================================================== */

:root {
  --color-primary: #e8542a;
  --color-primary-dark: #c73f1a;
  --color-ink: #1c1c1c;
  --color-ink-soft: #4a4640;
  --color-cream: #faf7f2;
  --color-cream-dark: #f0eae0;
  --color-border: #e7e0d6;
  --color-success: #2f8f5b;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-soft: 0 8px 30px rgba(28, 20, 12, 0.08);
  --shadow-lift: 0 20px 50px rgba(28, 20, 12, 0.16);
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
}

p { margin: 0 0 1em; color: var(--color-ink-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(232, 84, 42, .35);
}
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: 0 14px 30px rgba(232, 84, 42, .42); }

.btn-outline {
  background: transparent;
  border-color: var(--color-ink);
  color: var(--color-ink);
}
.btn-outline:hover { background: var(--color-ink); color: #fff; }

.btn-light {
  background: #fff;
  color: var(--color-ink);
  box-shadow: var(--shadow-soft);
}
.btn-light:hover { transform: translateY(-2px); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}
.navbar-brand .dot { color: var(--color-primary); }
.navbar-links { display: flex; align-items: center; gap: 32px; }
.navbar-links a:not(.btn) { font-weight: 500; font-size: 15px; color: var(--color-ink-soft); }
.navbar-links a:not(.btn):hover { color: var(--color-ink); }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 72px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -.01em;
}
.hero h1 span { color: var(--color-primary); }
.hero-lead {
  font-size: 19px;
  max-width: 480px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-trust {
  display: flex;
  gap: 22px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-trust div { font-size: 13px; color: var(--color-ink-soft); font-weight: 500; }
.hero-trust strong { display: block; font-family: var(--font-display); font-size: 24px; color: var(--color-ink); }

/* ---------- Phone mockup ---------- */
.phone-mockup {
  position: relative;
  margin: 0 auto;
  width: 290px;
}
.phone-frame {
  border: 10px solid var(--color-ink);
  border-radius: 42px;
  background: #fff;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 45%; height: 22px;
  background: var(--color-ink);
  border-radius: 0 0 16px 16px;
  z-index: 5;
}
.phone-screen {
  height: 100%;
  overflow: hidden;
  background: var(--color-cream);
  font-size: 11px;
}
.phone-screen .ph-header {
  background: var(--color-ink);
  color: #fff;
  padding: 30px 16px 14px;
  text-align: center;
}
.phone-screen .ph-header .ph-logo {
  width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 8px;
  background: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
}
.phone-screen .ph-header strong { font-family: var(--font-display); font-size: 15px; display: block; }
.phone-screen .ph-header small { opacity: .7; font-size: 10px; }
.ph-tabs { display: flex; gap: 6px; padding: 10px 12px; overflow: hidden; }
.ph-tab {
  padding: 5px 11px; border-radius: 999px; font-size: 10px; font-weight: 600;
  background: #fff; border: 1px solid var(--color-border); white-space: nowrap;
}
.ph-tab.active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.ph-item {
  display: flex; gap: 10px; padding: 10px 12px; align-items: center;
}
.ph-item .ph-thumb {
  width: 52px; height: 52px; border-radius: 10px; background-size: cover; background-position: center;
  flex-shrink: 0;
}
.ph-item .ph-name { font-weight: 700; font-size: 11.5px; margin-bottom: 2px; }
.ph-item .ph-desc { font-size: 9.5px; color: var(--color-ink-soft); line-height: 1.3; }
.ph-item .ph-price { font-size: 11px; font-weight: 700; color: var(--color-primary); margin-top: 3px; }

.phone-float-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-float-badge.badge-qr { top: 8%; right: -16px; }
.phone-float-badge.badge-live { bottom: 10%; left: -30px; }
.phone-float-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--color-success);
  box-shadow: 0 0 0 rgba(47,143,91,.5); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47,143,91,.5); }
  70% { box-shadow: 0 0 0 8px rgba(47,143,91,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,143,91,0); }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-alt { background: #fff; }

.grid-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.benefit-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #fdece5;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.benefit-card h3 { font-size: 17px; margin-bottom: 8px; }
.benefit-card p { font-size: 14.5px; margin: 0; }

/* ---------- Demo CTA banner ---------- */
.demo-banner {
  background: var(--color-ink);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.demo-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 85% 20%, rgba(232,84,42,.35), transparent 70%);
}
.demo-banner > * { position: relative; z-index: 1; }
.demo-banner h2 { color: #fff; font-size: clamp(26px, 3.4vw, 34px); }
.demo-banner p { color: rgba(255,255,255,.75); font-size: 16px; }
.demo-banner .btn-primary { box-shadow: 0 12px 30px rgba(232,84,42,.5); }
.demo-preview-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px;
  color: var(--color-ink);
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-lift);
}
.demo-preview-card img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.demo-preview-card .stars { color: #f3a712; font-size: 13px; margin-bottom: 2px; }
.demo-preview-card .demo-preview-name { font-family: var(--font-display); }
.demo-preview-card .demo-preview-meta { font-size: 13px; color: var(--color-ink-soft); }
.eyebrow-on-dark { color: #ff8a65; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-card { text-align: center; padding: 0 16px; }
.step-num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin: 0 auto 18px; font-family: var(--font-display);
}
.step-card h3 { font-size: 16px; }
.step-card p { font-size: 14.5px; }

/* ---------- Pricing-ish / final CTA ---------- */
.final-cta { text-align: center; }
.final-cta .btn-primary { padding: 18px 38px; font-size: 16px; }
.final-cta-lead { max-width: 520px; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-ink);
  color: rgba(255,255,255,.6);
  padding: 48px 0 28px;
  font-size: 14px;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer strong { color: #fff; }
.site-footer .footer-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { text-align: center; padding-top: 48px; }
  .hero-lead { margin: 0 auto; }
  .hero-ctas, .hero-trust { justify-content: center; }
  .phone-mockup { margin-top: 40px; }
  .grid-benefits { grid-template-columns: repeat(2, 1fr); }
  .demo-banner { grid-template-columns: 1fr; text-align: center; padding: 44px 26px; }
  .demo-preview-card { max-width: 340px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .grid-benefits { grid-template-columns: 1fr; }
  .navbar-links { gap: 14px; }
  .navbar-links a:not(.btn) { display: none; }
}
