/* ===================================================================
   menu0 — Carta digital con código QR para restaurantes
   =================================================================== */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --pink: #ff17e9;
  --black: #000000;
  --white: #ffffff;
  --ink: #0e071d;
  --muted: rgba(14, 7, 29, 0.58);
  --muted-dark: rgba(255, 255, 255, 0.58);
  --line: rgba(14, 7, 29, 0.14);
  --line-dark: rgba(255, 255, 255, 0.24);
  --gray-card: #f0f0f0;
  --green: #10b981;
  --green-dark: #059669;
  --green-bg: #ecfdf5;
  --radius: 24px;
  --font: "Inter", "Segoe UI", Roboto, sans-serif;
  --font-alt: "Inter", "Segoe UI", Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1389px;
  margin: 0 auto;
  padding: 0 56px;
}

.hairline {
  height: 1px;
  background: var(--line);
  margin: 0 56px;
}

/* ---------- Section header pattern: title left / desc right ---------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 631px);
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(34px, 3.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 560px;
}

.section-head .desc {
  font-size: 16px;
  line-height: 1.4;
  color: var(--muted);
  padding-top: 6px;
}

.dark .section-head .desc {
  color: var(--muted-dark);
}

/* ---------- Buttons / pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 30px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--black);
}

/* ---------- Carousel controls ---------- */
.carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 32px;
}

.carousel-controls.right {
  justify-content: flex-end;
}

.ctrl {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--line);
  background: transparent;
  flex-shrink: 0;
}

.ctrl img,
.ctrl svg {
  width: 20px;
  height: 20px;
}

.ctrl.solid-black {
  background: var(--black);
  border-color: var(--black);
}

.ctrl.solid-white {
  background: var(--white);
  border-color: var(--white);
}

.dark .ctrl {
  border-color: var(--line-dark);
}

.dots {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
}

.dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(14, 7, 29, 0.35);
}

.dots span.active {
  background: var(--black);
  border-color: var(--black);
}

/* ---------- Horizontal card row (carousel) ---------- */
.card-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.card-row::-webkit-scrollbar {
  display: none;
}

/* Products section: gray bento grid (2 grandes arriba + 3 abajo), no carousel */
.section.bento {
  background: #f2f2f2;
}

#products-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 440px 360px;
  gap: 16px;
  overflow: visible;
}

#products-row .tile {
  width: 100%;
  height: 100%;
  background: #191919;
}

#products-row .tile:nth-child(1) { grid-column: 1 / 4; grid-row: 1; }
#products-row .tile:nth-child(2) { grid-column: 4 / 7; grid-row: 1; }
#products-row .tile:nth-child(3) { grid-column: 1 / 3; grid-row: 2; }
#products-row .tile:nth-child(4) { grid-column: 3 / 5; grid-row: 2; }
#products-row .tile:nth-child(5) { grid-column: 5 / 7; grid-row: 2; }

/* Panel section: fixed 2×2 card grid (no carousel), collapses to 1 on phones */
#shift-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  overflow: visible;
}

#shift-row .tile {
  width: 100%;
}

/* ===================================================================
   Header
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header .inner {
  max-width: 1389px;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 48px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo .logo-mark {
  height: 34px;
  width: 34px;
  flex-shrink: 0;
}

.logo .logo-text {
  display: inline-flex;
  align-items: center;
  font-family: "Funnel Display", var(--font-head);
  font-weight: 700;
  font-size: 21px;
  line-height: 1;
  color: #28574B;
  letter-spacing: -0.01em;
}

.logo .logo-text sup {
  font-size: 0.6em;
  font-weight: 600;
  vertical-align: baseline;
  position: relative;
  top: -0.5em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.nav a {
  font-size: 16px;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 78px;
}

.nav a img {
  width: 16px;
  height: 16px;
  transform: rotate(90deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-actions .login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 16px;
  background: var(--white);
}

.header-actions .login img {
  width: 16px;
  height: 16px;
}

/* ===================================================================
   Hero
   =================================================================== */
.hero {
  padding: 34px 0 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 108px;
  align-items: center;
}

.hero-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--gray-card);
  border-radius: var(--radius);
}

