/* ============================================================
   💎 ENCARTA.APP - WHITE EDITORIAL TECH DESIGN SYSTEM
   High-Fidelity Responsive Architecture (Pixel-Perfect Mobile & Desktop)
   ============================================================ */

:root {
  /* Neutral Color Scale */
  --bg-white: #ffffff;
  --bg-subtle: #fafafa;
  --bg-surface: #f4f4f5;
  --bg-card: #ffffff;
  --bg-dark: #09090b;

  /* Hairlines & Borders */
  --border-light: #e4e4e7;
  --border-subtle: #f1f1f4;
  --border-focus: #18181b;

  /* Typography Colors */
  --text-main: #09090b;
  --text-body: #3f3f46;
  --text-muted: #71717a;
  --text-faint: #a1a1aa;

  /* Accents */
  --accent-green: #16a34a;
  --accent-green-bg: #f0fdf4;
  --accent-green-border: #bbf7d0;

  --accent-amber: #d97706;
  --accent-amber-bg: #fffbeb;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radii & Shadows */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-card: 0 4px 20px -5px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.04);
  --shadow-frame: 0 25px 50px -20px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.06);

  --max-w: 1160px;
}

/* ============================================================
   RESET & BASE DEFAULTS
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s ease, color 0.15s ease;
}

button, input, select {
  font-family: inherit;
  color: inherit;
}

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

.text-dim {
  color: var(--text-muted) !important;
}

/* ============================================================
   🧭 NAVBAR MINIMALISTA BLANCA
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.brand-dot {
  width: 8px;
  height: 8px;
  background: var(--text-main);
  border-radius: 50%;
}

.brand-suffix {
  color: var(--text-muted);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.6rem);
  margin: 0 1rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.nav-link:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.btn-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
}

.btn-link:hover {
  opacity: 0.75;
}

.btn-primary-black {
  background: var(--text-main);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-text-desktop {
  display: inline;
}

.btn-text-mobile {
  display: none;
}

.btn-primary-black:hover {
  background: #27272a;
  transform: translateY(-1px);
}

.btn-mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.15s ease;
}

.btn-mobile-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-mobile-toggle.active span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.btn-mobile-toggle.active span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* Mobile Nav Drawer a Pantalla Completa (100% Ocupación) */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100dvh - 64px);
  background: #ffffff;
  z-index: 999;
  padding: 1.75rem 1.5rem 2.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-nav.active {
  display: flex;
  animation: mobileNavFade 0.2s ease forwards;
}

@keyframes mobileNavFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-link:hover {
  color: var(--text-muted);
}

.mobile-nav-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  margin-top: 1.5rem;
}

.btn-outline-full {
  text-align: center;
  padding: 0.85rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.btn-black-full {
  text-align: center;
  padding: 0.85rem;
  background: var(--text-main);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
}

/* ============================================================
   ⚡ HERO SECTION
   ============================================================ */
.hero-section {
  padding: 4.5rem 0 3.5rem;
}

.hero-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-header-center {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 5px 14px 5px 9px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  max-width: 100%;
}

.hero-badge:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.badge-status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulseBadgeDot 2s infinite;
  flex-shrink: 0;
}

.badge-tag-label {
  display: inline-block;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 9999px;
  line-height: 1.35;
}

.badge-text-desktop {
  display: inline;
  color: #334155;
}

.badge-text-mobile {
  display: none;
  color: #334155;
}

@keyframes pulseBadgeDot {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
  100% { transform: scale(0.95); opacity: 1; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--text-main);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.65;
  max-width: 660px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.4rem;
  width: 100%;
}

.btn-hero-black {
  background: var(--text-main);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-hero-black:hover {
  background: #27272a;
  transform: translateY(-1px);
}

.btn-hero-outline {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-hero-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--border-focus);
}

.hero-specs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  max-width: 720px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spec-val {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.spec-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.spec-divider {
  width: 1px;
  height: 24px;
  background: var(--border-light);
}

.hero-scroll-cue {
  display: none;
}

/* ============================================================
   💻 PREVIEW BROWSER FRAME
   ============================================================ */
.hero-preview-frame {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-frame);
  overflow: hidden;
  margin-top: 1rem;
}

