:root {
      /* Paleta Mangoo */
      --mangoo-orange: #F68D2E;
      --mangoo-yellow: #F7D338;
      --mangoo-deep-orange: #E65F26;
      --mangoo-green-light: #7BC141;
      --mangoo-green-dark: #3E8A2E;
      --mangoo-gray-dark: #595959;
      --mangoo-gray-light: #C7C7C7;

      /* Tema CLARO – casi blanco cálido */
      --bg-main: #FDFBF8;
      --bg-soft: #FFFFFF;
      --bg-softer: #F6F1E8;
      --bg-gradient-1: #FFF5E8;
      --bg-gradient-2: #FFF9F0;

      --primary: var(--mangoo-orange);
      --primary-soft: rgba(246, 141, 46, 0.10);
      --accent: var(--mangoo-yellow);

      --text-main: #111827;
      --text-muted: #6B7280;
      --border-subtle: rgba(148, 163, 184, 0.35);

      --radius-lg: 18px;
      --radius-xl: 26px;
      --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
      --max-width: 1160px;
    }

    /* TEMA OSCURO – se activa con data-theme="dark" en <html> */
    :root[data-theme="dark"] {
      --bg-main: #120f10;
      --bg-soft: #171219;
      --bg-softer: #120f16;
      --bg-gradient-1: #2b1610;
      --bg-gradient-2: #1a1208;

      --primary: var(--mangoo-orange);
      --primary-soft: rgba(246, 141, 46, 0.18);
      --accent: var(--mangoo-yellow);

      --text-main: #f9fafb;
      --text-muted: var(--mangoo-gray-light);
      --border-subtle: rgba(199, 199, 199, 0.28);

      --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
    }

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

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      /* En claro: fondo casi blanco liso */
      background: var(--bg-main);
      color: var(--text-main);
      line-height: 1.6;
      scroll-behavior: smooth;
      transition: background 0.25s ease, color 0.25s ease;
    }

    /* En oscuro, sí usamos el degradado de fondo */
    :root[data-theme="dark"] body {
      background:
        radial-gradient(circle at top left, var(--bg-gradient-1) 0, var(--bg-main) 48%),
        radial-gradient(circle at bottom right, var(--bg-gradient-2) 0, var(--bg-main) 55%);
    }

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

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

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

    /* TOP BAR */
    .top-bar {
      font-size: 0.8rem;
      color: var(--text-muted);
      border-bottom: 1px solid rgba(148, 163, 184, 0.25);
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(18px);
      transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    }

    :root[data-theme="dark"] .top-bar {
      background: rgba(18, 15, 16, 0.96);
      border-bottom: 1px solid rgba(199, 199, 199, 0.25);
    }

    .top-bar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      padding: 0.4rem 0;
    }

    .top-bar-left,
    .top-bar-right {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.85rem;
    }

    .top-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
    }

    .top-pill span.icon {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: var(--accent);
      box-shadow: 0 0 8px rgba(247, 211, 56, 0.8);
    }

    .top-link {
      opacity: 0.85;
    }

    .top-link:hover {
      opacity: 1;
    }

    /* HEADER / NAV */
    header {
      position: sticky; 
      top: 0; 
      z-index: 40;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid rgba(148, 163, 184, 0.25);
      transition: background 0.25s ease, border-color 0.25s ease;
    }

    :root[data-theme="dark"] header {
      background: rgba(10, 7, 9, 0.97);
      border-bottom: 1px solid rgba(199, 199, 199, 0.24);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 0.75rem 0;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .brand-logo {
      width: 38px;
      height: 38px;
      border-radius: 11px;
      background:
        radial-gradient(circle at top, var(--mangoo-yellow), var(--mangoo-deep-orange) 65%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 1.1rem;
      color: #3b1a06;
      box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
    }

    :root[data-theme="dark"] .brand-logo {
      box-shadow: 0 10px 22px rgba(0, 0, 0, 0.75);
    }

    .brand-text {
      display: flex;
      flex-direction: column;
      gap: 0.05rem;
    }

    .brand-title {
      font-size: 1rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

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

    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      font-size: 0.9rem;
    }

    .nav-links a {
      position: relative;
      color: var(--text-muted);
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -0.35rem;
      width: 0;
      height: 2px;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      transition: width 0.18s ease;
    }

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

    .nav-links a:hover::after {
      width: 100%;
    }

    .nav-cta {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      white-space: nowrap;
    }

    .btn {
      border-radius: 999px;
      padding: 0.55rem 1.3rem;
      border: 1px solid transparent;
      font-size: 0.86rem;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      cursor: pointer;
      background: transparent;
      color: var(--text-main);
      transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--mangoo-deep-orange), var(--accent));
      color: #2b1304;
      box-shadow: 0 12px 30px rgba(248, 180, 67, 0.4);
    }

    :root[data-theme="dark"] .btn-primary {
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 18px 40px rgba(248, 180, 67, 0.55);
    }

    :root[data-theme="dark"] .btn-primary:hover {
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
    }

    .btn-ghost {
      border-color: rgba(148, 163, 184, 0.45);
      background: rgba(255, 255, 255, 0.9);
      color: var(--text-muted);
    }

    :root[data-theme="dark"] .btn-ghost {
      background: rgba(18, 15, 16, 0.9);
      border-color: rgba(199, 199, 199, 0.45);
    }

    .btn-ghost:hover {
      border-color: var(--primary);
      color: var(--text-main);
      background: rgba(255, 255, 255, 1);
    }

    :root[data-theme="dark"] .btn-ghost:hover {
      background: rgba(18, 15, 16, 1);
    }

    .btn-small {
      padding: 0.3rem 0.9rem;
      font-size: 0.8rem;
    }

    /* Botón de tema */
    .theme-toggle {
      width: 32px;
      padding: 0.3rem;
      border-radius: 999px;
      justify-content: center;
      min-width: 32px;
    }

    .theme-icon {
      font-size: 0.95rem;
      line-height: 1;
    }

    .burger {
      display: none;
      width: 24px;
      height: 24px;
      flex-direction: column;
      justify-content: center;
      gap: 4px;
      cursor: pointer;
    }

    .burger span {
      height: 2px;
      width: 100%;
      border-radius: 999px;
      background: #111827;
      transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
    }

    :root[data-theme="dark"] .burger span {
      background: #f5f5f5;
    }

    .burger.open span:nth-child(1) {
      transform: translateY(3px) rotate(45deg);
    }

    .burger.open span:nth-child(2) {
      opacity: 0;
    }

    .burger.open span:nth-child(3) {
      transform: translateY(-3px) rotate(-45deg);
    }

    .mobile-menu {
      display: none;
      padding-bottom: 0.75rem;
    }

    .mobile-menu-inner {
      border-radius: 14px;
      border: 1px solid rgba(148, 163, 184, 0.25);
      background: rgba(255, 255, 255, 0.97);
      padding: 0.7rem 0.9rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      font-size: 0.9rem;
    }

    :root[data-theme="dark"] .mobile-menu-inner {
      background: rgba(18, 15, 16, 0.98);
      border-color: rgba(199, 199, 199, 0.25);
    }

    .mobile-menu a {
      color: var(--text-muted);
      padding: 0.25rem 0;
    }

    .mobile-menu a:hover {
      color: var(--text-main);
    }

    /* HERO */
    .hero {
      padding: 3.5rem 0 3rem;
      /* Banda cálida solo en tema claro */
      background:
        radial-gradient(circle at top left, var(--bg-gradient-1) 0, #FFFFFF 55%),
        radial-gradient(circle at bottom right, var(--bg-gradient-2) 0, #FFFFFF 60%);
    }

    :root[data-theme="dark"] .hero {
      /* En oscuro dejamos que el fondo general haga el trabajo */
      background: transparent;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
      gap: 2.8rem;
      align-items: center;
    }

    .eyebrow {
      font-size: 0.78rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--primary);
      margin-bottom: 0.75rem;
    }

    .hero-title {
      font-size: 2.4rem;
      line-height: 1.15;
      margin-bottom: 0.9rem;
    }

    .hero-title span {
      background: linear-gradient(120deg, #7c2d12, #b45309, var(--accent));
      -webkit-background-clip: text;
      color: transparent;
    }

    :root[data-theme="dark"] .hero-title span {
      background: linear-gradient(120deg, #ffffff, #fef9c3, var(--accent));
      -webkit-background-clip: text;
      color: transparent;
    }

    .hero-subtitle {
      color: var(--text-muted);
      font-size: 0.98rem;
      max-width: 34rem;
      margin-bottom: 1.6rem;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-bottom: 1.4rem;
    }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 1.6rem;
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .hero-meta span {
      display: flex;
      flex-direction: column;
      gap: 0.15rem;
    }

    .hero-meta strong {
      font-size: 1rem;
      color: #8A4B1A;
    }   

    :root[data-theme="dark"] .hero-meta strong {
      color: #fef3c7;
    }

    .badge-soft {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      padding: 0.2rem 0.6rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.35);
      background: #FFF9F2;
      font-size: 0.72rem;
      color: var(--text-muted);
    }

    :root[data-theme="dark"] .badge-soft {
      background: rgba(18, 15, 16, 0.96);
      border-color: rgba(199, 199, 199, 0.45);
    }

    .badge-soft-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: var(--primary);
      box-shadow: 0 0 8px rgba(246, 141, 46, 0.9);
    }

    .hero-card {
      border-radius: var(--radius-xl);
      padding: 1.6rem 1.5rem;
      background:
        radial-gradient(circle at top, rgba(246, 141, 46, 0.14), #FFFFFF 60%);
      border: 1px solid var(--border-subtle);
      box-shadow: var(--shadow-soft);
    }

    :root[data-theme="dark"] .hero-card {
      background:
        radial-gradient(circle at top, var(--primary-soft), transparent 55%),
        radial-gradient(circle at bottom right, rgba(20, 15, 12, 0.96), #090608 65%);
    }

    .hero-card h3 {
      font-size: 1.02rem;
      margin: 0.8rem 0 0.5rem;
    }

    .hero-card p {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 1rem;
    }

    .hero-pill-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 0.45rem;
    }

    .pill {
      padding: 0.2rem 0.7rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.4);
      font-size: 0.74rem;
      color: var(--text-muted);
      background: #FFF9F2;
    }

    :root[data-theme="dark"] .pill {
      border-color: rgba(199, 199, 199, 0.45);
      background: rgba(17, 12, 13, 0.98);
    }

    /* GENERIC SECTIONS */
    section {
      padding: 3.2rem 0;
    }

    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 1.5rem;
      margin-bottom: 2rem;
    }

    .section-title {
      font-size: 1.5rem;
      margin-bottom: 0.3rem;
    }

    .section-subtitle {
      font-size: 0.9rem;
      color: var(--text-muted);
      max-width: 32rem;
    }

    .tag {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: var(--primary);
      margin-bottom: 0.45rem;
    }

    /* GRID HELPERS */
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.4rem;
    }

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

    /* CARDS */
    .card {
      background: var(--bg-soft);
      border-radius: var(--radius-lg);
      padding: 1.2rem 1.35rem;
      border: 1px solid var(--border-subtle);
      box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
      transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    }

    :root[data-theme="dark"] .card {
      background: #171219;
      border-color: rgba(199, 199, 199, 0.24);
      box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
    }

    .card h3 {
      font-size: 1rem;
      margin-bottom: 0.35rem;
    }

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

    .card-footer {
      margin-top: 0.7rem;
      font-size: 0.78rem;
      color: var(--primary);
    }

    /* SERVICES SECTION (Fábrica / Web / Productos) */
    .services-compact {
      font-size: 0.82rem;
      color: var(--text-muted);
    }

    /* SOLUCIONES ERP/CRM/... */
    .solutions-list {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.2rem;
    }

    .solution-item {
      border-radius: var(--radius-lg);
      padding: 1.1rem 1.2rem;
      border: 1px solid var(--border-subtle);
      background: #FFFFFF;
      box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
    }

    :root[data-theme="dark"] .solution-item {
      border-color: rgba(199, 199, 199, 0.26);
      background: radial-gradient(circle at top left, rgba(35, 22, 15, 0.95), var(--bg-softer));
      box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
    }

    .solution-item h3 {
      font-size: 0.95rem;
      margin-bottom: 0.25rem;
    }

    .solution-item p {
      font-size: 0.82rem;
      color: var(--text-muted);
    }

    /* PROCESO */
    .process-grid {
      display: grid;
      grid-template-columns: 1.4fr 1.6fr;
      gap: 1.8rem;
    }

    .process-steps {
      display: grid;
      gap: 0.9rem;
    }

    .step {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 0.6rem 0.9rem;
      align-items: flex-start;
    }

    .step-number {
      width: 26px;
      height: 26px;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.6);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.78rem;
      color: var(--primary);
      background: #FFF9F2;
    }

    :root[data-theme="dark"] .step-number {
      border-color: rgba(199, 199, 199, 0.5);
      background: rgba(18, 15, 16, 0.96);
    }

    .step h3 {
      font-size: 0.9rem;
      margin-bottom: 0.15rem;
    }

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

    /* STATS / RESULTADOS */
    .stats {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1.1rem;
    }

    .stat-card {
      background: var(--bg-soft);
      border-radius: var(--radius-lg);
      padding: 1rem 1.1rem;
      border: 1px solid var(--border-subtle);
      box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    }

    :root[data-theme="dark"] .stat-card {
      background: #171219;
      border-color: rgba(199, 199, 199, 0.24);
      box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
    }

    .stat-value {
      font-size: 1.3rem;
      font-weight: 600;
      margin-bottom: 0.1rem;
    }

    .stat-label {
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    /* CLIENTES */
    .clients-strip {
      display: flex;
      flex-wrap: wrap;
      gap: 1.4rem;
      align-items: center;
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .clients-logos {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      align-items: center;
    }

    .client-logo-placeholder {
      width: 90px;
      height: 32px;
      border-radius: 999px;
      border: 1px dashed rgba(148, 163, 184, 0.7);
      font-size: 0.7rem;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
    }

    :root[data-theme="dark"] .client-logo-placeholder {
      border-color: rgba(199, 199, 199, 0.6);
    }

    /* CTA FINAL */
    .cta-section {
      padding: 3rem 0 3.5rem;
    }

    .cta-box {
      border-radius: 24px;
      border: 1px solid var(--border-subtle);
      background:
        radial-gradient(circle at top left, rgba(246, 141, 46, 0.12), #FFFFFF 60%);
      padding: 2rem 1.8rem;
      display: grid;
      grid-template-columns: 1.7fr 1.3fr;
      gap: 1.8rem;
      align-items: center;
      box-shadow: var(--shadow-soft);
    }

    :root[data-theme="dark"] .cta-box {
      background:
        radial-gradient(circle at top left, var(--primary-soft), transparent 55%),
        rgba(18, 15, 16, 0.98);
      border-color: rgba(199, 199, 199, 0.35);
    }

    .cta-box h2 {
      font-size: 1.6rem;
      margin-bottom: 0.4rem;
    }

    .cta-box p {
      font-size: 0.92rem;
      color: var(--text-muted);
      margin-bottom: 1rem;
    }

    .cta-highlights {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .cta-highlights span {
      padding: 0.25rem 0.7rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.45);
      background: #FFF9F2;
    }

    :root[data-theme="dark"] .cta-highlights span {
      border-color: rgba(199, 199, 199, 0.35);
      background: rgba(18, 15, 16, 0.9);
    }

    .cta-form {
      display: grid;
      gap: 0.7rem;
    }

    .cta-form label {
      font-size: 0.76rem;
      color: var(--text-muted);
    }

    .cta-form input,
    .cta-form textarea {
      width: 100%;
      padding: 0.55rem 0.7rem;
      border-radius: 10px;
      border: 1px solid rgba(148, 163, 184, 0.5);
      background: #F9FAFB;
      color: var(--text-main);
      font-size: 0.85rem;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    :root[data-theme="dark"] .cta-form input,
    :root[data-theme="dark"] .cta-form textarea {
      background: rgba(15, 12, 13, 0.96);
      border-color: rgba(199, 199, 199, 0.4);
      color: #f9fafb;
    }

    .cta-form textarea {
      resize: vertical;
      min-height: 90px;
    }

    .cta-form input:focus,
    .cta-form textarea:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 1px rgba(246, 141, 46, 0.75);
    }

    /* FOOTER */
    footer {
      border-top: 1px solid rgba(148, 163, 184, 0.35);
      padding: 2rem 0 2.4rem;
      font-size: 0.8rem;
      color: var(--text-muted);
      background: #F6F1E8;
      transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    }

    :root[data-theme="dark"] footer {
      background: #0b0709;
      border-top-color: rgba(199, 199, 199, 0.35);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1.4fr 1.4fr;
      gap: 1.8rem;
      margin-bottom: 1.6rem;
    }

    .footer-title {
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 0.4rem;
      color: #111827;
    }

    :root[data-theme="dark"] .footer-title {
      color: #fef3c7;
    }

    .footer-links a {
      display: block;
      margin-bottom: 0.2rem;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 0.7rem;
    }

    /* RESPONSIVE */
    @media (max-width: 960px) {
      .hero-grid {
        grid-template-columns: minmax(0, 1fr);
      }

      .cta-box {
        grid-template-columns: minmax(0, 1fr);
      }

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

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

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

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

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

      .nav-links {
        display: none;
      }

      .burger {
        display: flex;
      }

      .section-header {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    @media (max-width: 640px) {
      .hero {
        padding-top: 2.7rem;
      }

      .hero-title {
        font-size: 1.9rem;
      }

      .stats,
      .solutions-list,
      .grid-3,
      .grid-4,
      .footer-grid {
        grid-template-columns: minmax(0, 1fr);
      }

      .cta-box {
        padding: 1.6rem 1.4rem;
      }

      .top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    /* Fuera del media query */
.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

      /* Reset del borde interno de foco nativo en botones */
button::-moz-focus-inner,
.btn::-moz-focus-inner,
button::-webkit-focus-inner,
.btn::-webkit-focus-inner {
  border: 0;
}

/* Estado de foco personalizado en botones */
button:focus,
button:focus-visible,
.btn:focus,
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(246, 141, 46, 0.35); /* glow naranja suave */
  border-color: var(--primary);
 }

/* ------------------------------ */
/* ANIMACIONES DE PASOS DEL PROCESO */
/* ------------------------------ */

/* Contenedor general */
.step {
  cursor: pointer;
  padding: 0.45rem 0.2rem;
  border-radius: 10px;
  transition: transform 0.18s ease, background 0.25s ease, box-shadow 0.22s ease;
}

/* Número */
.step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--bg-soft);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: var(--primary);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

/* Título */
.step h3 {
  transition: color 0.25s ease, transform 0.18s ease;
}

/* ------------------------------ */
/* EFECTO HOVER */
/* ------------------------------ */
.step:hover {
  transform: translateX(4px);
  background: rgba(246, 141, 46, 0.08); /* Primary soft */
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.step:hover .step-number {
  transform: scale(1.12);
  background: linear-gradient(135deg, var(--mangoo-deep-orange), var(--accent));
  color: #2b1304;
  box-shadow: 0 4px 14px rgba(246, 141, 46, 0.45);
}

.step:hover h3 {
  color: var(--primary);
  transform: translateY(-1px);
}

/* ------------------------------ */
/* ESTADO ACTIVO (CUANDO EL USUARIO HACE CLIC) */
/* ------------------------------ */

.step.is-active {
  background: rgba(246, 141, 46, 0.14);
  box-shadow: 0 12px 28px rgba(246, 141, 46, 0.28);
  border-left: 3px solid var(--primary);
  transform: translateX(6px);
}

.step.is-active .step-number {
  background: linear-gradient(135deg, var(--mangoo-deep-orange), var(--accent));
  color: #2b1304;
  transform: scale(1.15);
  box-shadow: 0 4px 18px rgba(246, 141, 46, 0.55);
}

.step.is-active h3 {
  color: var(--primary);
  font-weight: 600;
  transform: translateY(-1.5px);
}

