/* ═══════════════════════════════════════════════════════════════
   DUBA — Landing unificada (Clientes + Restaurantes)
   CSS deduplicado de index.html y administrador.html originales
═══════════════════════════════════════════════════════════════ */

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

:root {
  --brand: #75FB4C;
  --brand-dark: #57D630;
  --brand-light: #EDFFD9;
  --dark: #171715;
  --dark2: #1E1E1C;
  --text: #171715;
  --muted: #E5E7EB;
  --bg: #1E1E1C;
  --white: #FFFFFF;
  --border: rgba(117,251,76,.15);
  --radius: 16px;
  --shadow: 0 4px 32px rgba(117,251,76,.15);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'DM Sans', sans-serif; background: var(--dark); color: var(--white); overflow-x: hidden; }
h1, h2, h3, h4, h5 { font-family: 'Manrope', sans-serif; }

/* ═══ NAVBAR ═══ */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(17,17,17,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6vw; height: 68px;
}
.nav-left { display: flex; align-items: center; gap: 12px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 36px; height: 36px; border-radius: 8px; }
.nav-logo span { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.25rem; color: #75FB4C; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-sep {
  width: 1px; height: 22px; background: rgba(255,255,255,.18);
  margin: 0 -.5rem;
}
.nav-toggle {
  display: none; background: transparent; border: none; cursor: pointer;
  padding: 6px; width: 40px; height: 40px; border-radius: 8px;
  align-items: center; justify-content: center; transition: background .2s;
}
.nav-toggle:hover { background: rgba(117,251,76,.1); }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--brand);
  position: relative; border-radius: 2px; transition: transform .3s, opacity .3s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 22px; height: 2px;
  background: var(--brand); border-radius: 2px; transition: transform .3s, top .3s;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after  { top: 0; transform: rotate(-45deg); }