.preview-browser-bar {
  background: #fafafa;
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e4e4e7;
}

.browser-address {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 3px 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60%;
}

.browser-badge-live {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  white-space: nowrap;
}

.dot-green {
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
}

.preview-tabs-nav {
  display: flex;
  background: #fcfcfc;
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.preview-tab {
  flex: 1;
  min-width: 160px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.85rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
  white-space: nowrap;
}

.preview-tab:hover {
  color: var(--text-main);
}

.preview-tab.active {
  color: var(--text-main);
  background: #ffffff;
  border-bottom-color: var(--text-main);
}

.preview-tab-contents {
  padding: 1.5rem;
  background: #ffffff;
  min-height: 440px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: tabFadeIn 0.2s ease;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   1. TAB COMANDERO TPV
   ============================================================ */
.ui-tpv-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1.5rem;
}

.ui-tpv-dishes {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ui-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.ui-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
}

.ui-hint-click {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.ui-table-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 600;
}

.ui-category-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.ui-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
}

.ui-pill.active {
  background: var(--text-main);
  color: #ffffff;
}

.ui-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.ui-dish-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.65rem;
  cursor: pointer;
  display: flex;
  gap: 0.65rem;
  align-items: center;
  transition: all 0.15s ease;
}

.ui-dish-card:hover {
  border-color: var(--border-focus);
  background: var(--bg-subtle);
  transform: translateY(-1px);
  box-shadow: var(--shadow-subtle);
}

.dish-thumb {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: #f4f4f5;
}

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

.dish-card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px;
}

.dish-name {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-main);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dish-price {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.dish-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dish-quick-tags {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3px;
}

.tag-badge {
  font-size: 0.62rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--text-muted);
}

.tag-badge.highlight {
  background: var(--accent-amber-bg);
  border-color: #fde68a;
  color: var(--accent-amber);
}

.tag-add {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Panel Ticket TPV */
.ui-ticket-panel {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.6rem;
}

.ticket-title {
  font-size: 0.85rem;
  color: var(--text-main);
  display: block;
}

.ticket-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.ticket-state {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: var(--accent-green-bg);
  border: 1px solid var(--accent-green-border);
  color: var(--accent-green);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  white-space: nowrap;
}

.ticket-body {
  flex: 1;
  overflow-y: auto;
  margin: 0.6rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ticket-row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.6rem;
  gap: 6px;
}

.ticket-item-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-stepper-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.btn-step {
  width: 20px;
  height: 20px;
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-step:hover {
  background: var(--text-main);
  color: #ffffff;
}

.ticket-item-qty {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  width: 14px;
  text-align: center;
}

.ticket-item-price {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  margin-left: 4px;
  min-width: 45px;
  text-align: right;
}

.ticket-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ticket-subtotals-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.subtotal-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.total-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 2px;
}

.total-amount {
  font-family: var(--font-mono);
  font-size: 1.05rem;
}

.btn-ticket-action {
  background: var(--text-main);
  color: #ffffff;
  border: none;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.15s ease;
}

.btn-ticket-action:hover {
  background: #27272a;
}

/* ============================================================
   2. TAB PANTALLA COCINA KDS
   ============================================================ */
.ui-kds-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kds-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 6px;
}

.kds-stat-group {
  display: flex;
  gap: 0.85rem;
}

.kds-pill-active { color: var(--text-main); }
.kds-pill-info { color: var(--text-muted); }

.kds-station-filter {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-main);
}

.kds-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.kds-order-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  box-shadow: var(--shadow-subtle);
}

.kds-order-card.urgent {
  border-top: 3px solid #dc2626;
  background: #fffafa;
}

.kds-order-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.45rem;
}

.kds-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.kds-table-tag {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--text-main);
}

.kds-order-id {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  background: var(--bg-surface);
  padding: 1px 4px;
  border-radius: 3px;
}

