﻿/* ============================================================
       MNM ERP â€” Design system (prototipo visual, textos despuÃ©s)
       ============================================================ */
    :root {
      --bg: #f4f6f9;
      --surface: #ffffff;
      --surface-2: #eef2f7;
      --ink: #0f172a;
      --ink-muted: #64748b;
      --ink-soft: #94a3b8;
      --line: #e2e8f0;
      --brand: #1d4ed8;
      --brand-light: #dbeafe;
      --accent: #38bdf8;
      --accent-hover: #0ea5e9;
      --brand-yellow: #facc15;
      --cta: #1d4ed8;
      --cta-hover: #1e40af;
      --ok: #059669;
      --radius: 14px;
      --radius-sm: 10px;
      --max: 1180px;
      --header-h: 72px;
      --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.08);
      --shadow-card: 0 8px 30px rgba(15, 23, 42, 0.06);
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: "Plus Jakarta Sans", system-ui, sans-serif;
      color: var(--ink);
      background: var(--bg);
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
    }

    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; cursor: pointer; border: none; background: none; }

    .container {
      width: min(var(--max), calc(100% - 40px));
      margin-inline: auto;
    }

    /* ---- Buttons ---- */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 22px;
      border-radius: 999px;
      font-weight: 700;
      font-size: 0.92rem;
      transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
    }
    .btn:active { transform: scale(0.98); }
    .btn-primary {
      background: var(--cta);
      color: #fff;
    }
    .btn-primary:hover { background: var(--cta-hover); }
    .btn-secondary {
      background: var(--surface);
      color: var(--brand);
      border: 1.5px solid var(--line);
    }
    .btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
    .btn-ghost {
      color: var(--brand);
      padding-inline: 14px;
    }
    .btn-ghost:hover { color: var(--accent); }

    /* ---- Header ---- */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      height: var(--header-h);
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--line);
    }
    .header-inner {
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      letter-spacing: -0.03em;
      color: var(--brand);
      white-space: nowrap;
    }
    .logo-img {
      display: block;
      height: 52px;
      width: auto;
      max-width: min(240px, 42vw);
      object-fit: contain;
    }
    .logo--footer .logo-img {
      height: 58px;
      max-width: 220px;
    }
    .logo-text {
      display: flex;
      flex-direction: column;
      gap: 2px;
      line-height: 1.15;
    }
    .logo-text strong {
      font-size: 1.05rem;
      letter-spacing: -0.02em;
    }
    .logo-mark {
      width: 40px;
      height: 40px;
      border-radius: 11px;
      background: linear-gradient(145deg, var(--brand) 0%, var(--accent) 100%);
      display: grid;
      place-items: center;
      color: #fff;
      font-size: 0.78rem;
      font-weight: 800;
    }
    .logo-text small,
    .logo small {
      display: block;
      font-size: 0.62rem;
      font-weight: 600;
      color: var(--ink-muted);
      letter-spacing: 0.01em;
      text-transform: none;
      max-width: 16rem;
      white-space: normal;
    }
    .logo--footer .logo-text strong,
    .logo--footer .logo-text small {
      color: #fff;
    }
    .logo--footer .logo-text small {
      color: #94a3b8;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .nav-item { position: relative; }
    .nav-link {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 10px 14px;
      border-radius: 999px;
      font-weight: 600;
      font-size: 0.92rem;
      color: var(--ink);
      transition: background 0.15s ease, color 0.15s ease;
    }
    .nav-link:hover,
    .nav-item:focus-within > .nav-link {
      background: var(--surface-2);
      color: var(--brand);
    }
    .nav-link svg { width: 14px; height: 14px; opacity: 0.6; }

    .mega {
      position: absolute;
      top: calc(100% + 10px);
      left: 50%;
      transform: translateX(-50%) translateY(8px);
      width: 560px;
      padding: 18px;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow-soft);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    }
    .nav-item:focus-within .mega,
    .nav-item:hover .mega {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
    }
    .mega-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    .mega-link {
      display: flex;
      gap: 12px;
      padding: 12px;
      border-radius: var(--radius-sm);
      transition: background 0.15s ease;
    }
    .mega-link:hover { background: var(--surface-2); }
    .mega-icon {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: var(--brand-light);
      color: var(--brand);
      display: grid;
      place-items: center;
      flex-shrink: 0;
    }
    .mega-link strong {
      display: block;
      font-size: 0.92rem;
      margin-bottom: 2px;
    }
    .mega-link span {
      font-size: 0.78rem;
      color: var(--ink-muted);
      line-height: 1.35;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .menu-toggle { display: none; }

    /* ---- Hero ---- */
    .hero {
      padding: 56px 0 72px;
      background:
        radial-gradient(circle at 85% 15%, rgba(8, 145, 178, 0.12), transparent 42%),
        radial-gradient(circle at 10% 80%, rgba(12, 74, 110, 0.08), transparent 40%),
        var(--bg);
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 48px;
      align-items: center;
    }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 12px;
      border-radius: 999px;
      background: var(--brand-light);
      color: var(--brand);
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      margin-bottom: 18px;
    }
    .eyebrow-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--brand-yellow);
    }
    .hero h1 {
      margin: 0 0 16px;
      font-size: clamp(2rem, 4.5vw, 3.15rem);
      line-height: 1.08;
      letter-spacing: -0.04em;
      color: var(--ink);
    }
    .hero h1 em {
      font-style: normal;
      color: var(--brand);
    }
    .hero-lead {
      margin: 0 0 28px;
      font-size: 1.08rem;
      color: var(--ink-muted);
      max-width: 34rem;
    }
    .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
    .hero-trust {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
      font-size: 0.82rem;
      color: var(--ink-soft);
    }
    .hero-trust span {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .hero-trust svg { width: 16px; height: 16px; color: var(--ok); }

    /* App mockup in hero */
    .app-frame {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: 18px;
      box-shadow: var(--shadow-soft);
      overflow: hidden;
    }
    .app-topbar {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 12px 16px;
      background: #f8fafc;
      border-bottom: 1px solid var(--line);
    }
    .dot { width: 10px; height: 10px; border-radius: 50%; }
    .dot-r { background: #fca5a5; }
    .dot-y { background: #fde68a; }
    .dot-g { background: #86efac; }
    .app-title {
      margin-left: 8px;
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--ink-muted);
    }
    .app-body {
      display: grid;
      grid-template-columns: 180px 1fr;
      min-height: 340px;
    }
    .app-sidebar {
      background: var(--brand);
      padding: 16px 12px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .app-nav-item {
      height: 34px;
      border-radius: 8px;
      background: rgba(255,255,255,0.08);
    }
    .app-nav-item.active { background: rgba(255,255,255,0.22); }
    .app-main { padding: 18px; background: #fbfdff; }
    .app-kpis {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      margin-bottom: 14px;
    }
    .app-kpi {
      height: 62px;
      border-radius: 10px;
      background: var(--surface);
      border: 1px solid var(--line);
    }
    .app-table {
      height: 180px;
      border-radius: 10px;
      background: var(--surface);
      border: 1px solid var(--line);
      position: relative;
      overflow: hidden;
    }
    .app-table::before {
      content: "";
      position: absolute;
      inset: 0 0 auto 0;
      height: 36px;
      background: var(--surface-2);
      border-bottom: 1px solid var(--line);
    }
    .app-table-lines {
      position: absolute;
      inset: 48px 14px 14px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .app-line {
      height: 10px;
      border-radius: 999px;
      background: #e8eef5;
    }
    .app-line:nth-child(odd) { width: 92%; }
    .app-line:nth-child(even) { width: 78%; }
    .app-badge {
      position: absolute;
      right: 16px;
      bottom: 16px;
      padding: 8px 12px;
      border-radius: 999px;
      background: var(--accent);
      color: #fff;
      font-size: 0.72rem;
      font-weight: 700;
    }

    /* Hero carousel */
    .hero-carousel {
      position: relative;
    }
    .hero-carousel .app-topbar {
      justify-content: flex-start;
    }
    .hero-carousel-title {
      flex: 1;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .hero-carousel-viewport {
      position: relative;
      background: #fbfdff;
    }
    .hero-carousel-track {
      position: relative;
      aspect-ratio: 16 / 10;
      min-height: 280px;
    }
    .hero-carousel-slide {
      position: absolute;
      inset: 0;
      margin: 0;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.45s ease, visibility 0.45s ease;
    }
    .hero-carousel-slide.is-active {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      z-index: 1;
    }
    .hero-carousel-link {
      display: block;
      width: 100%;
      height: 100%;
    }
    .hero-carousel-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top left;
      display: block;
      background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
    }
    .hero-carousel-caption {
      position: absolute;
      left: 14px;
      bottom: 14px;
      z-index: 2;
      display: grid;
      gap: 2px;
      max-width: calc(100% - 28px);
      padding: 10px 12px;
      border-radius: 12px;
      background: rgba(15, 23, 42, 0.72);
      color: #fff;
      backdrop-filter: blur(6px);
    }
    .hero-carousel-caption strong {
      font-size: 0.78rem;
      font-weight: 700;
    }
    .hero-carousel-caption span {
      font-size: 0.72rem;
      color: rgba(255, 255, 255, 0.82);
    }
    .hero-carousel-nav {
      position: absolute;
      top: 50%;
      z-index: 3;
      transform: translateY(-50%);
      width: 38px;
      height: 38px;
      border: 1px solid rgba(255, 255, 255, 0.35);
      border-radius: 50%;
      background: rgba(15, 23, 42, 0.55);
      color: #fff;
      display: grid;
      place-items: center;
      cursor: pointer;
      transition: background 0.2s ease, transform 0.2s ease;
    }
    .hero-carousel-nav:hover {
      background: rgba(15, 23, 42, 0.78);
      transform: translateY(-50%) scale(1.04);
    }
    .hero-carousel-prev { left: 12px; }
    .hero-carousel-next { right: 12px; }
    .hero-carousel-dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      padding: 12px 16px;
      background: #f8fafc;
      border-top: 1px solid var(--line);
    }
    .hero-carousel-dot {
      width: 8px;
      height: 8px;
      padding: 0;
      border: 0;
      border-radius: 50%;
      background: #cbd5e1;
      cursor: pointer;
      transition: transform 0.2s ease, background 0.2s ease;
    }
    .hero-carousel-dot.is-active {
      background: var(--brand);
      transform: scale(1.25);
    }
    .hero-carousel-foot {
      display: flex;
      justify-content: flex-end;
      padding: 10px 16px 14px;
      background: #fbfdff;
      border-top: 1px solid var(--line);
    }
    .hero-carousel-foot span {
      padding: 8px 12px;
      border-radius: 999px;
      background: var(--accent);
      color: #fff;
      font-size: 0.72rem;
      font-weight: 700;
    }

    /* ---- Sections ---- */
    section { padding: 72px 0; }
    .section-head {
      max-width: 640px;
      margin-bottom: 36px;
    }
    .section-head.centered {
      margin-inline: auto;
      text-align: center;
    }
    .section-label {
      display: inline-block;
      margin-bottom: 10px;
      font-size: 0.75rem;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent);
    }
    .section-head h2 {
      margin: 0 0 10px;
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      letter-spacing: -0.03em;
    }
    .section-head p {
      margin: 0;
      color: var(--ink-muted);
    }

    /* Rubros */
    .rubros {
      background: var(--surface);
      border-block: 1px solid var(--line);
    }
    .rubros-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }
    .rubro-card {
      padding: 22px;
      border-radius: var(--radius);
      border: 1px solid var(--line);
      background: var(--bg);
      transition: border-color 0.15s ease, transform 0.15s ease;
    }
    .rubro-card:hover {
      border-color: var(--accent);
      transform: translateY(-3px);
    }
    .rubro-icon {
      width: 46px;
      height: 46px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      margin-bottom: 14px;
      background: var(--brand-light);
      color: var(--brand);
    }
    .rubro-card h3 {
      margin: 0 0 8px;
      font-size: 1.05rem;
    }
    .rubro-card p {
      margin: 0 0 14px;
      font-size: 0.88rem;
      color: var(--ink-muted);
      min-height: 2.8em;
    }
    .rubro-link {
      font-size: 0.86rem;
      font-weight: 700;
      color: var(--accent);
    }

    /* Screenshots */
    .screens-grid {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      gap: 18px;
    }
    .screens-grid-products {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }
    .screen-card {
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--line);
      background: var(--surface);
      box-shadow: var(--shadow-card);
    }
    .screen-card.large { grid-row: span 2; }
    .screen-shot {
      aspect-ratio: 16 / 10;
      background: linear-gradient(180deg, #f8fafc 0%, #eef4fb 100%);
      position: relative;
      overflow: hidden;
    }
    .screen-shot img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top left;
      display: block;
    }
    .screen-shot.is-placeholder::after {
      content: attr(data-label);
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      color: var(--ink-soft);
      font-size: 0.82rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      padding: 12px;
      text-align: center;
    }
    .screen-shot.has-image::after {
      content: none;
    }
    .screen-meta {
      padding: 14px 16px;
      border-top: 1px solid var(--line);
    }
    .screen-meta strong { display: block; font-size: 0.92rem; }
    .screen-meta span { font-size: 0.8rem; color: var(--ink-muted); }

    .program-showcase {
      padding: 56px 0;
      border-top: 1px solid var(--line);
    }
    .program-showcase:nth-child(even) {
      background: var(--surface);
    }
    .program-cta {
      margin: 18px 0 0;
      text-align: center;
    }

    .program-detail {
      margin: 0 0 36px;
    }
    .program-pills {
      list-style: none;
      margin: 0 0 28px;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
    }
    .program-pills li {
      padding: 8px 14px;
      border-radius: 999px;
      background: rgba(14, 165, 233, 0.12);
      border: 1px solid rgba(14, 165, 233, 0.25);
      color: var(--brand);
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.02em;
    }
    .program-detail-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      margin-bottom: 28px;
    }
    .program-detail-col {
      padding: 22px;
      border-radius: var(--radius);
      background: var(--surface);
      border: 1px solid var(--line);
    }
    .program-detail-col h3 {
      margin: 0 0 12px;
      font-size: 1.05rem;
      color: var(--brand);
    }
    .program-detail-col p {
      margin: 0 0 12px;
      color: var(--ink-muted);
      font-size: 0.92rem;
      line-height: 1.55;
    }
    .program-detail-lead {
      font-weight: 600;
      color: var(--ink) !important;
    }
    .program-detail-list {
      margin: 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 14px;
    }
    .program-detail-list li {
      display: grid;
      gap: 4px;
    }
    .program-detail-list strong {
      display: block;
      font-size: 0.9rem;
      color: var(--ink);
    }
    .program-detail-list span {
      font-size: 0.86rem;
      color: var(--ink-muted);
      line-height: 1.5;
    }
    .program-detail-note {
      margin-top: 14px !important;
      padding-top: 14px;
      border-top: 1px dashed var(--line);
      font-size: 0.84rem !important;
      font-style: italic;
    }
    .program-detail-close {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
      padding: 24px 28px;
      border-radius: calc(var(--radius) + 2px);
      background: linear-gradient(135deg, var(--brand) 0%, #0c4a6e 100%);
      color: #fff;
    }
    .program-detail-close h3 {
      margin: 0 0 8px;
      font-size: 1.25rem;
      color: #fff;
    }
    .program-detail-close p {
      margin: 0 0 12px;
      color: rgba(255, 255, 255, 0.88);
      max-width: 52ch;
    }
    .program-detail-contact {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      font-size: 0.9rem;
    }
    .program-detail-contact a {
      color: #fff;
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .program-detail-close-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }
    .program-detail-close .btn-secondary {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.35);
      color: #fff;
    }
    .program-showcase--detail .screens-grid-products {
      margin-top: 8px;
      margin-bottom: 28px;
    }
    .program-showcase--detail .program-detail-close {
      margin-top: 0;
    }
    .contact-email {
      margin: 12px 0 0;
      font-size: 1.05rem;
      font-weight: 700;
    }
    .contact-email a { color: var(--brand); }
    .contact-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    .contact-card {
      padding: 24px;
      border-radius: var(--radius);
      background: var(--surface);
      border: 1px solid var(--line);
    }
    .contact-card h2 {
      margin: 0 0 10px;
      font-size: 1.05rem;
    }
    .contact-card p { margin: 0 0 14px; color: var(--ink-muted); }
    .contact-programs {
      margin: 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 8px;
    }
    .contact-programs a { color: var(--accent); font-weight: 600; }

    /* Páginas internas / legal */
    .page-main {
      padding: 72px 0;
      min-height: 50vh;
    }
    .page-header {
      margin-bottom: 28px;
    }
    .page-header h1 {
      margin: 0;
      font-size: clamp(1.75rem, 3vw, 2.35rem);
      letter-spacing: -0.03em;
      line-height: 1.15;
    }
    .page-content {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: clamp(22px, 4vw, 36px);
      box-shadow: var(--shadow-card);
    }
    .page-content > :first-child { margin-top: 0; }
    .page-content > :last-child { margin-bottom: 0; }
    .page-content p,
    .page-content li {
      color: var(--ink);
    }
    .page-content p {
      margin: 0 0 1em;
    }
    .page-content h2,
    .page-content h3,
    .page-content h4 {
      margin: 1.6em 0 0.65em;
      line-height: 1.25;
      letter-spacing: -0.02em;
      color: var(--ink);
    }
    .page-content h2 { font-size: 1.35rem; }
    .page-content h3 { font-size: 1.12rem; }
    .page-content ul,
    .page-content ol {
      margin: 0 0 1em;
      padding-left: 1.35em;
    }
    .page-content li { margin-bottom: 0.35em; }
    .page-content a {
      color: var(--brand);
      text-decoration: underline;
      text-underline-offset: 2px;
    }
    .page-content a:hover { color: var(--accent); }
    .page-content blockquote {
      margin: 1.25em 0;
      padding: 14px 18px;
      border-left: 4px solid var(--brand-light);
      background: var(--surface-2);
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      color: var(--ink-muted);
    }
    .page-content table {
      width: 100%;
      border-collapse: collapse;
      margin: 1em 0;
      font-size: 0.92rem;
    }
    .page-content th,
    .page-content td {
      border: 1px solid var(--line);
      padding: 10px 12px;
      text-align: left;
    }
    .page-content th {
      background: var(--surface-2);
      font-weight: 700;
    }
    .page-links {
      margin-top: 24px;
      padding-top: 16px;
      border-top: 1px solid var(--line);
      font-size: 0.9rem;
      color: var(--ink-muted);
    }
    .page-links a {
      display: inline-block;
      margin-left: 8px;
      font-weight: 600;
    }

    /* Compare strip */
    .compare {
      background: var(--brand);
      color: #fff;
      border-radius: calc(var(--radius) + 4px);
      padding: 28px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      align-items: stretch;
    }
    .compare-col {
      padding: 22px;
      border-radius: var(--radius-sm);
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.12);
    }
    .compare-col.bad { opacity: 0.78; }
    .compare-col.good {
      background: rgba(255,255,255,0.12);
      border-color: rgba(255,255,255,0.22);
    }
    .compare-col h3 {
      margin: 0 0 14px;
      font-size: 1rem;
    }
    .compare-list {
      margin: 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 10px;
    }
    .compare-list li {
      display: flex;
      gap: 10px;
      font-size: 0.88rem;
      line-height: 1.4;
    }
    .compare-list svg { flex-shrink: 0; margin-top: 2px; }

    /* Steps */
    .steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    .step {
      padding: 24px;
      border-radius: var(--radius);
      background: var(--surface);
      border: 1px solid var(--line);
    }
    .step-num {
      width: 34px;
      height: 34px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      background: var(--brand-light);
      color: var(--brand);
      font-weight: 800;
      font-size: 0.9rem;
      margin-bottom: 14px;
    }
    .step h3 { margin: 0 0 8px; font-size: 1rem; }
    .step p { margin: 0; font-size: 0.88rem; color: var(--ink-muted); }

    /* CTA band */
    .cta-band {
      padding: 56px 0;
    }
    .cta-box {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 36px 40px;
      border-radius: calc(var(--radius) + 6px);
      background: var(--surface);
      border: 1px solid var(--line);
      box-shadow: var(--shadow-card);
    }
    .cta-box h2 {
      margin: 0 0 8px;
      font-size: clamp(1.4rem, 2.5vw, 1.9rem);
      letter-spacing: -0.03em;
    }
    .cta-box p { margin: 0; color: var(--ink-muted); }

    /* Footer */
    .site-footer {
      background: #0b1220;
      color: #cbd5e1;
      padding: 48px 0 24px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr repeat(3, 1fr);
      gap: 28px;
      margin-bottom: 32px;
    }
    .footer-grid h4 {
      margin: 0 0 12px;
      color: #fff;
      font-size: 0.88rem;
    }
    .footer-grid ul {
      margin: 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 8px;
      font-size: 0.86rem;
    }
    .footer-grid a {
      color: #e2e8f0;
      text-decoration: underline;
      text-decoration-color: rgba(226, 232, 240, 0.45);
      text-underline-offset: 3px;
      transition: color 0.15s ease, text-decoration-color 0.15s ease;
    }
    .footer-grid a:hover {
      color: #fff;
      text-decoration-color: rgba(255, 255, 255, 0.85);
    }
    .footer-bottom {
      padding-top: 20px;
      border-top: 1px solid rgba(255,255,255,0.08);
      display: flex;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
      font-size: 0.8rem;
      color: #94a3b8;
    }
    .footer-bottom a {
      color: inherit;
      text-decoration: none;
    }
    .footer-bottom a:hover { color: #fff; }

    /* Floating WA â€” diseÃ±o */
    .wa-float {
      position: fixed;
      right: 22px;
      bottom: 22px;
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: #22c55e;
      color: #fff;
      display: grid;
      place-items: center;
      box-shadow: 0 10px 30px rgba(34, 197, 94, 0.35);
      z-index: 90;
    }

    /* Responsive */
    @media (max-width: 980px) {
      .hero-grid,
      .screens-grid,
      .screens-grid-products,
      .program-detail-grid,
      .contact-grid,
      .compare,
      .rubros-grid,
      .steps,
      .footer-grid { grid-template-columns: 1fr; }
      .screen-card.large { grid-row: auto; }
      .app-body { grid-template-columns: 120px 1fr; min-height: 280px; }
      .nav { display: none; }
      .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 10px;
        border: 1px solid var(--line);
        background: var(--surface);
        cursor: pointer;
        color: var(--ink);
        font-size: 1.2rem;
        line-height: 1;
        padding: 0;
        flex-shrink: 0;
      }
      .nav-backdrop {
        position: fixed;
        inset: 0;
        top: var(--header-h);
        background: rgba(15, 23, 42, 0.45);
        z-index: 98;
      }
      body.nav-open .nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        max-height: calc(100dvh - var(--header-h));
        overflow-y: auto;
        padding: 12px 16px 24px;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-soft);
        z-index: 99;
        gap: 4px;
        -webkit-overflow-scrolling: touch;
      }
      body.nav-open .nav-link {
        border-radius: var(--radius-sm);
        width: 100%;
        justify-content: space-between;
      }
      body.nav-open .nav-item {
        width: 100%;
      }
      body.nav-open .nav-item > .nav-link svg {
        transition: transform 0.2s ease;
      }
      body.nav-open .nav-item.is-expanded > .nav-link svg {
        transform: rotate(180deg);
      }
      body.nav-open .nav-item .mega {
        position: static;
        transform: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        width: 100%;
        padding: 0;
        margin: 0;
        border: none;
        box-shadow: none;
        transition: max-height 0.25s ease, opacity 0.2s ease;
      }
      body.nav-open .nav-item.is-expanded .mega {
        opacity: 1;
        visibility: visible;
        max-height: 2000px;
        padding: 4px 0 12px;
      }
      body.nav-open .mega-grid {
        grid-template-columns: 1fr;
      }
      body.nav-open .nav-item:hover .mega,
      body.nav-open .nav-item:focus-within .mega {
        opacity: 0;
        visibility: hidden;
        transform: none;
      }
      body.nav-open .nav-item.is-expanded:hover .mega,
      body.nav-open .nav-item.is-expanded:focus-within .mega {
        opacity: 1;
        visibility: visible;
      }
      .cta-box { flex-direction: column; align-items: flex-start; }
    }

    /* Páginas de producto editables (Gutenberg) */
    .product-page--editable {
      padding-top: clamp(28px, 4vw, 48px);
      padding-bottom: clamp(48px, 6vw, 72px);
    }
    .product-intro-lead {
      margin: 12px 0 0;
      max-width: 62ch;
      color: var(--ink-muted);
      font-size: 1.05rem;
      line-height: 1.55;
    }
    .product-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 0 0 20px;
    }
    .product-pill {
      display: inline-flex;
      align-items: center;
      padding: 6px 12px;
      border-radius: 999px;
      border: 1px solid var(--line);
      background: var(--surface-2);
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--ink-muted);
    }
    .page-content .bajada-comercial,
    .product-editor-content .bajada-comercial {
      font-size: 1.08rem;
      line-height: 1.6;
      color: var(--ink);
    }
    .page-content .cta-container,
    .product-editor-content .cta-container {
      margin: 20px 0 8px;
    }
    .page-content .boton-whatsapp .wp-block-button__link,
    .product-editor-content .boton-whatsapp .wp-block-button__link {
      background: #25d366;
      color: #fff;
      border: none;
      border-radius: 10px;
      padding: 12px 20px;
      font-weight: 700;
      text-decoration: none;
    }
    .page-content .boton-whatsapp .wp-block-button__link:hover,
    .product-editor-content .boton-whatsapp .wp-block-button__link:hover {
      filter: brightness(0.95);
      color: #fff;
    }
    .page-content .wp-block-image img,
    .product-editor-content .wp-block-image img {
      width: 100%;
      height: auto;
      border-radius: var(--radius);
      border: 1px solid var(--line);
      background: var(--surface-2);
    }
    .page-content .wp-block-image figcaption,
    .product-editor-content .wp-block-image figcaption {
      margin-top: 8px;
      font-size: 0.88rem;
      color: var(--ink-muted);
      text-align: center;
    }
    .product-screens {
      margin-top: 36px;
    }
    .product-screens h2 {
      font-size: 1.25rem;
    }