.nav-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 98; opacity: 0; transition: opacity .25s;
}
.nav-backdrop.show { display: block; opacity: 1; }
.nav-links a { text-decoration: none; color: rgba(255,255,255,.55); font-size: .93rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-ctas { display: flex; gap: .75rem; align-items: center; }

/* ─── DROPDOWN (desktop hover) ─── */
.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: '▾';
  display: inline-block;
  margin-left: 5px;
  font-size: .7em;
  opacity: .6;
  transform: translateY(-1px);
  transition: transform .2s, opacity .2s;
}
.has-dropdown:hover > a::after,
.has-dropdown:focus-within > a::after { opacity: 1; transform: translateY(-1px) rotate(180deg); }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 12px;
  min-width: 220px;
  list-style: none;
  background: rgba(17,17,17,.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(117,251,76,.18);
  border-radius: 10px;
  padding: .5rem 0;
  box-shadow: 0 12px 32px rgba(0,0,0,.5);
  z-index: 101;
}
.dropdown::before {
  /* puente invisible para que el hover no se rompa al bajar el mouse */
  content: '';
  position: absolute;
  top: -12px; left: 0; right: 0; height: 12px;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown { display: block; }
.dropdown li { width: 100%; }
.dropdown a {
  display: block;
  padding: .65rem 1.2rem;
  color: rgba(255,255,255,.72);
  font-size: .88rem;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.dropdown a:hover {
  background: rgba(117,251,76,.1);
  color: var(--brand);
}

/* ═══ BOTONES ═══ */
.btn-outline {
  border: 1.5px solid var(--brand); color: var(--brand); background: transparent;
  padding: .5rem 1.2rem; border-radius: 8px; font-family: 'Manrope',sans-serif;
  font-size: .85rem; font-weight: 700; cursor: pointer; text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--brand); color: #000; }
.btn-primary {
  background: var(--brand); color: #000; border: none;
  padding: .55rem 1.3rem; border-radius: 8px; font-family: 'Manrope',sans-serif;
  font-size: .85rem; font-weight: 700; cursor: pointer; text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-lg {
  padding: .85rem 2rem; border-radius: 10px; font-family: 'Manrope',sans-serif;
  font-size: 1rem; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: all .2s; display: inline-block;
}
.btn-lg.primary { background: var(--brand); color: #000; border: none; }
.btn-lg.primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(117,251,76,.3); }
.btn-lg.secondary { background: transparent; color: rgba(255,255,255,.8); border: 2px solid rgba(255,255,255,.15); }
.btn-lg.secondary:hover { border-color: var(--brand); color: var(--brand); }

/* ═══ SECCIÓN COMÚN ═══ */
section { padding: 90px 6vw; }
.section-tag {
  display: inline-block; color: var(--brand); font-size: .8rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--white);
  line-height: 1.2; margin-bottom: 1.2rem;
}
.section-title strong { color: var(--brand); }
.section-desc { font-size: 1.05rem; color: #E5E7EB; line-height: 1.75; max-width: 560px; }

/* ═══ SEPARADORES "CLIENTES" / "RESTAURANTES" ═══ */
.seccion-titulo {
  background: linear-gradient(180deg, #0f0f0d 0%, var(--dark) 100%);
  padding: 32px 6vw 20px;
  text-align: center;
  border-top: 1px solid rgba(117,251,76,.12);
  border-bottom: 1px solid rgba(117,251,76,.08);
}
.seccion-titulo h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: 0;
  display: inline-block;
}
.seccion-titulo h1::after {
  content: '';
  display: block;
  width: 60px; height: 3px;
  background: var(--brand);
  margin: .55rem auto 0;
  border-radius: 2px;
}
.seccion-titulo .seccion-subtitulo {
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  margin: .7rem auto 0;
  max-width: 520px;
  font-family: 'DM Sans', sans-serif;
}

/* ═══════════════════════════════════════════════════════════════
   SECCIÓN CLIENTES (ex index.html)
═══════════════════════════════════════════════════════════════ */

/* ─── HERO ─── */
.hero {
  min-height: 75vh; display: flex; align-items: center;
  padding: 60px 6vw 60px;
  background:
    linear-gradient(90deg, rgba(20,20,18,1) 0%, rgba(20,20,18,1) 48%, rgba(20,20,18,.82) 62%, rgba(20,20,18,.55) 80%, rgba(20,20,18,.35) 100%),
    url('images/hero-bar.jpg') right center / auto 110% no-repeat,
    linear-gradient(135deg, #171715 0%, #1E1E1C 60%, #222220 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(117,251,76,.22) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero::after {
  content: ''; position: absolute; bottom: -180px; left: -160px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(117,251,76,.10) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero-content { flex: 1; max-width: 560px; z-index: 1; }
.hero-badge {
  display: inline-block; background: rgba(117,251,76,.12); color: var(--brand);
  border: 1px solid rgba(117,251,76,.3); padding: .35rem .9rem;
  border-radius: 100px; font-size: .8rem; font-weight: 600; margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 800;
  line-height: 1.1; color: var(--white); margin-bottom: 1rem;
}
.hero h1 strong { color: var(--brand); }
.hero p {
  font-size: 1.1rem; color: #E5E7EB; line-height: 1.7;
  margin-bottom: 2rem; max-width: 440px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  flex: 1.3; display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 1.5rem;
  z-index: 1; max-width: 700px;
  margin-top: 60px;
}
.hero-mockups-row {
  display: flex; align-items: flex-start; gap: 1.5rem;
  width: 100%; justify-content: center;
}
.demo-cta-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(117,251,76,.1); border: 1.5px solid rgba(117,251,76,.45);
  color: var(--brand); padding: .75rem 1.6rem; border-radius: 10px;
  font-family: 'Manrope',sans-serif; font-weight: 700; font-size: .92rem;
  text-decoration: none; transition: background .2s, transform .15s;
  margin-top: .8rem;
}
.demo-cta-btn:hover {
  background: rgba(117,251,76,.22); transform: translateY(-1px);
}
.hero-mockup {
  width: 100%; max-width: 380px; flex-shrink: 1;
  background: var(--dark); border-radius: 28px;
  padding: 24px; box-shadow: 0 32px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(117,251,76,.18);
  position: relative;
}
.mockup-topbar { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.mockup-dot { width: 11px; height: 11px; border-radius: 50%; }
.mockup-screen {
  background: #130F04; border-radius: 16px; padding: 20px; min-height: 280px;
  display: flex; flex-direction: column; gap: 14px;
}
.mockup-header { font-family: 'Manrope',sans-serif; color: var(--brand); font-size: .85rem; font-weight: 700; }
.mockup-table {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
}
.mockup-item {
  background: #201808; border-radius: 10px; padding: 12px 10px; text-align: center;
  border: 1px solid rgba(117,251,76,.15);
}
.mockup-item .price { color: var(--brand); font-family: 'Manrope',sans-serif; font-weight: 700; font-size: .9rem; }
.mockup-item .label { color: #A09070; font-size: .72rem; margin-top: 4px; }
.mockup-divider { height: 1px; background: rgba(117,251,76,.1); }
.mockup-row { display: flex; justify-content: space-between; align-items: center; }
.mockup-row span { color: #A09070; font-size: .82rem; }
.mockup-row .value { color: var(--white); font-weight: 600; font-size: .88rem; }
.mockup-pay-btn {
  background: var(--brand); color: #000; border: none; border-radius: 10px;
  padding: 12px; text-align: center; font-family: 'Manrope',sans-serif;
  font-weight: 700; font-size: .88rem; margin-top: 4px;
}

/* ─── CLIENTES (logos) ─── */
.clients {
  background: #171715; padding: 48px 6vw;
  border-top: 1px solid var(--border); border-bottom: 1px solid rgba(255,255,255,.08);
}
.clients-label {
  text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  color: rgba(255,255,255,.5); text-transform: uppercase; margin-bottom: 2rem;
}
.clients-logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem 3.5rem;
}
.clients-logos .logo-pill {
  background: rgba(117,251,76,.06); border: 1px solid rgba(117,251,76,.2);
  border-radius: 20px; padding: 1rem 1.8rem 1rem 1rem;
  font-family: 'Manrope',sans-serif; font-weight: 800;
  font-size: 1.3rem; color: var(--white); white-space: nowrap;
  display: inline-flex; flex-direction: row; align-items: center; gap: 1.1rem;
}

/* ─── TIPOS DE NEGOCIO ─── */
.tipos { background: #1E1E1C; }
.tipos-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.tipos-tabs { display: flex; gap: .75rem; margin: 1.5rem 0; flex-wrap: wrap; }
.tab-btn {
  padding: .55rem 1.2rem; border-radius: 100px; font-family: 'Manrope',sans-serif;
  font-size: .85rem; font-weight: 700; cursor: pointer; transition: all .2s;
  border: 1.5px solid var(--border); background: #171715; color: rgba(255,255,255,.5);
}
.tab-btn.active { background: var(--brand); color: #000; border-color: var(--brand); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-content p { color: #E5E7EB; line-height: 1.7; margin-bottom: 1.5rem; }
.tipos-visual { position: relative; }
.menu-screens {
  display: flex; gap: 1rem; justify-content: center; align-items: center;
  padding: 0 .5rem;
}
.menu-screens img {
  width: 100%; max-width: 220px; height: auto;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(117,251,76,.2);
  display: block;
  transition: transform .35s ease;
}
.menu-screens img:first-child { transform: translateY(-12px) rotate(-2deg); }
.menu-screens img:last-child  { transform: translateY(12px) rotate(2deg); }
.menu-screens:hover img:first-child { transform: translateY(-16px) rotate(-3deg); }
.menu-screens:hover img:last-child  { transform: translateY(16px) rotate(3deg); }
.app-phone {
  background: var(--dark); border-radius: 36px; padding: 12px;
  box-shadow: 0 24px 64px rgba(0,0,0,.28); max-width: 280px; margin: 0 auto;
}
.app-screen {
  background: #130F04; border-radius: 26px; overflow: hidden; min-height: 460px;
  padding: 20px;
}
.app-menu-header { color: var(--brand); font-family: 'Manrope',sans-serif; font-weight: 700; font-size: .9rem; margin-bottom: 16px; }
.menu-item {
  display: flex; justify-content: space-between; align-items: center;
  background: #201808; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px;
  border: 1px solid rgba(117,251,76,.12);
}
.menu-item .name { color: #F5E8C8; font-size: .85rem; font-weight: 500; }
.menu-item .price { color: var(--brand); font-family: 'Manrope',sans-serif; font-weight: 700; font-size: .85rem; }
.menu-item .qty { background: var(--brand); color: #000; border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; }
.app-total { margin-top: 16px; background: rgba(117,251,76,.12); border-radius: 12px; padding: 14px; }
.app-total .row { display: flex; justify-content: space-between; }
.app-total .total-label { color: #A09070; font-size: .82rem; }
.app-total .total-val { color: var(--brand); font-family: 'Manrope',sans-serif; font-weight: 800; font-size: 1.1rem; }
.testimonio {
  background: #171715; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; margin-top: 2rem; display: flex; gap: 1rem; align-items: flex-start;
}
.test-stars { color: var(--brand); font-size: 1rem; margin-bottom: .3rem; }
.test-text { font-size: .9rem; color: rgba(255,255,255,.7); line-height: 1.6; font-style: italic; }
.test-author { font-family: 'Manrope',sans-serif; font-weight: 700; font-size: .85rem; color: var(--brand); margin-top: .5rem; }

/* ─── PAGOS / MÉTODOS ─── */
.boleta { background: var(--dark); }
.boleta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.boleta-card {
  background: #1C1505; border-radius: var(--radius); padding: 2rem;
  border: 1px solid rgba(117,251,76,.2);
}
.dte-item {
  display: flex; align-items: center; gap: 1rem; padding: 1rem;
  background: rgba(117,251,76,.07); border-radius: 10px; margin-bottom: .75rem;
  border-left: 3px solid var(--brand);
}
.dte-icon { width: 40px; height: 40px; border-radius: 8px; background: rgba(117,251,76,.2); display: flex; align-items: center; justify-content: center; color: var(--brand); font-size: 1.1rem; flex-shrink: 0; }
.dte-text .title { font-family: 'Manrope',sans-serif; font-weight: 700; color: var(--white); font-size: .9rem; }
.dte-text .sub { color: rgba(255,255,255,.4); font-size: .8rem; margin-top: 2px; }

/* ─── FEATURES (ECOSISTEMA) ─── */
.features { background: #171715; }
.features-head { text-align: center; max-width: 600px; margin: 0 auto 3rem; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem;
}
.feature-card {
  background: #1E1E1C; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feat-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--brand-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  margin-bottom: 1rem; border: 1px solid rgba(117,251,76,.2);
}
.feature-card h4 { font-family: 'Manrope',sans-serif; font-weight: 700; font-size: 1rem; color: var(--white); margin-bottom: .6rem; }
.feature-card p { font-size: .88rem; color: #E5E7EB; line-height: 1.65; }

/* ─── DEMO TEASER ─── */
.demo-teaser { background: var(--dark); }
.demo-teaser-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.demo-phone {
  width: 100%; max-width: 320px; flex-shrink: 1;
  background: #080806; border-radius: 44px;
  padding: 13px 9px 9px;
  box-shadow: 0 0 0 1px rgba(117,251,76,.2), 0 40px 90px rgba(0,0,0,.75);
  position: relative;
}
.demo-phone-col {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.25rem; flex-shrink: 1;
}
.demo-phone-notch {
  width: 76px; height: 21px; background: #080806;
  border-radius: 0 0 12px 12px; margin: 0 auto 8px;
  border: 1px solid rgba(255,255,255,.05); border-top: none;
  position: relative;
}
.demo-phone-notch::after {
  content: ''; width: 34px; height: 4px; background: #252523;
  border-radius: 10px; position: absolute; bottom: 5px;
  left: 50%; transform: translateX(-50%);
}
.demo-phone-screen {
  background: var(--dark); border-radius: 32px; overflow: hidden;
  padding: 1.8rem 1.4rem; min-height: 540px;
  display: flex; flex-direction: column; align-items: center;
  gap: 1.1rem; text-align: center;
}
.demo-qr-box {
  position: relative; width: 180px; height: 180px;
  margin: .6rem 0 .3rem;
  display: flex; align-items: center; justify-content: center;
}
.demo-qr-corner {
  position: absolute; width: 30px; height: 30px;
  border: 3px solid var(--brand);
}
.demo-qr-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; border-top-left-radius: 6px; }
.demo-qr-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; border-top-right-radius: 6px; }
.demo-qr-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; border-bottom-left-radius: 6px; }
.demo-qr-corner.br { bottom: 0; right: 0; border-left: none; border-top: none; border-bottom-right-radius: 6px; }
.demo-qr-scan {
  position: absolute; left: 6px; right: 6px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  box-shadow: 0 0 12px rgba(117,251,76,.6);
  animation: demoScanMove 2s ease-in-out infinite;
  pointer-events: none; z-index: 2;
}
@keyframes demoScanMove {
  0%, 100% { top: 8%; }
  50% { top: 86%; }
}
.demo-qr-svg { width: 130px; height: 130px; }
.demo-phone-screen h3 {
  color: var(--white); font-size: 1.05rem; font-weight: 700; margin-top: .3rem;
}
.demo-phone-screen .qr-desc {
  color: #E5E7EB; font-size: .82rem; line-height: 1.5; max-width: 220px;
}
.demo-rest-badge {
  background: rgba(117,251,76,.1); border: 1px solid rgba(117,251,76,.25);
  border-radius: 12px; padding: .65rem .9rem;
  display: flex; align-items: center; gap: .7rem; width: 100%;
  text-align: left;
}
.demo-rest-badge .rb-icon {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--brand); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0;
}
.demo-rest-badge .rb-name { color: var(--white); font-size: .85rem; font-weight: 700; }
.demo-rest-badge .rb-mesa { color: rgba(255,255,255,.5); font-size: .74rem; margin-top: 2px; }
.demo-phone-cta {
  background: var(--brand); color: #000; border: none;
  width: 100%; padding: .85rem; border-radius: 12px;
  font-family: 'Manrope',sans-serif; font-weight: 700; font-size: .92rem;
  box-shadow: 0 8px 20px rgba(117,251,76,.25);
}

/* ─── APP MÓVIL ─── */
.app-section { background: linear-gradient(135deg, #75FB4C 0%, #57D630 100%); }
.app-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.app-section .section-tag { color: rgba(0,0,0,.6); }
.app-section .section-title { color: #fff; }
.app-section .section-title strong { color: rgba(0,0,0,.75); }
.app-section .section-desc { color: rgba(0,0,0,.78); }
.app-preview { display: flex; justify-content: center; }
.phone-small {
  background: rgba(0,0,0,.38); border-radius: 36px; padding: 12px;
  max-width: 320px; width: 100%; box-shadow: 0 28px 70px rgba(0,0,0,.4);
}
.ps-screen { background: #130F04; border-radius: 26px; padding: 20px; }
.ps-header {
  color: rgba(255,255,255,.9); font-family: 'Manrope',sans-serif;
  font-weight: 700; font-size: .92rem; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(117,251,76,.15);
}
.ps-table-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.ps-table-row:last-child { border-bottom: none; }
.ps-table-row span { color: rgba(255,255,255,.5); font-size: .82rem; }
.ps-table-row .v { color: var(--brand); font-weight: 600; font-size: .82rem; white-space: nowrap; }
.ps-split-row {
  background: rgba(117,251,76,.07); border: 1px solid rgba(117,251,76,.2);
  border-radius: 10px; padding: 10px 12px; margin: 4px 0;
}
.ps-split-row .dish-name { color: rgba(255,255,255,.85); font-size: .82rem; font-weight: 600; margin-bottom: 6px; }
.ps-split-row .split-info { display: flex; justify-content: space-between; align-items: center; }
.ps-split-row .split-tag {
  background: rgba(117,251,76,.18); color: var(--brand);
  font-family: 'Manrope',sans-serif; font-weight: 700; font-size: .68rem;
  padding: 2px 8px; border-radius: 100px;
}
.ps-split-row .split-price { color: var(--brand); font-family: 'Manrope',sans-serif; font-weight: 800; font-size: .85rem; }
.ps-split-row .split-total { color: rgba(255,255,255,.35); font-size: .7rem; margin-top: 3px; }
.call-btn {
  margin-top: 8px; background: rgba(117,251,76,.15); color: var(--brand);
  border: 1px solid rgba(117,251,76,.3); border-radius: 12px;
  padding: 12px; text-align: center; font-family: 'Manrope',sans-serif;
  font-weight: 700; font-size: .85rem;
}

/* ═══════════════════════════════════════════════════════════════
   SECCIÓN RESTAURANTES (ex administrador.html)
═══════════════════════════════════════════════════════════════ */

/* ─── HERO ADMIN ─── */
.admin-hero {
  min-height: 78vh; display: flex; align-items: center;
  padding: 80px 6vw 60px; gap: 3rem;
  background:
    linear-gradient(90deg, rgba(20,20,18,1) 0%, rgba(20,20,18,1) 48%, rgba(20,20,18,.82) 62%, rgba(20,20,18,.55) 80%, rgba(20,20,18,.35) 100%),
    url('images/AmigosDUBA1.jpg') right center / auto 110% no-repeat,
    linear-gradient(135deg, #171715 0%, #1E1E1C 60%, #222220 100%);
  position: relative; overflow: hidden;
}
.admin-hero::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(117,251,76,.18) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.admin-hero-content { flex: 1; max-width: 620px; z-index: 1; }
.admin-hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 800;
  line-height: 1.1; color: var(--white); margin-bottom: 1.2rem;
}
.admin-hero h1 strong { color: var(--brand); }
.admin-hero p {
  font-size: 1.1rem; color: #E5E7EB; line-height: 1.7;
  margin-bottom: 2rem; max-width: 540px;
}
.admin-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.admin-hero-visual {
  flex: 1; max-width: 420px; z-index: 1;
  display: flex; justify-content: center; align-items: center;
}
.admin-hero-card {
  width: 100%; background: rgba(28,21,5,.55);
  border: 1px solid rgba(117,251,76,.25);
  border-radius: var(--radius); padding: 2rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
}
.admin-hero-card .quote-mark {
  font-family: 'Manrope',sans-serif; font-size: 3.5rem;
  color: var(--brand); line-height: 1; margin-bottom: -.8rem;
}
.admin-hero-card .quote {
  font-style: italic; color: rgba(255,255,255,.85);
  font-size: 1.05rem; line-height: 1.55; margin-bottom: 1.2rem;
}
.admin-hero-card .quote-meta {
  font-family: 'Manrope',sans-serif; font-weight: 700;
  color: var(--brand); font-size: .85rem; letter-spacing: .04em;
}

/* ─── STATS BANNER ─── */
.stats-banner { background: #1E1E1C; padding: 70px 6vw; }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  max-width: 1100px; margin: 0 auto;
}
.stat-item {
  text-align: center; padding: 1.5rem;
  border-right: 1px solid rgba(117,251,76,.12);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Manrope',sans-serif; font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4rem); color: var(--brand);
  line-height: 1; margin-bottom: .6rem;
}
.stat-label {
  color: var(--white); font-family: 'Manrope',sans-serif;
  font-weight: 700; font-size: 1rem; margin-bottom: .4rem;
}
.stat-desc { color: #E5E7EB; font-size: .88rem; line-height: 1.55; }

/* ─── SOLUCIÓN ─── */
.solucion { background: var(--dark); }
.solucion-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.solucion-block { margin-top: 1.5rem; }
.solucion-block h4 {
  font-family: 'Manrope',sans-serif; font-weight: 700;
  color: var(--white); font-size: 1rem; margin-bottom: .9rem;
  text-transform: uppercase; letter-spacing: .06em;
}
.solucion-bullets { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.solucion-bullets li {
  display: flex; align-items: flex-start; gap: .75rem;
  color: rgba(255,255,255,.75); font-size: .95rem; line-height: 1.5;
}
.solucion-bullets li::before {
  content: '✓'; flex-shrink: 0; width: 22px; height: 22px;
  border-radius: 50%; background: rgba(117,251,76,.15);
  color: var(--brand); font-weight: 800; font-size: .78rem;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.solucion-visual {
  background: #1C1505; border: 1px solid rgba(117,251,76,.2);
  border-radius: var(--radius); padding: 2rem;
}
.solucion-visual h5 {
  font-family: 'Manrope',sans-serif; font-weight: 700;
  color: var(--brand); font-size: .82rem; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 1.4rem;
}
.result-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid rgba(117,251,76,.08);
}
.result-row:last-child { border-bottom: none; }
.result-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(117,251,76,.15); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.result-text .t { font-family: 'Manrope',sans-serif; font-weight: 700; color: var(--white); font-size: .95rem; }
.result-text .s { color: #E5E7EB; font-size: .82rem; margin-top: 2px; }

/* ─── CONTROL ADMIN ─── */
.control-admin { background: #1E1E1C; }
.control-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.control-hint {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1.2rem;
  color: var(--brand);
  font-family: 'Manrope', sans-serif;
  font-weight: 600; font-size: .9rem;
  background: rgba(117,251,76,.08);
  border: 1px solid rgba(117,251,76,.25);
  padding: .55rem 1.1rem;
  border-radius: 100px;
  animation: hintPulse 2.4s ease-in-out infinite;
}
.control-hint .hint-icon { font-size: 1.05rem; }
@keyframes hintPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(117,251,76,.25); }
  50%      { box-shadow: 0 0 0 8px rgba(117,251,76,0); }
}
.control-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.control-card {
  background: #171715; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.control-card:hover {
  box-shadow: var(--shadow); transform: translateY(-4px);
  border-color: rgba(117,251,76,.35);
}
.control-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: rgba(117,251,76,.12); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1rem;
  border: 1px solid rgba(117,251,76,.25);
}
.control-card h4 { font-family: 'Manrope',sans-serif; font-weight: 700; font-size: 1rem; color: var(--white); margin-bottom: .55rem; }
.control-card p { font-size: .88rem; color: #E5E7EB; line-height: 1.6; }

/* ─── REPORTES ─── */
.reportes { background: var(--dark); }
.reportes-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* ─── CARRUSEL ─── */
.carousel {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  background: #111;
}
.carousel-track {
  display: flex; transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.carousel-slide {
  min-width: 100%; background: #0d0d0b;
}
.carousel-slide img {
  width: 100%; height: auto; max-height: 420px; object-fit: contain;
  display: block; margin: 0 auto;
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(9,9,11,.7); border: 1px solid rgba(117,251,76,.3);
  color: var(--brand); width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; transition: background .2s, border-color .2s;
  z-index: 2; backdrop-filter: blur(4px);
}
.carousel-btn:hover { background: rgba(117,251,76,.18); border-color: var(--brand); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 2;
}
.carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.3); border: none; padding: 0; cursor: pointer;
  transition: background .2s, transform .2s;
}
.carousel-dot.active { background: var(--brand); transform: scale(1.3); }

/* ─── CONTROL CARD CLICKABLE ─── */
.control-card[data-images] { cursor: pointer; position: relative; }
.control-card[data-images]::after {
  content: '🔍'; position: absolute; top: 14px; right: 14px;
  font-size: .9rem; opacity: .35; transition: opacity .2s;
}
.control-card[data-images]:hover::after { opacity: 1; }
.control-card[data-images]:hover { border-color: rgba(117,251,76,.45); }

/* ─── MODAL CAROUSEL ─── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center; justify-content: center;
  padding: 1rem;
  animation: modalFade .2s ease-out;
}
.modal-overlay.open { display: flex; }
@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-content {
  background: #111;
  border: 1px solid rgba(117,251,76,.25);
  border-radius: var(--radius);
  max-width: 96vw; width: 100%;
  max-height: 96vh; height: 96vh;
  overflow: hidden;
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,.7);
  display: flex; flex-direction: column;
}
.modal-content .carousel {
  flex: 1; min-height: 0;
  display: flex; align-items: center; justify-content: center;
}
.modal-content .carousel-track { width: 100%; height: 100%; }
.modal-content .carousel-slide {
  height: 100%; display: flex; align-items: center; justify-content: center;
}
.modal-close {
  position: absolute; top: 18px; right: 18px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.15);
  color: var(--brand);
  width: 58px; height: 58px; border-radius: 50%;
  font-size: 2.4rem; line-height: 1; cursor: pointer;
  z-index: 10;
  transition: background .2s, border-color .2s, transform .15s;
  display: flex; align-items: center; justify-content: center;
  padding-bottom: 5px;
}
.modal-close:hover { background: rgba(117,251,76,.18); border-color: var(--brand); transform: rotate(90deg); }
.modal-title {
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-weight: 700; font-size: 1.05rem;
  margin: 0 0 1rem; padding-right: 56px;
  letter-spacing: .02em;
}
.modal-carousel { background: #0d0d0b; }
.modal-carousel .carousel-slide img {
  max-height: 100%; max-width: 100%;
  height: auto; width: auto;
  object-fit: contain;
}
.modal-carousel.single .carousel-btn,
.modal-carousel.single .carousel-dots { display: none; }

/* Flechas y dots más grandes solo en el modal */
.modal-carousel .carousel-btn {
  width: 64px; height: 64px;
  font-size: 1.8rem;
  border-width: 1.5px;
}
.modal-carousel .carousel-btn.prev { left: 22px; }
.modal-carousel .carousel-btn.next { right: 22px; }
.modal-carousel .carousel-dots { bottom: 22px; gap: 11px; }
.modal-carousel .carousel-dot {
  width: 11px; height: 11px;
}
.modal-carousel .carousel-dot.active { transform: scale(1.4); }

/* ═══════════════════════════════════════════════════════════════
   COMÚN: CTA FINAL, CONTACTO, FOOTER
═══════════════════════════════════════════════════════════════ */

/* ─── CTA FINAL ─── */
.cta-final { background: #1E1E1C; text-align: center; padding: 100px 6vw; }
.cta-final .section-title { margin: 0 auto 1.5rem; max-width: 600px; }
.cta-final .section-desc { margin: 0 auto 2.5rem; text-align: center; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── CONTACTO ─── */
.contacto { background: var(--dark); padding: 90px 6vw; }
.contacto-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contacto-form { background: #1C1505; border-radius: var(--radius); padding: 2rem; border: 1px solid rgba(117,251,76,.2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.75); }
.form-group small { font-size: .75rem; color: rgba(255,255,255,.4); margin-top: .2rem; line-height: 1.5; }
.form-group input, .form-group textarea {
  background: rgba(255,255,255,.06); border: 1px solid rgba(117,251,76,.2);
  border-radius: 8px; padding: .7rem 1rem; color: var(--white);
  font-family: 'DM Sans',sans-serif; font-size: .9rem; outline: none;
  transition: border-color .2s, background .2s;
  width: 100%;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,.35); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--brand); background: rgba(255,255,255,.09); }
.form-group input[type="file"] { padding: .55rem .7rem; color: rgba(255,255,255,.7); }
.menu-options { display: grid; grid-template-columns: 1fr; gap: .7rem; margin-top: .4rem; }
.contact-link { color: var(--brand); font-weight: 600; text-decoration: none; }
.contact-link:hover { text-decoration: underline; }
.form-note { color: #E5E7EB; font-size: .82rem; margin: .5rem 0 1rem; text-align: center; }
.success-msg {
  display: none; background: rgba(117,251,76,.12); border: 1px solid rgba(117,251,76,.3);
  border-radius: 10px; padding: 1.2rem; color: var(--brand); font-size: .92rem;
  text-align: center; font-weight: 600;
}
.success-msg .check { font-size: 2rem; display: block; margin-bottom: .5rem; }

/* ─── FOOTER ─── */
footer {
  background: #0A0803; padding: 60px 6vw 32px;
  border-top: 1px solid rgba(117,251,76,.1);
}
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-brand .logo-wrap img { width: 38px; height: 38px; border-radius: 8px; }
.footer-brand .logo-wrap span { font-family: 'Manrope',sans-serif; font-weight: 800; font-size: 1.2rem; color: #75FB4C; }
.footer-brand p { color: rgba(255,255,255,.4); font-size: .88rem; line-height: 1.65; max-width: 240px; }
.footer-brand address { font-style: normal; color: rgba(255,255,255,.35); font-size: .82rem; margin-top: 1rem; line-height: 1.7; }
.footer-col h5 { font-family: 'Manrope',sans-serif; font-weight: 700; font-size: .88rem; color: var(--white); margin-bottom: 1.2rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.footer-col ul a { text-decoration: none; color: rgba(255,255,255,.4); font-size: .86rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: rgba(255,255,255,.25); font-size: .8rem; }
.footer-bottom a { color: rgba(255,255,255,.3); font-size: .8rem; text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: var(--brand); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE (merge de ambos archivos)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero { flex-direction: column; gap: 3rem; padding-top: 60px; text-align: center; }
  .hero-visual { max-width: 340px; margin-top: 0; }
  .hero-mockups-row { flex-direction: column; align-items: center; gap: 2rem; }
  .hero-btns { justify-content: center; }
  .tipos-inner, .boleta-inner, .app-inner, .demo-teaser-inner { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; top: 68px; left: 0;
    width: 78%; max-width: 320px; height: calc(100vh - 68px);
    background: #111110; border-right: 1px solid rgba(117,251,76,.15);
    flex-direction: column; gap: 0; padding: 1.2rem 0;
    transform: translateX(-105%); transition: transform .3s ease;
    z-index: 99; box-shadow: 4px 0 32px rgba(0,0,0,.5);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; padding: 1rem 1.8rem; font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.04);
  }
  .nav-sep {
    width: 100%; height: 1px; margin: .6rem 0;
    background: rgba(255,255,255,.1);
  }
  /* Dropdowns aplanados en móvil */
  .has-dropdown > a::after { display: none; }
  .dropdown {
    display: block;
    position: static;
    margin: 0;
    min-width: 0;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }
  .dropdown::before { display: none; }
  .dropdown a {
    padding: .75rem 3rem;
    font-size: .9rem;
    color: rgba(255,255,255,.5);
    border-bottom: 1px solid rgba(255,255,255,.03);
  }
  .dropdown a:hover { background: transparent; color: var(--brand); }
  .form-row { grid-template-columns: 1fr; }
  /* — Restaurantes — */
  .admin-hero { flex-direction: column; text-align: center; gap: 2.5rem; padding-top: 60px; }
  .admin-hero-content { max-width: 100%; }
  .admin-hero p { margin-left: auto; margin-right: auto; }
  .admin-hero-btns { justify-content: center; }
  .admin-hero-visual { max-width: 100%; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(117,251,76,.12); padding-bottom: 1.5rem; }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
  .solucion-inner { grid-template-columns: 1fr; gap: 40px; }
  .control-grid { grid-template-columns: 1fr 1fr; }
  .reportes-inner, .contacto-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  nav { padding: 0 4vw; }
  .features-grid { grid-template-columns: 1fr; }
  .control-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-ctas .btn-outline { display: none; }
}