.kds-time-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #dc2626;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.clock-dot {
  width: 6px;
  height: 6px;
  background: #dc2626;
  border-radius: 50%;
  animation: blinkDot 1s infinite;
}

@keyframes blinkDot {
  50% { opacity: 0.3; }
}

.kds-order-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.kds-row {
  display: flex;
  gap: 8px;
  font-size: 0.82rem;
}

.kds-qty {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--text-main);
  background: var(--bg-surface);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
}

.kds-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kds-item-name {
  color: var(--text-main);
  font-size: 0.82rem;
}

.kds-note-urgent {
  font-size: 0.7rem;
  color: #b45309;
  background: #fef3c7;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 600;
  width: fit-content;
}

.kds-note {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.kds-station-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.btn-kds-complete {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.btn-kds-complete:hover {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

/* ============================================================
   3. TAB CARTA DIGITAL CLIENTE (RESPONSIVE MOCKUP)
   ============================================================ */
.ui-qr-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.phone-frame-mockup {
  background: #ffffff;
  border: 2px solid var(--border-focus);
  border-radius: 28px;
  padding: 0.65rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.phone-notch {
  width: 60px;
  height: 10px;
  background: var(--text-main);
  border-radius: 5px;
  margin: 0 auto 0.5rem;
}

.phone-inner {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.phone-venue-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.35rem;
}

.phone-venue-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--text-main);
}

.phone-venue-status {
  font-size: 0.65rem;
  color: var(--accent-green);
  font-weight: 600;
}

.phone-hero-dish {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.phone-dish-img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.phone-dish-info {
  padding: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.phone-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px;
}

.phone-title-row h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
}

.phone-price {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-main);
}

.phone-dish-info p {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.25;
}

.allergens-chips {
  display: flex;
  gap: 3px;
  margin-top: 3px;
  flex-wrap: wrap;
}

.allergen-chip {
  font-size: 0.6rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 1px 4px;
  border-radius: 3px;
  color: var(--text-muted);
}

.phone-secondary-dish {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.55rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-sec-info strong {
  font-size: 0.72rem;
  display: block;
  color: var(--text-main);
}

.phone-sec-info small {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.phone-sec-price {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.qr-controls-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qr-control-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.control-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.lang-pill-row,
.filter-pill-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.btn-lang-toggle {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-lang-toggle.active {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

.filter-pill {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
}

.filter-pill.active {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

.qr-compliance-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  border-left: 2px solid var(--text-main);
  padding-left: 0.65rem;
}

/* ============================================================
   📊 SECCIÓN COMPARATIVA EDITORIAL
   ============================================================ */
.section-bordered {
  border-top: 1px solid var(--border-light);
  padding: 4.5rem 0;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-headline {
  max-width: 720px;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.section-h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

.section-p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.comp-col {
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.comp-old {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
}

.comp-new {
  background: #ffffff;
  border: 2px solid var(--text-main);
  box-shadow: var(--shadow-frame);
  position: relative;
}

.comp-badge-recommended {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--text-main);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.comp-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comp-list li {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
}

.comp-list strong {
  color: var(--text-main);
}

/* ============================================================
   🌿 CONCEPTOS GASTRONÓMICOS (DUAL VIEWPORT CORREGIDO)
   ============================================================ */
.theme-selector-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.theme-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.15s ease;
}

.theme-tab-btn:hover {
  background: #ffffff;
  border-color: var(--border-focus);
}

.theme-tab-btn.active {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

/* Dual Grid: Móvil + Hoja A4 */
.concept-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 1.75rem;
  align-items: stretch;
}

.concept-device-pane,
.concept-a4-pane {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.concept-pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.concept-label-tag {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.concept-pill-active {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.concept-a4-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Card Móvil Cliente - Fluido y Nítido */
.concept-phone-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  width: 100%;
}

.concept-phone-cover {
  height: 150px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.concept-cover-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  padding: 0.85rem 1rem;
  width: 100%;
  color: #ffffff;
}

.concept-venue-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
}

.concept-venue-tagline {
  font-size: 0.72rem;
  opacity: 0.88;
  display: block;
}

.concept-phone-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.concept-dish-spotlight {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dish-spot-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
}

.spot-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-amber);
  display: block;
}

.spot-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.spot-price {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
}

.spot-desc {
  font-size: 0.78rem;
  color: var(--text-body);
  line-height: 1.4;
}

.concept-dish-secondary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  gap: 8px;
}

.sec-left {
  flex: 1;
  min-width: 0;
}

.sec-left strong {
  display: block;
  color: var(--text-main);
  font-size: 0.78rem;
  line-height: 1.2;
}

.sec-left span {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
}

.sec-price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

/* Hoja A4 Imprimible Real */
.a4-sheet-preview {
  background: #ffffff;
  border: 1px solid #d4d4d8;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  width: 100%;
}

.a4-header-center {
  text-align: center;
  border-bottom: 2px solid var(--text-main);
  padding-bottom: 0.65rem;
}

.a4-sub-rule {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.a4-main-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.a4-line-separator {
  width: 36px;
  height: 2px;
  background: var(--text-main);
  margin: 5px auto 0;
}

.a4-columns-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1rem 0;
}

.a4-section-name {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 2px;
  margin-bottom: 0.5rem;
}

.a4-item-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
  gap: 4px;
}

.a4-name {
  font-weight: 600;
  color: var(--text-main);
  flex-shrink: 1;
}

.a4-dots {
  flex: 1;
  overflow: hidden;
  color: #a1a1aa;
  margin: 0 4px;
  font-size: 0.65rem;
}

.a4-price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  flex-shrink: 0;
}

.a4-footer-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
}

.a4-qr-badge {
  background: var(--text-main);
  padding: 5px;
  border-radius: 4px;
  flex-shrink: 0;
}

.qr-mini-icon {
  width: 24px;
  height: 24px;
  background: #ffffff;
  background-image: radial-gradient(circle, #000 20%, transparent 20%);
  background-size: 6px 6px;
}

.a4-footer-text {
  display: flex;
  flex-direction: column;
}

.a4-footer-text strong {
  font-size: 0.75rem;
  color: var(--text-main);
}

.a4-footer-text span {
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ============================================================
   🧩 MÓDULOS DE LA PLATAFORMA (4 COLUMNAS)
   ============================================================ */
.features-clean-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--bg-white);
  transition: border-color 0.15s ease;
}

.feature-item:hover {
  border-color: var(--border-focus);
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* ============================================================
   💎 TARIFA PLANA
   ============================================================ */
.pricing-box {
  background: #ffffff;
  border: 2px solid var(--text-main);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-frame);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pricing-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.pricing-plan-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.pricing-plan-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-rate {
  text-align: right;
}

.price-val {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.price-cycle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.p-feat {
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 500;
}

.pricing-cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.btn-pricing-black {
  background: var(--text-main);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: background 0.15s ease;
  display: block;
  width: 100%;
}

.btn-pricing-black:hover {
  background: #27272a;
}

.pricing-footnote {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================================
   ❓ PREGUNTAS FRECUENTES
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-light);
}

.faq-row {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  padding: 1.25rem 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-arrow {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-muted);
}

details[open] .faq-arrow {
  transform: rotate(45deg);
  display: inline-block;
}

.faq-answer {
  padding-bottom: 1.25rem;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ============================================================
   🏁 FOOTER MINIMALISTA BLANCO
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border-light);
  background: var(--bg-subtle);
  padding: 4rem 0 2.5rem;
}

.footer-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.6;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-top: auto;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.footer-links-col a {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links-col a:hover {
  color: var(--text-main);
}

/* ============================================================
   📱 RESPONSIVE BREAKPOINTS (PERFECT ALIGNMENT)
   ============================================================ */
@media (max-width: 1040px) {
  .nav-menu,
  .btn-link {
    display: none !important;
  }

  .btn-mobile-toggle {
    display: flex !important;
  }

  .btn-text-desktop {
    display: none !important;
  }

  .btn-text-mobile {
    display: inline !important;
  }

  .nav-actions {
    gap: 0.65rem;
  }

  .concept-dual-grid {
    grid-template-columns: 1fr;
  }

  .ui-tpv-grid {
    grid-template-columns: 1fr;
  }

  .ui-qr-wrapper {
    grid-template-columns: 1fr;
  }

  .features-clean-grid {
    grid-template-columns: 1fr 1fr;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-actions {
    gap: 0.5rem;
  }

  .brand {
    font-size: 1.05rem;
    gap: 6px;
  }

  .btn-primary-black {
    font-size: 0.76rem;
    padding: 0.42rem 0.75rem;
    font-weight: 700;
  }

  .hero-section {
    padding: 1.25rem 0 2.5rem;
    position: relative;
  }

  .hero-container {
    padding: 0 1.25rem;
  }

  .hero-header-center {
    min-height: calc(100svh - 75px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto 3rem;
    gap: 1.15rem;
    padding: 1.5rem 0 1rem;
    text-align: center;
  }

  .hero-badge {
    padding: 5px 14px 5px 9px;
    gap: 7px;
    font-size: 0.78rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .badge-tag-label {
    font-size: 0.64rem;
    padding: 2px 7px;
  }

  .badge-text-desktop {
    display: none !important;
  }

  .badge-text-mobile {
    display: inline !important;
    white-space: nowrap;
    font-weight: 600;
  }

  .br-desktop {
    display: none;
  }

  .hero-title {
    font-size: clamp(2rem, 7.6vw, 2.6rem);
    line-height: 1.14;
    letter-spacing: -0.035em;
    font-weight: 800;
    max-width: 400px;
    margin: 0;
  }

  .hero-sub {
    font-size: 0.98rem;
    line-height: 1.55;
    color: #475569;
    max-width: 380px;
    margin: 0;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 340px;
    margin: 0.4rem auto 0;
    gap: 0.75rem;
  }

  .btn-hero-black {
    width: 100%;
    padding: 0.92rem 1.4rem;
    font-size: 1rem;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
  }

  .btn-hero-outline {
    width: 100%;
    padding: 0.85rem 1.4rem;
    font-size: 0.95rem;
    border-radius: 14px;
  }

  .hero-specs-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding-top: 1rem;
    margin-top: 0.65rem;
    max-width: 360px;
    border-top: 1px solid #e2e8f0;
    width: 100%;
  }

  .spec-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.65rem 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  }

  .spec-val {
    font-size: 1.12rem;
    font-weight: 800;
    color: #0f172a;
  }

  .spec-lbl {
    font-size: 0.72rem;
    color: #64748b;
    text-align: center;
    line-height: 1.3;
  }

  .spec-divider {
    display: none;
  }

  .hero-scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: none;
    margin-top: 0.65rem;
    padding: 4px 10px;
    border-radius: 9999px;
    transition: all 0.2s ease;
    animation: bounceScrollCue 2.2s infinite ease-in-out;
  }

  .hero-scroll-cue .cue-icon {
    font-size: 0.95rem;
    color: #0f172a;
  }

  @keyframes bounceScrollCue {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
  }

  .features-clean-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-item {
    padding: 1.25rem 1rem;
  }

  /* Simulador Móvil Perfecto */
  .hero-preview-frame {
    border-radius: var(--radius-md);
    margin-top: 1.25rem;
  }

  .preview-browser-bar {
    padding: 0.5rem 0.75rem;
  }

  .browser-address {
    max-width: 160px;
    font-size: 0.7rem;
    padding: 2px 6px;
  }

  .preview-tabs-nav {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.35rem;
    gap: 0.3rem;
    background: #f4f4f5;
    border-bottom: 1px solid var(--border-light);
  }

  .preview-tab {
    min-width: auto;
    flex: none;
    padding: 0.4rem 0.7rem;
    font-size: 0.75rem;
    border-radius: var(--radius-xs);
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    white-space: nowrap;
  }

  .preview-tab.active {
    background: #ffffff;
    color: var(--text-main);
    border-color: var(--border-light);
    border-bottom-color: var(--border-light);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }

  .preview-tab-contents {
    padding: 1rem 0.75rem;
    min-height: auto;
  }

  .ui-tpv-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ui-items-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .ui-dish-card {
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .dish-thumb {
    width: 48px;
    height: 48px;
  }

  .dish-name {
    white-space: normal;
    font-size: 0.78rem;
  }

  .dish-desc {
    white-space: normal;
    -webkit-line-clamp: 1;
  }

  .ui-ticket-panel {
    min-height: auto;
    padding: 0.85rem;
  }

  .kds-cards-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .kds-status-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 0.5rem 0.75rem;
  }

  .ui-qr-wrapper {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .phone-frame-mockup {
    max-width: 100%;
    width: 275px;
  }

  .a4-columns-wrapper {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pricing-box {
    padding: 1.75rem 1.25rem;
  }

  .pricing-features-grid {
    grid-template-columns: 1fr;
  }

  .pricing-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .pricing-rate {
    text-align: left;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 0.85rem;
  }

  .hero-container {
    padding: 0 0.75rem;
  }

  .brand {
    font-size: 0.92rem;
    gap: 5px;
  }

  .brand-dot {
    width: 6px;
    height: 6px;
  }

  .brand-suffix {
    font-size: 0.82rem;
  }

  .btn-primary-black {
    font-size: 0.72rem;
    padding: 0.38rem 0.6rem;
  }

  .btn-mobile-toggle {
    width: 32px;
    height: 32px;
    padding: 6px;
    gap: 3px;
  }

  .btn-mobile-toggle span {
    width: 16px;
  }

  .preview-tab-contents {
    padding: 0.75rem 0.5rem;
  }

  .ui-dish-card {
    padding: 0.45rem;
    gap: 0.45rem;
  }

  .dish-thumb {
    width: 44px;
    height: 44px;
  }

  .dish-name {
    font-size: 0.75rem;
  }

  .dish-price {
    font-size: 0.75rem;
  }

  .ui-ticket-panel {
    padding: 0.65rem;
  }

  .ticket-row-item {
    padding: 0.35rem 0.45rem;
  }

  .phone-frame-mockup {
    width: 100%;
    max-width: 260px;
    padding: 0.5rem;
  }

  .concept-device-pane,
  .concept-a4-pane {
    padding: 1rem 0.75rem;
  }

  .a4-sheet-preview {
    padding: 1.25rem 0.85rem;
  }
}

/* ============================================================
   📱 SIMULADOR DE CARTA DIGITAL (HERO MOCKUP)
   ============================================================ */
.simulator-single-wrapper {
  margin-top: 2.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  padding: 3.5rem 3rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.simulator-content-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  max-width: 1060px;
  margin: 0 auto;
}

.simulator-info-col {
  flex: 1;
  max-width: 540px;
}

.simulator-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #065f46;
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.simulator-badge .dot-live {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulseDotLive 2s infinite;
}

.simulator-heading {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

.simulator-lead {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 2rem 0;
}

.simulator-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.25rem;
}

.sim-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sim-feat-icon {
  width: 36px;
  height: 36px;
  background: #f1f5f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.sim-feat-text strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 2px;
}

.sim-feat-text span {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.45;
}

.simulator-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-sim-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0f172a;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.btn-sim-live:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
  color: #ffffff;
}

.simulator-phone-col {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.simulator-phone-wrap {
  filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.18));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.simulator-phone-wrap:hover {
  transform: translateY(-6px);
}

.simulator-phone-img {
  width: 100%;
  max-width: 330px;
  height: auto;
  display: block;
}

/* ============================================================
   🎠 CARRUSEL DE ESTILOS DE CARTA DIGITAL
   ============================================================ */
.styles-tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 2rem 0 2.5rem;
}

.style-tab-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.style-tab-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

.style-tab-btn.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.styles-carousel-container {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.07);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  max-width: 860px;
  width: 100%;
}

.slide-phone {
  flex-shrink: 0;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.16));
  transition: transform 0.35s ease;
}

.carousel-phone-img {
  width: 100%;
  max-width: 310px;
  height: auto;
  display: block;
}

.slide-details {
  flex: 1;
  max-width: 440px;
  text-align: left;
}

.slide-badge {
  display: inline-block;
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.slide-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin: 0 0 0.85rem 0;
  line-height: 1.2;
}

.slide-desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 1.25rem 0;
}

.slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.slide-tag {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

.slide-meta {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.45;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.slide-meta strong {
  color: #0f172a;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.carousel-nav-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.carousel-nav-btn.prev {
  left: -23px;
}

.carousel-nav-btn.next {
  right: -23px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 1.75rem;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.carousel-dots .dot:hover {
  background: #94a3b8;
}

.carousel-dots .dot.active {
  background: #0f172a;
  width: 24px;
  border-radius: 9999px;
}

@keyframes pulseDotLive {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.6; }
  100% { transform: scale(0.95); opacity: 1; }
}

@media (max-width: 900px) {
  /* --- 📱 SIMULADOR RESPONSIVE --- */
  .simulator-single-wrapper {
    padding: 2.25rem 1.25rem 1.75rem;
    border-radius: 22px;
    margin-top: 1.5rem;
  }

  .simulator-content-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
  }

  .simulator-info-col {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .simulator-badge {
    margin-bottom: 0.65rem;
  }

  .simulator-heading {
    font-size: clamp(1.45rem, 5vw, 1.85rem);
    margin-bottom: 0.5rem;
  }

  .simulator-lead {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    max-width: 520px;
  }

  /* Mockup destacado en móvil antes de las specs detalladas */
  .simulator-phone-col {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0.25rem 0 1rem;
  }

  .simulator-phone-wrap {
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.14));
  }

  .simulator-phone-img {
    max-width: min(290px, 80vw);
  }

  .simulator-features-list {
    order: 3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 0 0 1.5rem 0;
    width: 100%;
    max-width: 600px;
  }

  .sim-feat-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 0.65rem;
    gap: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    text-align: left;
  }

  .sim-feat-icon {
    width: 28px;
    height: 28px;
    font-size: 0.95rem;
    border-radius: 8px;
  }

  .sim-feat-text strong {
    font-size: 0.82rem;
    line-height: 1.25;
    margin-bottom: 2px;
  }

  .sim-feat-text span {
    font-size: 0.74rem;
    line-height: 1.35;
    color: #64748b;
  }

  .simulator-cta-row {
    order: 4;
    width: 100%;
    justify-content: center;
  }

  .btn-sim-live {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 12px 20px;
  }

  /* --- 🎠 CARRUSEL DE ESTILOS RESPONSIVE --- */
  .styles-tabs-nav {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0.25rem 0.25rem 0.75rem;
    margin: 1.25rem 0 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
  }

  .styles-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .style-tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.82rem;
    padding: 7px 14px;
  }

  .carousel-track-wrapper {
    border-radius: 20px;
  }

  .carousel-slide {
    padding: 2rem 1.25rem 1.75rem;
  }

  .slide-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .slide-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.14));
  }

  .carousel-phone-img {
    max-width: min(260px, 76vw);
    height: auto;
  }

  .slide-details {
    max-width: 100%;
    text-align: center;
  }

  .slide-badge {
    font-size: 0.72rem;
    padding: 3px 10px;
    margin-bottom: 0.45rem;
  }

  .slide-title {
    font-size: 1.35rem;
    margin-bottom: 0.45rem;
  }

  .slide-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0.85rem;
  }

  .slide-tags {
    justify-content: center;
    gap: 6px;
    margin-bottom: 1rem;
  }

  .slide-tag {
    font-size: 0.72rem;
    padding: 3px 8px;
  }

  .slide-meta {
    font-size: 0.78rem;
    padding: 8px 12px;
    text-align: center;
  }

  .carousel-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }

  .carousel-nav-btn.prev {
    left: 8px;
    top: 30%;
  }

  .carousel-nav-btn.next {
    right: 8px;
    top: 30%;
  }

  .carousel-dots {
    margin-top: 1.25rem;
    gap: 6px;
  }

  .carousel-dots .dot {
    width: 8px;
    height: 8px;
  }

  .carousel-dots .dot.active {
    width: 20px;
  }
}