.hero-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- Floating menu card over the hero photo ---------- */
.hero-card {
  position: absolute;
  top: 12%;
  right: 4%;
  width: 50%;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(14, 7, 29, 0.16);
  padding: 18px;
}

.hero-card-head {
  margin-bottom: 4px;
}

.hero-card-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-card-list {
  list-style: none;
}

.hero-card-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(14, 7, 29, 0.1);
}

.hero-card-thumb {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.hero-card-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.hero-card-desc {
  font-size: 12px;
  color: var(--muted);
}

.hero-card-price {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.hero-card-btn {
  display: block;
  margin-top: 14px;
  padding: 13px;
  border-radius: 12px;
  background: #28574b;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.hero-copy {
  max-width: 523px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: #28574B;
  background: var(--green-bg);
  border: 1px solid rgba(40, 87, 75, 0.18);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.hero-copy h1 {
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 400;
  margin-top: 32px;
}

.hero-copy .lead {
  font-size: 16px;
  line-height: 1.25;
  color: var(--muted);
  margin-top: 32px;
  max-width: 523px;
}

.hero-copy .btn {
  margin-top: 32px;
}

/* ===================================================================
   Stats bar
   =================================================================== */
.stats {
  padding: 80px 0 96px;
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat .num {
  font-size: 48px;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.stat .label {
  margin-top: 16px;
  font-size: 16px;
  color: var(--muted);
}

/* ===================================================================
   Dark sections
   =================================================================== */
.dark {
  background: var(--black);
  color: var(--white);
}

.section {
  padding: 112px 0;
}

/* ---------- Product / feature carousel cards (320x584) ---------- */
.tile {
  position: relative;
  width: 320px;
  height: 584px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.dark .tile {
  background: #191919;
}

.tile > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile .tile-copy {
  position: absolute;
  top: 32px;
  left: 32px;
  width: 256px;
  z-index: 2;
}

.tile .tile-title {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.tile .tile-text {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.25;
}

.tile.text-white .tile-title {
  color: var(--white);
}

.tile.text-white .tile-text {
  color: var(--muted-dark);
}

.tile.text-black .tile-title {
  color: var(--black);
}

.tile.text-black .tile-text {
  color: var(--muted);
}

.tile.plain {
  background: var(--gray-card);
}

/* ===================================================================
   Slide sections (The simplest way…) — gray card + media
   =================================================================== */
.slide-section {
  padding: 96px 0;
}

.slide-card {
  background: var(--gray-card);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  min-height: 640px;
}

.slide-copy {
  padding: 64px 56px 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-copy h3 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.slide-copy p {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
  max-width: 340px;
  line-height: 1.4;
}

.slide-card .slide-controls {
  position: absolute;
  left: 48px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-controls .ctrl {
  width: 54px;
  height: 54px;
}

.slide-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.slide-media img {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius);
}

/* variante: la imagen se sale de la tarjeta por abajo (View the menu) */
.slide-card.overflow-media {
  align-items: end;
}

.slide-card.overflow-media .slide-media {
  padding: 0;
  overflow: visible;
  justify-content: flex-end;
}

.slide-card.overflow-media .slide-media img {
  max-width: 640px;
  border-radius: 0;
  margin-bottom: -56px;
}

/* ===================================================================
   QR section (La forma más sencilla…) — texto izquierda / QR verde derecha
   =================================================================== */
.qr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 80px;
  align-items: center;
}

.qr-copy {
  max-width: 560px;
}

.qr-copy .desc {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--muted);
}

.qr-cta {
  margin-top: 40px;
}

.qr-cta h3 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.qr-cta p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  max-width: 400px;
  line-height: 1.4;
}

.qr-media img {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  border-radius: var(--radius);
}

/* ===================================================================
   Get more (dark)
   =================================================================== */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 64px 0 24px;
}

.metric .num {
  font-size: 48px;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.metric .label {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted-dark);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  row-gap: 64px;
  margin-top: 64px;
}

.benefit .benefit-media {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 636 / 442;
  background: #191919;
}

.benefit .benefit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefit .benefit-title {
  margin-top: 28px;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.benefit .benefit-text {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted-dark);
  line-height: 1.4;
  max-width: 560px;
}

/* ===================================================================
   Empower (dark, form)
   =================================================================== */
.empower {
  padding: 140px 0 96px;
}

.empower .top {
  display: grid;
  grid-template-columns: 1fr minmax(0, 631px);
  gap: 48px;
  align-items: start;
}

.empower h2 {
  font-size: clamp(36px, 3.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 400;
  max-width: 420px;
}

.empower .intro {
  font-size: 16px;
  color: var(--muted-dark);
  line-height: 1.25;
  margin-bottom: 24px;
}

.demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.demo-form .full {
  grid-column: 1 / -1;
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 18px 20px;
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
}

.demo-form input::placeholder,
.demo-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.demo-form textarea {
  min-height: 110px;
  resize: vertical;
}

.demo-form .btn {
  justify-self: start;
  margin-top: 12px;
}

.empower .big-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 96px;
}

.big-stat .num {
  font-size: 64px;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.big-stat .label {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted-dark);
}

/* ===================================================================
   Pricing (ES) — mismo lenguaje visual que el resto del sitio
   =================================================================== */
.pricing {
  background: var(--white);
  color: var(--ink);
  padding: 112px 0;
}

.pricing .head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.pricing .pill {
  display: inline-flex;
  align-items: center;
  background: var(--green-bg);
  color: #28574b;
  border: 1px solid rgba(40, 87, 75, 0.18);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.pricing .head h2 {
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.pricing .head > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 460px));
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}

.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan.featured {
  background: var(--black);
  border: none;
  color: var(--white);
}

.plan .badge {
  position: absolute;
  top: -13px;
  right: 28px;
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
}

.plan .plan-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.plan .plan-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 28px;
}

.plan.featured .plan-desc {
  color: var(--muted-dark);
}

.plan .price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.plan .price .amount {
  font-size: 48px;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.plan .price .per {
  font-size: 14px;
  color: var(--muted);
}

.plan.featured .price .per {
  color: var(--muted-dark);
}

.plan .divider {
  height: 1px;
  background: var(--line);
  margin: 28px 0 20px;
}

.plan.featured .divider {
  background: var(--line-dark);
}

.plan ul {
  list-style: none;
  flex: 1;
  margin-bottom: 32px;
}

.plan ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--ink);
}

.plan.featured ul li {
  color: var(--white);
}

.plan ul li img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.plan .plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.plan .plan-btn:hover {
  opacity: 0.85;
}

.plan .plan-btn.outline {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}

.plan .plan-btn.green {
  background: var(--green);
  border: none;
  color: var(--white);
}

.plan .plan-btn img {
  width: 16px;
  height: 16px;
}

.pricing .compare {
  text-align: center;
  margin-top: 48px;
  font-size: 14px;
  color: var(--muted);
}

.pricing .compare a {
  color: #28574b;
  font-weight: 500;
}

/* ===================================================================
   Footer (hairline + espacio)
   =================================================================== */
.site-footer {
  background: var(--white);
}

.site-footer .space {
  height: 450px;
}

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 1080px) {
  .container,
  .site-header .inner {
    padding-left: 24px;
    padding-right: 24px;
  }
  .hairline {
    margin: 0 24px;
  }
  .hero .container {
    gap: 48px;
  }
}

@media (max-width: 960px) {
  .hero .container,
  .section-head,
  .empower .top,
  .slide-card,
  .qr-layout {
    grid-template-columns: 1fr;
  }
  .qr-media img {
    margin: 0 auto;
  }
  .stats .container,
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }
  #products-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: 320px;
  }
  #products-row .tile {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .plans {
    grid-template-columns: minmax(0, 460px);
  }
  .empower .big-stats {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
  .nav {
    display: none;
  }
  .slide-card.overflow-media .slide-media img {
    margin-bottom: 0;
  }
  .hero-card {
    right: 4%;
    width: 58%;
  }
}

@media (max-width: 560px) {
  .stats .container,
  .metrics,
  .demo-form,
  #shift-row,
  #products-row {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 64px 0;
  }
  .slide-copy {
    padding: 40px 28px 100px;
  }
}
