﻿:root {
        color-scheme: light;
        --bg: #f8fafc;
        --surface: rgba(255, 255, 255, 0.85);
        --text: #0f172a;
        --muted: #64748b;
        --line: rgba(148, 163, 184, 0.35);
        --primary: #0b1220;
        --accent: #10b981;
        --accent-2: #38bdf8;
        --accent-3: #f59e0b;
        --danger: #f43f5e;
        --shadow: 0 24px 80px -40px rgba(15, 23, 42, 0.55);
        --radius: 22px;
      }* {
        box-sizing: border-box;
      }

      html {
        scroll-behavior: smooth;
      }

            body {
        margin: 0;
        font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
        color: var(--text);
        background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 45%, #ecfeff 100%);
        position: relative;
        overflow-x: hidden;
      }body::before {
        content: "";
        position: fixed;
        inset: -20% -10% auto -10%;
        height: 80vh;
        background: radial-gradient(
            circle at 15% 20%,
            rgba(16, 185, 129, 0.25),
            transparent 45%
          ),
          radial-gradient(
            circle at 75% 10%,
            rgba(56, 189, 248, 0.22),
            transparent 40%
          ),
          radial-gradient(
            circle at 60% 70%,
            rgba(245, 158, 11, 0.18),
            transparent 45%
          );
        z-index: -1;
        pointer-events: none;
      }

      
      body::after {
        content: "";
        position: fixed;
        inset: 0;
        background-image: radial-gradient(
            rgba(15, 23, 42, 0.05) 1px,
            transparent 1px
          );
        background-size: 36px 36px;
        opacity: 0.25;
        pointer-events: none;
        z-index: -2;
      }h1,
      h2,
      h3,
      h4 {
        font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
        margin: 0;
      }

      p {
        margin: 0;
      }

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

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

      .container {
        max-width: 1160px;
        margin: 0 auto;
        padding: 0 24px;
      }

      .header {
        position: sticky;
        top: 0;
        z-index: 20;
        backdrop-filter: blur(12px);
        background: rgba(255, 255, 255, 0.85);
        border-bottom: 1px solid var(--line);
      }

      .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 0;
        gap: 16px;
      }

      .logo {
        display: flex;
        align-items: center;
        gap: 12px;
        font-weight: 700;
      }

      .logo-badge {
        height: 38px;
        width: 38px;
        border-radius: 50%;
        background: var(--primary);
        color: white;
        display: grid;
        place-items: center;
        font-size: 14px;
      }

      .nav {
        display: flex;
        gap: 18px;
        font-size: 14px;
        color: var(--muted);
        flex-wrap: wrap;
      }

      .nav a:hover,
      .nav a:focus-visible {
        color: var(--text);
      }

      .btn {
        border: none;
        padding: 12px 22px;
        border-radius: 999px;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease,
          background 0.2s ease, color 0.2s ease;
      }

      .btn:focus-visible {
        outline: 2px solid var(--text);
        outline-offset: 2px;
      }

      .btn-primary {
        background: var(--primary);
        color: #fff;
        box-shadow: 0 12px 24px -16px rgba(15, 23, 42, 0.6);
      }

      .btn-secondary {
        background: #fff;
        color: var(--text);
        border: 1px solid var(--line);
      }

      .btn-ghost {
        background: #f1f5f9;
        color: var(--text);
      }

      .btn:hover {
        transform: translateY(-2px);
      }

      .section {
        padding: 90px 0 0;
      }

      .hero {
        display: grid;
        grid-template-columns: 1.05fr 0.95fr;
        gap: 48px;
        align-items: center;
        padding-top: 40px;
      }

      .eyebrow {
        font-size: 12px;
        letter-spacing: 0.25em;
        text-transform: uppercase;
        color: rgba(100, 116, 139, 0.8);
        font-weight: 700;
      }

      .hero-title {
        font-size: clamp(32px, 4vw, 52px);
        margin-top: 16px;
      }

      .hero-desc {
        margin-top: 20px;
        color: var(--muted);
        font-size: 16px;
        line-height: 1.6;
      }

      .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        margin-top: 28px;
      }

      .hero-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 18px;
        margin-top: 28px;
        color: var(--muted);
        font-size: 14px;
      }

      .dot {
        height: 8px;
        width: 8px;
        border-radius: 50%;
        display: inline-block;
        background: var(--accent);
      }

      .hero-card {
        position: relative;
        animation: float 6s ease-in-out infinite;
      }

      .glow {
        position: absolute;
        width: 140px;
        height: 140px;
        border-radius: 50%;
        filter: blur(45px);
        z-index: 0;
      }

      .glow.one {
        left: -20px;
        top: -20px;
        background: rgba(187, 247, 208, 0.7);
      }

      .glow.two {
        right: 0;
        bottom: -12px;
        background: rgba(186, 230, 253, 0.7);
      }

      .dashboard-card {
        position: relative;
        background: var(--surface);
        border-radius: 28px;
        padding: 24px;
        box-shadow: var(--shadow);
        border: 1px solid var(--line);
      }

      .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        margin-top: 20px;
      }

      .stat {
        background: #f1f5f9;
        border-radius: 18px;
        padding: 14px;
        font-size: 12px;
        color: var(--muted);
      }

      .stat strong {
        display: block;
        color: var(--text);
        font-size: 18px;
        margin-top: 6px;
      }

      .room {
        background: var(--primary);
        color: #fff;
        border-radius: 18px;
        padding: 14px;
        margin-top: 18px;
      }

      .room-bars {
        display: flex;
        gap: 6px;
        margin-top: 10px;
      }

      .room-bars span {
        height: 6px;
        flex: 1;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.2);
      }

      .room-bars span.active {
        background: #34d399;
      }

      .section-title {
        max-width: 700px;
      }

      .section-title h2 {
        font-size: clamp(26px, 3vw, 40px);
        margin-top: 14px;
      }

      .section-title p {
        margin-top: 16px;
        color: var(--muted);
        line-height: 1.6;
      }

      .grid-3 {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
      }

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

      .card {
        background: var(--surface);
        border-radius: var(--radius);
        border: 1px solid var(--line);
        padding: 18px;
        box-shadow: 0 16px 40px -32px rgba(15, 23, 42, 0.4);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
      }

      .card:hover {
        transform: translateY(-4px) scale(1.01);
        box-shadow: 0 22px 50px -30px rgba(15, 23, 42, 0.45);
      }

      .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 6px 12px;
        border-radius: 999px;
        background: rgba(16, 185, 129, 0.12);
        color: #047857;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.08em;
        margin-bottom: 12px;
      }

      .trust-bar {
        margin-top: 28px;
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        color: var(--muted);
        font-size: 13px;
      }

      .trust-pill {
        padding: 8px 14px;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.3);
        background: rgba(255, 255, 255, 0.7);
        font-weight: 600;
      }

      .pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border-radius: 999px;
        padding: 6px 12px;
        font-size: 12px;
        font-weight: 600;
      }

      .pill.dark {
        background: var(--primary);
        color: white;
      }

      .pill.green {
        background: rgba(16, 185, 129, 0.15);
        color: #047857;
      }

      .pill.blue {
        background: rgba(56, 189, 248, 0.15);
        color: #0369a1;
      }

      .pill.yellow {
        background: rgba(245, 158, 11, 0.15);
        color: #b45309;
      }

      .pill.red {
        background: rgba(244, 63, 94, 0.15);
        color: #be123c;
      }

      .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
        transition-delay: var(--delay, 0s);
      }

      .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
      }

      .hero-load {
        opacity: 0;
        transform: translateY(24px);
      }

      .is-loaded .hero-load {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
      }

      .app-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 24px;
        margin-top: 28px;
      }

      .app-sidebar {
        position: sticky;
        top: 96px;
        align-self: start;
        display: flex;
        flex-direction: column;
        gap: 12px;
      }

      .tab-list {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
      }

      .tab-btn {
        border: 1px solid var(--line);
        background: #fff;
        padding: 10px 14px;
        border-radius: 999px;
        font-size: 13px;
        cursor: pointer;
        transition: all 0.2s ease;
      }

      .tab-btn.active {
        background: var(--primary);
        color: white;
        border-color: transparent;
      }

      .tab-panel {
        display: none;
      }

      .tab-panel.active {
        display: block;
      }

      .workspace {
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 26px;
        padding: 24px;
      }

      .module-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
      }

      .list {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin: 0;
        padding: 0;
        list-style: none;
        color: var(--muted);
        font-size: 14px;
      }

      .badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        border-radius: 12px;
        background: #f1f5f9;
        font-weight: 700;
        font-size: 12px;
        color: #475569;
      }

      .table-map {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 10px;
      }

      .table-btn {
        background: #f1f5f9;
        border: 1px solid transparent;
        border-radius: 16px;
        padding: 10px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
      }

      .table-btn.active {
        background: var(--accent);
        color: #fff;
        border-color: rgba(16, 185, 129, 0.4);
      }

      .order-items {
        display: flex;
        flex-direction: column;
        gap: 10px;
        font-size: 14px;
        color: var(--muted);
      }

      .order-row {
        display: flex;
        justify-content: space-between;
        gap: 12px;
      }

      .kitchen-board {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
      }

      .kitchen-card {
        border-radius: 18px;
        border: 1px dashed var(--line);
        padding: 14px;
        background: #f8fafc;
      }

      .status {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
      }

      .status-dot {
        height: 8px;
        width: 8px;
        border-radius: 50%;
        background: #22c55e;
      }

      .status-dot.wait {
        background: var(--accent-3);
      }

      .status-dot.alert {
        background: var(--danger);
      }

      .reservation-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }

      .reservation-item {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 14px;
        border-radius: 16px;
        border: 1px solid var(--line);
        background: #fff;
      }

      .progress {
        height: 6px;
        border-radius: 999px;
        background: #e2e8f0;
        overflow: hidden;
      }

      .progress span {
        display: block;
        height: 100%;
        background: var(--accent);
        width: 70%;
      }

      .stock-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 14px;
      }

      .stock-table th,
      .stock-table td {
        padding: 10px;
        text-align: left;
        border-bottom: 1px solid var(--line);
      }

      .stock-table tr:last-child td {
        border-bottom: none;
      }

      .tag {
        display: inline-flex;
        align-items: center;
        padding: 4px 10px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 600;
      }

      .tag.low {
        background: rgba(244, 63, 94, 0.15);
        color: #be123c;
      }

      .tag.ok {
        background: rgba(16, 185, 129, 0.15);
        color: #047857;
      }

      .kpi-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
      }

      .accordion {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }

      .accordion-item {
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 14px;
        background: #fff;
      }

      .accordion-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
      }

      .accordion-      body {
        margin: 0;
        font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
        color: var(--text);
        background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 45%, #ecfeff 100%);
        position: relative;
        overflow-x: hidden;
      }.accordion-item.active .accordion-      body {
        margin: 0;
        font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
        color: var(--text);
        background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 45%, #ecfeff 100%);
        position: relative;
        overflow-x: hidden;
      }.pricing-toggle {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        margin-top: 18px;
      }

      .toggle {
        position: relative;
        width: 56px;
        height: 28px;
        border-radius: 999px;
        background: #cbd5f5;
        border: none;
        cursor: pointer;
      }

      .toggle span {
        position: absolute;
        top: 4px;
        left: 4px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: white;
        transition: transform 0.2s ease;
      }

      .toggle.active {
        background: var(--primary);
      }

      .toggle.active span {
        transform: translateX(28px);
      }

      .pricing-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
      }

      .select,
      .input {
        width: 100%;
        padding: 10px 12px;
        border-radius: 12px;
        border: 1px solid var(--line);
        background: #fff;
        font-size: 14px;
        font-family: inherit;
      }

      .input-sm {
        padding: 6px 8px;
        border-radius: 10px;
        font-size: 12px;
      }

      .input-textarea {
        resize: vertical;
      }

      .label {
        display: block;
        font-size: 12px;
        color: var(--muted);
        margin-bottom: 6px;
      }

      .form-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 12px;
        align-items: end;
      }

      .form-row {
        display: flex;
        flex-direction: column;
        gap: 8px;
      }

      .form-stack {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }

      .form-actions {
        display: flex;
        gap: 10px;
        align-items: center;
        flex-wrap: wrap;
      }

      .product-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
      }

      .product-btn {
        border: 1px solid var(--line);
        background: #fff;
        border-radius: 14px;
        padding: 10px;
        cursor: pointer;
        font-weight: 600;
        transition: all 0.2s ease;
      }

      .product-btn:hover {
        border-color: rgba(15, 23, 42, 0.4);
      }

      .product-btn.active {
        border-color: rgba(15, 23, 42, 0.6);
        background: #f8fafc;
      }

      .ticket-mini {
        display: flex;
        flex-direction: column;
        gap: 6px;
        font-size: 13px;
      }

      .ticket-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 12px;
        color: var(--muted);
      }

      .ticket-line {
        display: flex;
        justify-content: space-between;
      }

      .kds-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
      }

      .kds-item {
        border: 1px solid var(--line);
        border-radius: 12px;
        padding: 8px 10px;
        text-align: left;
        background: #fff;
        cursor: pointer;
        font-size: 13px;
        transition: all 0.2s ease;
      }

      .kds-item[data-status="recibido"] {
        border-color: rgba(245, 158, 11, 0.35);
      }

      .kds-item[data-status="preparacion"] {
        border-color: rgba(56, 189, 248, 0.4);
      }

      .kds-item[data-status="listo"] {
        border-color: rgba(16, 185, 129, 0.4);
        background: rgba(16, 185, 129, 0.12);
      }

      .reservation-actions {
        display: flex;
        flex-direction: column;
        gap: 6px;
        align-items: flex-end;
      }

      .btn-xs {
        padding: 6px 10px;
        font-size: 12px;
      }

      .switch {
        position: relative;
        display: inline-flex;
        align-items: center;
        width: 44px;
        height: 24px;
      }

      .switch input {
        opacity: 0;
        width: 0;
        height: 0;
      }

      .slider {
        position: absolute;
        cursor: pointer;
        inset: 0;
        background: #cbd5f5;
        border-radius: 999px;
        transition: 0.2s;
      }

      .slider:before {
        content: "";
        position: absolute;
        height: 18px;
        width: 18px;
        left: 3px;
        top: 3px;
        background: white;
        border-radius: 50%;
        transition: 0.2s;
      }

      .switch input:checked + .slider {
        background: var(--accent);
      }

      .switch input:checked + .slider:before {
        transform: translateX(20px);
      }

      .qr-box {
        border: 1px dashed var(--line);
        border-radius: 18px;
        padding: 12px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
        text-align: center;
        color: var(--muted);
        font-size: 12px;
      }

      .qr-grid {
        width: 120px;
        height: 120px;
        background: repeating-linear-gradient(
            90deg,
            #0f172a 0 6px,
            transparent 6px 12px
          ),
          repeating-linear-gradient(
            180deg,
            #0f172a 0 6px,
            transparent 6px 12px
          );
        opacity: 0.15;
        border-radius: 8px;
      }

      .link-btn {
        border: none;
        background: transparent;
        color: inherit;
        text-align: left;
        padding: 0;
        font: inherit;
        cursor: pointer;
      }

      .toast {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background: var(--primary);
        color: white;
        padding: 12px 16px;
        border-radius: 12px;
        font-size: 14px;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.2s ease, transform 0.2s ease;
        z-index: 50;
      }

      .toast.show {
        opacity: 1;
        transform: translateY(0);
      }

      .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
      }

      .footer {
        border-top: 1px solid var(--line);
        padding: 32px 0 40px;
        margin-top: 80px;
        color: var(--muted);
        font-size: 14px;
      }

      @keyframes float {
        0% {
          transform: translateY(0);
        }
        50% {
          transform: translateY(-8px);
        }
        100% {
          transform: translateY(0);
        }
      }

      @media (max-width: 1024px) {
        .hero,
        .app-shell,
        .pricing-grid {
          grid-template-columns: 1fr;
        }

        .kpi-grid {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }

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

        .app-sidebar {
          position: static;
        }
      }

      @media (max-width: 720px) {
        .grid-3 {
          grid-template-columns: 1fr;
        }

        .grid-4 {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }

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

        .table-map {
          grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .nav {
          justify-content: center;
        }
      }

      @media (prefers-reduced-motion: reduce) {
        * {
          animation: none !important;
          transition: none !important;
          scroll-behavior: auto !important;
        }
      }