@media (max-width: 520px) {
  .simulator-single-wrapper {
    padding: 1.75rem 0.85rem;
    border-radius: 18px;
  }

  .simulator-features-list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .carousel-slide {
    padding: 1.5rem 0.85rem 1.25rem;
  }

  .carousel-phone-img {
    max-width: 230px;
  }
}

/* ============================================================
   📱 SISTEMA OPERATIVO SHOWCASE (COMANDERO & COCINA KDS)
   ============================================================ */
.operativa-tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 2rem 0 2.5rem;
}

.operativa-tab-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.operativa-tab-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

.operativa-tab-btn.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
}

.operativa-stage-container {
  max-width: 1040px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.operativa-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.operativa-panel.active {
  display: block;
  opacity: 1;
  animation: fadeInOperativa 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInOperativa {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.operativa-content-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.5rem;
  padding: 3.5rem 3rem;
}

.operativa-info-col {
  flex: 1;
  max-width: 500px;
}

.operativa-phase-badge {
  display: inline-block;
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 0.85rem;
}

.operativa-panel-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin: 0 0 0.85rem 0;
}

.operativa-panel-desc {
  font-size: 0.98rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 1.75rem 0;
}

.operativa-checklist {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 1.85rem;
}

.op-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.op-icon {
  width: 32px;
  height: 32px;
  background: #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.op-check-item strong {
  display: block;
  font-size: 0.92rem;
  color: #0f172a;
  margin-bottom: 2px;
}

.op-check-item span {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.4;
}

.operativa-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #065f46;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 9999px;
}

