  :root {
    --red:        #CC2218;
    --red-light:  #E8352A;
    --red-pale:   #FDF1F0;
    --red-border: rgba(204,34,24,0.18);
    --ink:        #1A1A2E;
    --ink-mid:    #3D3D5C;
    --ink-soft:   #6E6E8A;
    --ink-muted:  #A8A8BE;
    --bg:         #FFFFFF;
    --bg-soft:    #F7F8FA;
    --bg-mid:     #EFF0F4;
    --border:     #E4E5EC;
    --shadow-sm:  0 2px 8px rgba(26,26,46,0.07);
    --shadow-md:  0 8px 32px rgba(26,26,46,0.1);
    --font: 'Century Gothic', 'Trebuchet MS', Futura, 'Gill Sans', sans-serif;
    --radius: 10px;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--bg-soft); }
  ::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }

  /* ─── HEADER ─── */
  header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 70px;
    padding: 0 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s, border-color 0.3s;
  }

  header.scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--red-border);
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
  }

  .logo-mark {
    width: 38px; height: 38px;
    background: var(--red);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }

  .logo-mark svg { width: 22px; height: 22px; fill: none; stroke: white; stroke-width: 2.5; stroke-linecap: round; }

  .logo-text {
    font-family: var(--font);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ink);
    letter-spacing: 0.02em;
  }

  .logo-text em { font-style: normal; color: var(--red); }

  nav { display: flex; align-items: center; gap: 2.5rem; }

  nav a {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--ink-soft);
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
    position: relative;
  }

  nav a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 2px;
    background: var(--red);
    transition: width 0.3s;
    border-radius: 2px;
  }

  nav a:hover { color: var(--ink); }
  nav a:hover::after { width: 100%; }

  .btn-nav {
    background: var(--red) !important;
    color: white !important;
    padding: 0.5rem 1.4rem;
    border-radius: 6px;
    font-weight: 700 !important;
    transition: background 0.2s, transform 0.2s !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.07em !important;
  }

  .btn-nav::after { display: none !important; }
  .btn-nav:hover { background: #A81915 !important; transform: translateY(-1px); }

  .menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none; border: none; padding: 4px;
  }

  .menu-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--ink); border-radius: 2px; transition: all 0.3s;
  }

  /* ─── HERO ─── */
  #hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 70px 5rem 0;
    position: relative;
    overflow: hidden;
    background: var(--bg);
  }

  #hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
      linear-gradient(140deg, rgba(253,241,240,0.9) 0%, transparent 50%),
      radial-gradient(ellipse 65% 75% at 100% 55%, rgba(240,242,248,0.8) 0%, transparent 65%);
    pointer-events: none;
  }

  .hero-lines {
    position: absolute;
    right: 0; top: 0;
    width: 55%; height: 100%;
    overflow: hidden;
    opacity: 0.4;
    pointer-events: none;
  }

  .hero-lines svg { width: 100%; height: 100%; }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
  }

  .chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--red-pale);
    border: 1px solid var(--red-border);
    border-radius: 100px;
    padding: 0.3rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
    animation: fadeUp 0.5s ease both;
  }

  .chip-dot {
    width: 6px; height: 6px;
    background: var(--red); border-radius: 50%;
    animation: blink 2s infinite;
  }

  @keyframes blink {
    0%,100% { opacity:1; transform:scale(1); }
    50% { opacity:0.4; transform:scale(1.5); }
  }

  h1 {
    font-family: var(--font);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 1.5rem;
    animation: fadeUp 0.5s 0.1s ease both;
    letter-spacing: -0.01em;
  }

  h1 strong { color: var(--red); font-weight: 700; }

  .hero-desc {
    font-size: 1.05rem;
    color: var(--ink-soft);
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 2.5rem;
    animation: fadeUp 0.5s 0.2s ease both;
  }

  .hero-ctas {
    display: flex; gap: 1rem; flex-wrap: wrap;
    animation: fadeUp 0.5s 0.3s ease both;
  }


  .btn-primary {
    background: var(--red);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 7px;
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: none; cursor: pointer;
    transition: all 0.25s;
    display: inline-flex; align-items: center; gap: 6px;
  }

  .btn-primary:hover {
    background: #A81915;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(204,34,24,0.3);
  }

  .btn-outline {
    background: transparent;
    color: var(--ink-mid);
    padding: 0.875rem 2rem;
    border-radius: 7px;
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: all 0.25s;
    display: inline-flex; align-items: center; gap: 6px;
  }

  .btn-outline:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-2px);
  }

  .hero-stats {
    display: flex; gap: 2.5rem; flex-wrap: wrap;
    margin-top: 3.5rem; padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    animation: fadeUp 0.5s 0.4s ease both;
  }

  .stat-item { display: flex; flex-direction: column; gap: 3px; }

  .stat-num {
    font-size: 1.9rem; font-weight: 700;
    color: var(--ink); letter-spacing: -0.02em;
  }

  .stat-num span { color: var(--red); }

  .stat-label {
    font-size: 0.7rem; color: var(--ink-muted);
    text-transform: uppercase; letter-spacing: 0.1em;
  }

  /* ─── SECTIONS ─── */
  section { padding: 7rem 5rem; position: relative; }

  .section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--red); margin-bottom: 1rem;
  }

  .section-tag::before {
    content: ''; width: 20px; height: 2px;
    background: var(--red); border-radius: 2px;
  }

  h2 {
    font-family: var(--font);
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
  }

  .section-desc {
    font-size: 1rem;
    color: var(--ink-soft);
    line-height: 1.75;
    max-width: 500px;
  }

  /* ─── SERVICIOS ─── */
  #servicios { background: var(--bg-soft); }

  .services-header {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: end; margin-bottom: 4rem;
  }

  .services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  }

  .service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.3s;
    position: relative; overflow: hidden;
  }

  .service-card::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; right: 0; height: 3px;
    background: var(--red);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s ease;
  }

  .service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--red-border);
  }

  .service-card:hover::after { transform: scaleX(1); }

  .service-icon {
    width: 46px; height: 46px;
    background: var(--red-pale);
    border: 1px solid var(--red-border);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem; font-size: 1.3rem;
    transition: background 0.3s;
  }

  .service-card:hover .service-icon { background: rgba(204,34,24,0.12); }

  .service-card h3 {
    font-size: 0.97rem; font-weight: 700;
    margin-bottom: 0.6rem; color: var(--ink);
  }

  .service-card p {
    font-size: 0.85rem; color: var(--ink-soft); line-height: 1.65;
  }

  /* ─── PRODUCTOS ─── */
  #productos { background: var(--bg); }

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

  .erp-badge {
    display: inline-flex; align-items: center;
    background: var(--red); color: white;
    padding: 0.25rem 0.75rem; border-radius: 4px;
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    margin-bottom: 0.75rem;
  }

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

  .module-card {
    background: var(--bg-soft);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem; transition: all 0.3s;
  }

  .module-card:hover {
    border-color: var(--red); background: var(--bg);
    transform: translateY(-4px); box-shadow: var(--shadow-md);
  }

  .module-num {
    font-size: 0.65rem; font-weight: 700;
    color: var(--red); letter-spacing: 0.15em;
    text-transform: uppercase; margin-bottom: 0.75rem;
  }

  .module-card h3 {
    font-size: 0.9rem; font-weight: 700;
    margin-bottom: 0.5rem; color: var(--ink); line-height: 1.3;
  }

  .module-card p { font-size: 0.79rem; color: var(--ink-soft); line-height: 1.6; }

  .module-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 1rem; }

  .module-tag {
    font-size: 0.62rem; padding: 2px 7px;
    background: var(--bg-mid); border: 1px solid var(--border);
    border-radius: 100px; color: var(--ink-soft); font-weight: 600;
  }

  .integration-banner {
    margin-top: 3rem; padding: 2.25rem 2.5rem;
    background: linear-gradient(135deg, var(--red-pale), #FFF9F9);
    border: 1px solid var(--red-border);
    border-radius: var(--radius);
    display: flex; align-items: center;
    justify-content: space-between; gap: 2rem;
  }

  .integration-banner h3 {
    font-size: 1.15rem; font-weight: 700;
    margin-bottom: 0.3rem; color: var(--ink);
  }

  .integration-banner p { font-size: 0.875rem; color: var(--ink-soft); }

      .modules-group-label {
      font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
      text-transform: uppercase; color: var(--ink-muted);
      margin-bottom: 1rem; margin-top: 2.5rem;
      display: flex; align-items: center; gap: 10px;
    }
    .modules-group-label::after {
      content: ''; flex: 1; height: 1px; background: var(--border);
    }
    .modules-group-label:first-of-type { margin-top: 0; }
    .modules-grid-v { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .modules-grid-a { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
    .module-card {
      background: var(--bg-soft);
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      padding: 1.6rem; transition: all 0.3s;
    }
    .module-card.add {
      background: var(--bg);
      border-style: dashed;
    }
    .module-card:hover {
      border-color: var(--red); background: var(--bg);
      transform: translateY(-4px); box-shadow: var(--shadow-md);
      border-style: solid;
    }
    .module-code {
      font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em;
      text-transform: uppercase; color: var(--red); margin-bottom: 0.6rem;
      background: var(--red-pale); border: 1px solid var(--red-border);
      border-radius: 4px; padding: 2px 6px; display: inline-block;
    }
    .module-card h3 {
      font-size: 0.88rem; font-weight: 700;
      color: var(--ink); line-height: 1.3; margin-bottom: 0.5rem;
    }
    .module-card p { font-size: 0.78rem; color: var(--ink-soft); line-height: 1.6; }
    .module-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 0.85rem; }
    .module-tag {
      font-size: 0.59rem; padding: 2px 7px;
      background: var(--bg-mid); border: 1px solid var(--border);
      border-radius: 100px; color: var(--ink-soft); font-weight: 600;
    }
    @media (max-width: 1100px) {
      .modules-grid-v { grid-template-columns: repeat(2, 1fr); }
      .modules-grid-a { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 768px) {
      .modules-grid-v, .modules-grid-a { grid-template-columns: 1fr; }
    }

  /* ─── CLIENTES ─── */
  #clientes { background: var(--bg-soft); overflow: hidden; }

  .testi-header { text-align: center; max-width: 560px; margin: 0 auto 4rem; }

  .testimonials-track-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
  }

  .testimonials-track {
    display: flex; gap: 1.25rem;
    width: max-content;
    animation: scrollTrack 40s linear infinite;
  }

  .testimonials-track:hover { animation-play-state: paused; }

  @keyframes scrollTrack {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  .testi-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.75rem;
    width: 340px; flex-shrink: 0;
    transition: all 0.3s; box-shadow: var(--shadow-sm);
  }

  .testi-card:hover {
    border-color: var(--red-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }

  .testi-stars { color: var(--red); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 1rem; }

  .testi-text {
    font-size: 0.875rem; color: var(--ink-mid);
    line-height: 1.7; font-style: italic; margin-bottom: 1.5rem;
  }

  .testi-author { display: flex; align-items: center; gap: 10px; }

  .testi-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, var(--red), #FF8080);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.78rem; color: white; flex-shrink: 0;
  }

  .testi-name { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
  .testi-role { font-size: 0.72rem; color: var(--ink-muted); margin-top: 1px; }

  .clients-logos {
    display: flex; align-items: center;
    justify-content: center; gap: 3rem; flex-wrap: wrap;
    margin-top: 5rem; padding-top: 3.5rem;
    border-top: 1px solid var(--border);
  }

  .client-logo {
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--ink-muted); transition: color 0.3s;
  }

  .client-logo:hover { color: var(--red); }

     .clients-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
    .clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
    .client-card {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.6rem 1.4rem;
      display: flex; flex-direction: column; gap: 0.75rem;
      transition: all 0.3s; box-shadow: var(--shadow-sm);
    }
    .client-card:hover {
      border-color: var(--red-border);
      box-shadow: var(--shadow-md);
      transform: translateY(-3px);
    }
    .client-sector {
      font-size: 0.67rem; color: var(--ink-muted);
      letter-spacing: 0.08em; text-transform: uppercase;
    }
    .client-card-name {
      font-size: 0.9rem; font-weight: 700;
      color: var(--ink); line-height: 1.3; flex: 1;
    }
    .client-modules { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; padding-top: 0.5rem; }
    .cmt {
      font-size: 0.58rem; font-weight: 700;
      letter-spacing: 0.04em; text-transform: uppercase;
      padding: 2px 7px; border-radius: 100px;
      background: var(--red-pale); color: var(--red);
      border: 1px solid var(--red-border);
    }
    .cmt.g { background: var(--bg-mid); color: var(--ink-soft); border-color: var(--border); }
    .clients-counter {
      display: flex; justify-content: center; gap: 4rem;
      margin-top: 4rem; padding-top: 3.5rem;
      border-top: 1px solid var(--border); flex-wrap: wrap;
    }
    .clients-counter .stat-item { align-items: center; }

    /* ── Enlace en nombre de cliente ── */
    .client-card-name a {
      color: inherit;           /* hereda el negro bold del padre */
      text-decoration: none;
      transition: color 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 0.3em;
    }
    .client-card-name a::after {
      content: '↗';
      font-size: 0.7em;
      opacity: 0;
      transform: translate(-2px, 2px);
      transition: opacity 0.2s, transform 0.2s;
      color: var(--red);
    }
    .client-card-name a:hover {
      color: var(--red);
    }
    .client-card-name a:hover::after {
      opacity: 1;
      transform: translate(0, 0);
    }
    /* La tarjeta ya tiene su propio hover; al hacer hover sobre el enlace
       evitamos que el subrayado del navegador rompa el diseño */
    .client-card:has(a:hover) {
      border-color: var(--red-border);
      box-shadow: var(--shadow-md);
      transform: translateY(-3px);
    }

    @media (max-width: 1100px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
    @media (max-width: 768px)  { .clients-grid { grid-template-columns: repeat(2, 1fr); } .clients-counter { gap: 2rem; } }
    @media (max-width: 480px)  { .clients-grid { grid-template-columns: 1fr; } }
    

  /* ─── CONTACTO ─── */
  #contacto { background: var(--bg); }

  .contact-layout {
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 6rem; align-items: start;
  }

  .contact-info .section-desc { margin-bottom: 2.5rem; }

  .contact-details { display: flex; flex-direction: column; gap: 1rem; }

  .contact-item {
    display: flex; align-items: center; gap: 1rem;
    font-size: 0.875rem; color: var(--ink-soft);
  }

  .contact-item-icon {
    width: 36px; height: 36px;
    background: var(--red-pale); border: 1px solid var(--red-border);
    border-radius: 7px; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0; font-size: 0.95rem;
  }

  .contact-item a {
    color: var(--red);
    text-decoration: none;
  }

  form { display: flex; flex-direction: column; gap: 1rem; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .form-group { display: flex; flex-direction: column; gap: 6px; }

  label {
    font-size: 0.7rem; font-weight: 700;
    color: var(--ink-mid); letter-spacing: 0.08em; text-transform: uppercase;
  }

  input, select, textarea {
    background: var(--bg-soft);
    border: 1.5px solid var(--border);
    border-radius: 7px; padding: 0.8rem 1rem;
    font-family: var(--font); font-size: 0.875rem; color: var(--ink);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none; width: 100%;
  }

  input::placeholder, textarea::placeholder { color: var(--ink-muted); }

  input:focus, select:focus, textarea:focus {
    border-color: var(--red);
    background: var(--bg);
    box-shadow: 0 0 0 3px rgba(204,34,24,0.08);
  }

  textarea { resize: vertical; min-height: 110px; }

  .form-consent { display: flex; gap: 10px; align-items: flex-start; }

  .form-consent input[type="checkbox"] {
    width: 16px; height: 16px;
    flex-shrink: 0; margin-top: 2px;
    accent-color: var(--red); cursor: pointer;
  }

  .form-consent label {
    font-size: 0.77rem; text-transform: none;
    letter-spacing: 0; color: var(--ink-soft); line-height: 1.5; font-weight: 400;
  }

  .form-consent label a { color: var(--red); text-decoration: none; }

  .btn-submit {
    background: var(--red); color: white;
    padding: 0.9rem 2rem; border-radius: 7px;
    font-family: var(--font); font-size: 0.875rem;
    font-weight: 700; letter-spacing: 0.04em;
    border: none; cursor: pointer;
    transition: all 0.25s; width: 100%;
  }

  .btn-submit:hover {
    background: #A81915; transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(204,34,24,0.3);
  }

  .form-success {
    display: none; text-align: center; padding: 2.5rem;
    background: var(--red-pale); border: 1px solid var(--red-border);
    border-radius: var(--radius);
  }

  .form-success.show { display: block; }

  .form-success h3 {
    font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--ink);
  }

  .form-success p { color: var(--ink-soft); font-size: 0.875rem; }

  /* ─── FOOTER ─── */
  footer { background: var(--ink); padding: 4.5rem 5rem 2rem; }

  .footer-top {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem; margin-bottom: 3rem;
  }

  .footer-brand .logo { margin-bottom: 1rem; }
  .footer-brand .logo-text { color: white; }

  .footer-brand p {
    font-size: 0.82rem; line-height: 1.65;
    color: rgba(255,255,255,0.4); max-width: 280px;
  }

  .footer-col h4 {
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: rgba(255,255,255,0.45); margin-bottom: 1rem;
  }

  .footer-col a {
    display: block; font-size: 0.83rem;
    color: rgba(255,255,255,0.38); text-decoration: none;
    margin-bottom: 0.55rem; transition: color 0.2s;
  }

  .footer-col a:hover { color: var(--red-light); }

  .footer-bottom {
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 1rem;
    padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.07);
  }

  .footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
  .footer-bottom span { color: var(--red-light); }

  /* ─── ANIMATIONS ─── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }

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

  /* ─── RESPONSIVE ─── */
  @media (max-width: 1100px) {
    .modules-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-lines { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 768px) {
    header, section, footer { padding-left: 1.5rem; padding-right: 1.5rem; }
    #hero { padding: 70px 1.5rem 0; }
    nav {
      display: none; flex-direction: column;
      position: fixed; top: 70px; left: 0; right: 0;
      background: var(--bg); padding: 2rem 1.5rem;
      gap: 1.5rem; border-bottom: 1px solid var(--border);
      box-shadow: var(--shadow-md);
    }
    nav.open { display: flex; }
    .menu-toggle { display: flex; }
    .btn-nav { display: none; }
    .services-header { grid-template-columns: 1fr; gap: 1.5rem; }
    .services-grid, .modules-grid, .contact-layout { grid-template-columns: 1fr; gap: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .hero-stats { gap: 1.5rem; }
    .integration-banner { flex-direction: column; }
    .erp-header { flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; text-align: center; }
  }