:root {
      --accent: #E61A21;
      --accent-dark: #c01018;
      --accent2: #253069;
      --bg: #f4f6fb;
      --bg-card: #ffffff;
      --bg-card2: #eef1f8;
      --bg-alt: #e8ecf5;
      --border: #d0d8ee;
      --text-main: #1a1f36;
      --text-muted: #5a6484;
    }

    * {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', sans-serif;
      background-color: var(--bg);
      color: var(--text-main);
      overflow-x: hidden;
    }

    /* ─── NAVBAR ─── */
    .navbar {
      background: rgba(255, 255, 255, 0.97);
      backdrop-filter: blur(10px);
      border-bottom: 2px solid var(--accent);
      padding: 0.75rem 0;
      transition: box-shadow 0.3s;
    }

    .navbar.scrolled {
      box-shadow: 0 2px 20px rgba(230, 26, 33, 0.1);
    }

    .navbar-brand {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--accent2) !important;
      letter-spacing: 0.03em;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .logo-placeholder {
      width: 42px;
      height: 42px;
      border-radius: 6px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .logo-placeholder img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .nav-link {
      color: var(--text-muted) !important;
      font-weight: 500;
      font-size: 0.875rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      padding: 0.5rem 1rem !important;
      transition: color 0.2s;
    }

    .nav-link:hover,
    .nav-link.active {
      color: var(--accent) !important;
    }

    .navbar-toggler {
      border-color: var(--border);
    }

    /* ─── HERO ─── */
    #inicio {
     min-height: 100vh;
     background:
         linear-gradient(135deg, rgba(10, 12, 20, 0.95) 0%, rgba(37, 48, 105, 0.45) 60%, rgba(230, 26, 33, 0.1) 100%),
        url('../assets/img/heroImage.png') 
         /*url('https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=1800&q=80') */
         right center / 77% auto no-repeat;
     display: flex;
     align-items: center;
     position: relative;
     overflow: hidden;
 }

    #inicio::after {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 55% 60% at 85% 50%, rgba(230, 26, 33, 0.12) 0%, transparent 65%);
      pointer-events: none;
    }

    .hero-eyebrow {
      display: inline-block;
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.3);
      color: rgba(255, 255, 255, 0.9);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      padding: 0.35rem 1rem;
      border-radius: 100px;
      margin-bottom: 1.5rem;
    }

    .hero-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(2.8rem, 7vw, 5.5rem);
      font-weight: 700;
      line-height: 1.05;
      color: #fff;
      margin-bottom: 1.5rem;
    }

    .hero-title span {
      color: var(--accent);
    }

    .hero-sub {
      font-size: 1.1rem;
      color: rgba(255, 255, 255, 0.75);
      max-width: 540px;
      line-height: 1.7;
      margin-bottom: 2.5rem;
    }

    .btn-accent {
      background: var(--accent);
      color: #fff;
      font-weight: 700;
      border: none;
      padding: 0.8rem 2rem;
      border-radius: 8px;
      font-size: 0.95rem;
      transition: background 0.2s, transform 0.15s;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }

    .btn-accent:hover {
      background: var(--accent-dark);
      color: #fff;
      transform: translateY(-1px);
    }

    .btn-outline-accent {
      border: 1.5px solid rgba(255, 255, 255, 0.5);
      color: #fff;
      font-weight: 600;
      padding: 0.8rem 2rem;
      border-radius: 8px;
      font-size: 0.95rem;
      background: rgba(255, 255, 255, 0.1);
      transition: all 0.2s;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }

    .btn-outline-accent:hover {
      background: rgba(255, 255, 255, 0.2);
      color: #fff;
    }

    .hero-stats {
      display: flex;
      gap: 2.5rem;
      margin-top: 3.5rem;
      flex-wrap: wrap;
    }

    .hero-stat {
      text-align: left;
    }

    .hero-stat .num {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 2rem;
      font-weight: 700;
      color: var(--accent);
    }

    .hero-stat .label {
      font-size: 0.78rem;
      color: rgba(255, 255, 255, 0.6);
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    /* ─── SECTION COMMON ─── */
    section {
      padding: 6rem 0;
    }

    .section-eyebrow {
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 0.75rem;
    }

    .section-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 700;
      color: var(--accent2);
      line-height: 1.1;
      margin-bottom: 1rem;
    }

    .section-lead {
      color: var(--text-muted);
      font-size: 1.05rem;
      line-height: 1.7;
      max-width: 640px;
    }

    .divider-accent {
      width: 48px;
      height: 3px;
      background: linear-gradient(90deg, var(--accent), var(--accent2));
      border-radius: 2px;
      margin-bottom: 2rem;
    }

    /* ─── QUIÉNES SOMOS ─── */
    #quienes {
      background: var(--bg-card);
      border-top: 3px solid var(--accent2);
    }

    .feature-card {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 1.75rem;
      height: 100%;
      transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    }

    .feature-card:hover {
      border-color: var(--accent);
      transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(230, 26, 33, 0.08);
    }

    .feature-icon {
      width: 48px;
      height: 48px;
      background: rgba(37, 48, 105, 0.08);
      border: 1px solid rgba(37, 48, 105, 0.2);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      color: var(--accent2);
      margin-bottom: 1rem;
    }

    .feature-card h5 {
      color: var(--text-main);
      font-weight: 600;
      font-size: 1rem;
      margin-bottom: 0.5rem;
    }

    .feature-card p {
      color: var(--text-muted);
      font-size: 0.9rem;
      line-height: 1.65;
      margin: 0;
    }

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

    .cat-tabs {
      border-bottom: 2px solid var(--border);
      margin-bottom: 2.5rem;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .cat-tab {
      background: #fff;
      border: 1px solid var(--border);
      color: var(--text-muted);
      font-size: 0.8rem;
      font-weight: 600;
      padding: 0.5rem 1.1rem;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.2s;
      white-space: nowrap;
    }

    .cat-tab:hover {
      border-color: var(--accent);
      color: var(--accent);
    }

    .cat-tab.active {
      background: var(--accent);
      border-color: var(--accent);
      color: #fff;
    }

    .prod-panel {
      display: none;
    }

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

    .prod-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 1.75rem;
      height: 100%;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .prod-card:hover {
      border-color: var(--accent);
      box-shadow: 0 8px 32px rgba(230, 26, 33, 0.07);
    }

    .prod-badge {
      display: inline-block;
      background: rgba(37, 48, 105, 0.08);
      color: var(--accent2);
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.25rem 0.7rem;
      border-radius: 4px;
      margin-bottom: 0.75rem;
      border: 1px solid rgba(37, 48, 105, 0.2);
    }

    .prod-card h5 {
      color: var(--text-main);
      font-weight: 700;
      font-size: 1.05rem;
      margin-bottom: 0.6rem;
    }

    .prod-card .model {
      color: var(--accent);
      font-size: 0.82rem;
      font-weight: 600;
      font-family: monospace;
      margin-bottom: 0.75rem;
    }

    .prod-card p {
      color: var(--text-muted);
      font-size: 0.875rem;
      line-height: 1.65;
      margin-bottom: 0.75rem;
    }

    .prod-card ul {
      color: var(--text-muted);
      font-size: 0.85rem;
      padding-left: 1.2rem;
      line-height: 1.8;
      margin: 0;
    }

    .prod-card ul li::marker {
      color: var(--accent);
    }

    .img-placeholder {
      background: var(--bg-alt);
      border: 1px dashed var(--border);
      border-radius: 8px;
      height: 180px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 0.5rem;
      color: var(--text-muted);
      font-size: 0.8rem;
      margin-bottom: 1rem;
    }

    .img-placeholder i {
      font-size: 2rem;
      opacity: 0.35;
    }

    /* ─── CONTACTO ─── */
    #contacto {
      background: var(--bg-card);
      border-top: 3px solid var(--accent2);
    }

    .contact-card {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 2rem;
    }

    .contact-item {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      margin-bottom: 1.5rem;
    }

    .contact-item:last-child {
      margin-bottom: 0;
    }

    .contact-icon {
      width: 44px;
      height: 44px;
      min-width: 44px;
      background: rgba(37, 48, 105, 0.08);
      border: 1px solid rgba(37, 48, 105, 0.2);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      color: var(--accent2);
    }

    .contact-item .label {
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      margin-bottom: 0.2rem;
    }

    .contact-item .value {
      color: var(--text-main);
      font-weight: 500;
      font-size: 0.95rem;
    }

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

    .contact-item a:hover {
      color: var(--accent);
    }

    .btn-whatsapp {
      background: #25D366;
      color: #fff;
      font-weight: 700;
      border: none;
      padding: 1rem 2rem;
      border-radius: 10px;
      font-size: 1rem;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      text-decoration: none;
      transition: background 0.2s, transform 0.15s;
      margin-top: 1.5rem;
    }

    .btn-whatsapp:hover {
      background: #1ebe5d;
      color: #fff;
      transform: translateY(-2px);
    }

    .map-placeholder {
      background: var(--bg-alt);
      border: 1px solid var(--border);
      border-radius: 14px;
      height: 340px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      gap: 0.75rem;
    }

    .map-placeholder i {
      font-size: 3rem;
      color: var(--accent2);
      opacity: 0.35;
    }

    /* ─── FOOTER ─── */
    footer {
      background: var(--accent2);
      border-top: 3px solid var(--accent);
      padding: 2.5rem 0 1.5rem;
    }

    .footer-brand {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.2rem;
      font-weight: 700;
      color: #fff;
    }

    .footer-text {
      color: rgba(255, 255, 255, 0.6);
      font-size: 0.85rem;
      margin-top: 0.4rem;
    }

    .footer-links a {
      color: rgba(255, 255, 255, 0.6);
      font-size: 0.85rem;
      text-decoration: none;
      display: block;
      margin-bottom: 0.4rem;
    }

    .footer-links a:hover {
      color: #fff;
    }

    .footer-copy {
      color: rgba(255, 255, 255, 0.35);
      font-size: 0.8rem;
      margin-top: 2rem;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    /* ─── UTILITIES ─── */
    .text-accent {
      color: var(--accent) !important;
    }

    .scroll-top {
      position: fixed;
      bottom: 1.5rem;
      right: 1.5rem;
      z-index: 999;
      width: 44px;
      height: 44px;
      background: var(--accent);
      color: #fff;
      border-radius: 50%;
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s, transform 0.2s;
      cursor: pointer;
    }

    .scroll-top.visible {
      opacity: 1;
      pointer-events: all;
    }

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

    @media (max-width: 768px) {
      section {
        padding: 4rem 0;
      }

      .hero-stats {
        gap: 1.5rem;
      }
    }