.operativa-stat-pill .stat-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.operativa-mockup-col {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.operativa-device-card {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.16));
  transition: transform 0.35s ease;
}

.operativa-device-card:hover {
  transform: translateY(-4px);
}

.operativa-phone-img {
  width: 100%;
  max-width: 310px;
  height: auto;
  display: block;
}

/* Tablet layout */
.tablet-layout {
  gap: 2.75rem;
}

.tablet-col {
  flex: 1;
  max-width: 500px;
}

.tablet-card {
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.18));
}

.operativa-tablet-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
}

/* ============================================================
   📱 OPERATIVA RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .operativa-tabs-nav {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0.25rem 0.25rem 0.75rem;
    margin: 1.25rem 0 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
  }

  .operativa-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .operativa-tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.82rem;
    padding: 7px 14px;
  }

  .operativa-stage-container {
    border-radius: 22px;
  }

  .operativa-content-grid {
    flex-direction: column;
    gap: 1.75rem;
    padding: 2.25rem 1.25rem 1.75rem;
    text-align: center;
  }

  .operativa-info-col {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .operativa-panel-title {
    font-size: clamp(1.45rem, 5vw, 1.85rem);
    margin-bottom: 0.5rem;
  }

  .operativa-panel-desc {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    max-width: 460px;
  }

  .operativa-mockup-col {
    order: 2;
    margin: 0.5rem 0 1.25rem;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .operativa-phone-img {
    max-width: min(270px, 78vw);
  }

  .operativa-tablet-img {
    max-width: min(360px, 92vw);
  }

  .operativa-checklist {
    order: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 0 0 1.25rem 0;
    width: 100%;
    max-width: 460px;
  }

  .op-check-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 0.7rem;
    gap: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    text-align: left;
  }

  .op-icon {
    width: 28px;
    height: 28px;
    font-size: 0.95rem;
  }

  .op-check-item strong {
    font-size: 0.84rem;
    line-height: 1.25;
    margin-bottom: 2px;
  }

  .op-check-item span {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .operativa-stat-pill {
    order: 4;
    font-size: 0.78rem;
    padding: 5px 12px;
  }
}

@media (max-width: 520px) {
  .operativa-content-grid {
    padding: 1.75rem 0.85rem;
  }

  .operativa-phone-img {
    max-width: 240px;
  }

  .operativa-tablet-img {
    max-width: 320px;
  }
}
