:root {
      --blue: #4A8FE2;
      --blue-dark: #2e6ec7;
      --blue-light: #d6e8fb;
      --gray: #8C8C8C;
      --gray-dark: #3a3a3a;
      --gray-mid: #5a5a5a;
      --off-white: #f5f7fa;
      --white: #ffffff;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; scroll-padding-top: 72px; }
    body {
      font-family: 'Barlow', sans-serif;
      background: var(--white);
      color: var(--gray-dark);
      overflow-x: hidden;
    }

    /* NAV */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 60px; height: 72px;
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid rgba(74,143,226,0.12);
    }
    .nav-logo {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 28px; font-weight: 800; letter-spacing: -0.5px; text-decoration: none;
    }
    .nav-logo span.nova { color: var(--blue); }
    .nav-logo span.plast { color: var(--gray); }
    .nav-links { display: flex; gap: 36px; list-style: none; }
    .nav-links a {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 15px; font-weight: 600; letter-spacing: 0.8px;
      text-transform: uppercase; color: var(--gray-mid); text-decoration: none; transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--blue); }
    .nav-cta { background: var(--blue); color: #fff !important; padding: 9px 22px; border-radius: 4px; transition: background 0.2s !important; }
    .nav-cta:hover { background: var(--blue-dark) !important; }

    /* HERO */
    .hero {
      min-height: auto; display: flex; flex-direction: column; justify-content: flex-start;
      padding: 120px 60px 80px; position: relative; overflow: hidden;
      background: linear-gradient(135deg, #f0f6ff 0%, #ffffff 55%, #f5f7fa 100%);
    }
    .hero::before {
      content: ''; position: absolute; top: -120px; right: -120px;
      width: 600px; height: 600px; border-radius: 50%;
      background: radial-gradient(circle, rgba(74,143,226,0.12) 0%, transparent 70%);
    }
    .hero::after {
      content: ''; position: absolute; bottom: -80px; left: 30%;
      width: 400px; height: 400px; border-radius: 50%;
      background: radial-gradient(circle, rgba(74,143,226,0.07) 0%, transparent 70%);
    }
    .hero-tag {
      display: inline-block; font-family: 'Barlow Condensed', sans-serif;
      font-size: 13px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
      color: var(--blue); border: 1.5px solid var(--blue); padding: 5px 14px;
      border-radius: 2px; margin-bottom: 18px; opacity: 0; animation: fadeUp 0.6s 0.2s forwards;
    }
    .hero h1 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(40px, 6vw, 80px); font-weight: 800; line-height: 1;
      letter-spacing: -1px; color: var(--gray-dark); max-width: 780px;
      opacity: 0; animation: fadeUp 0.7s 0.35s forwards;
    }
    .hero h1 em { font-style: normal; color: var(--blue); }
    .hero p.lead {
      margin-top: 16px; font-size: 17px; font-weight: 300; color: var(--gray);
      max-width: 520px; line-height: 1.6; opacity: 0; animation: fadeUp 0.7s 0.5s forwards;
    }
    .hero-btns { margin-top: 28px; display: flex; gap: 16px; opacity: 0; animation: fadeUp 0.7s 0.65s forwards; }
    .btn-primary {
      background: var(--blue); color: #fff; font-family: 'Barlow Condensed', sans-serif;
      font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
      padding: 14px 32px; border-radius: 4px; text-decoration: none; transition: background 0.2s, transform 0.15s;
    }
    .btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
    .btn-outline {
      border: 2px solid var(--gray); color: var(--gray-mid); font-family: 'Barlow Condensed', sans-serif;
      font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
      padding: 12px 32px; border-radius: 4px; text-decoration: none; transition: border-color 0.2s, color 0.2s, transform 0.15s;
    }
    .btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
    .hero-stats {
      display: flex; gap: 40px; margin-top: 48px;
      opacity: 0; animation: fadeUp 0.7s 0.8s forwards;
    }
    .stat-item { text-align: left; }
    .stat-num { font-family: 'Barlow Condensed', sans-serif; font-size: 42px; font-weight: 800; color: var(--blue); line-height: 1; }
    .stat-label { font-size: 13px; color: var(--gray); margin-top: 4px; letter-spacing: 0.5px; }

    /* SECTIONS SHARED */
    section { padding: 100px 60px; }
    .section-label {
      font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700;
      letter-spacing: 3px; text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
    }
    .section-title {
      font-family: 'Barlow Condensed', sans-serif; font-size: clamp(32px, 4vw, 52px);
      font-weight: 800; line-height: 1; color: var(--gray-dark); letter-spacing: -0.5px;
    }
    .section-title em { font-style: normal; color: var(--blue); }

    /* HISTORIA */
    #historia { background: var(--white); }
    .historia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 0; }
    .historia-text p { font-size: 16px; line-height: 1.8; color: var(--gray-mid); font-weight: 300; margin-top: 20px; }
    .historia-text p:first-child { margin-top: 0; }

    /* PRODUCTO IMG */
    .producto-img { width: 100%; height: 200px; object-fit: cover; border-radius: 4px; margin-bottom: 16px; display: block; }

    /* FOCUS ACCESSIBILITY */
    :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
    .mv-btn:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 2px; }
    .contact-form input:focus-visible,
    .contact-form textarea:focus-visible { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(74,143,226,0.15); }

    /* NOSOTROS */
    #nosotros { background: var(--gray-dark); color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; padding-bottom: 60px; }
    #nosotros .section-label { color: var(--blue-light); }
    #nosotros .section-title { color: #fff; }
    #nosotros p { margin-top: 24px; font-size: 16px; line-height: 1.8; color: #bbb; font-weight: 300; }
    .values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
    .value-card { background: rgba(255,255,255,0.05); padding: 32px 28px; border-top: 2px solid var(--blue); transition: background 0.2s; }
    .value-card:hover { background: rgba(74,143,226,0.1); }
    .value-bar { width: 28px; height: 3px; background: var(--blue); border-radius: 2px; margin-bottom: 14px; }
    .value-card h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: 0.5px; color: #fff; margin-bottom: 8px; }
    .value-card p { font-size: 14px; color: #999; margin: 0; line-height: 1.6; }

    .mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
    .mv-card { background: rgba(255,255,255,0.07); border-left: 3px solid var(--blue); border-radius: 2px; overflow: hidden; }
    .mv-btn { width: 100%; background: none; border: none; cursor: pointer; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-light); }
    .mv-icon { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s; flex-shrink: 0; }
    .mv-btn.open .mv-icon { transform: rotate(180deg); }
    .mv-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 24px; }
    .mv-content.open { max-height: 300px; padding: 4px 24px 18px; }
    .mv-content p { font-size: 14px; color: #bbb; line-height: 1.7; margin: 0; font-weight: 300; }

    /* RUBROS */
    #rubros { background: var(--off-white); }
    .rubros-header { margin-bottom: 48px; }
    .rubros-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 2px; }
    .rubro-card { background: #fff; padding: 36px 24px; position: relative; overflow: hidden; cursor: default; transition: transform 0.2s; }
    .rubro-card:hover { transform: translateY(-4px); }
    .rubro-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transition: transform 0.25s; transform-origin: left; }
    .rubro-card:hover::before { transform: scaleX(1); }
    .rubro-bar { width: 32px; height: 4px; background: var(--blue); border-radius: 2px; margin-bottom: 18px; }
    .rubro-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; color: var(--gray-dark); }

    /* PRODUCTOS */
    #productos { background: #fff; }
    .productos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 60px; }
    .producto-card { background: var(--off-white); padding: 44px 36px; position: relative; transition: background 0.2s; }
    .producto-card:hover { background: var(--blue-light); }
    .producto-num { font-family: 'Barlow Condensed', sans-serif; font-size: 64px; font-weight: 800; color: rgba(74,143,226,0.12); line-height: 1; margin-bottom: 12px; }
    .producto-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 700; color: var(--gray-dark); margin-bottom: 12px; }
    .producto-card p { font-size: 14px; color: var(--gray); line-height: 1.7; }

   /* PROVEEDORES */
#proveedores {
  background: var(--off-white);
}

.proveedores-intro {
  max-width: 560px;
  margin-bottom: 64px;
}

.proveedores-intro p {
  margin-top: 20px;
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  font-weight: 300;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--off-white), transparent);
}

.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--off-white), transparent);
}

.carousel-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 12px 0;
  animation: scroll-left 28s linear infinite;
}

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

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.proveedor-card {
  width: 220px;
  height: 110px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
}

.proveedor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(74,143,226,0.16);
}

.proveedor-logo {
  max-width: 100%;
  max-height: 62px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.proveedor-line {
  width: 36px;
  height: 3px;
  background: var(--blue-light);
  border-radius: 2px;
}

.proveedor-placeholder {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.5px;
  text-align: center;
}

    /* CONTACTO */
    #contacto { background: var(--gray-dark); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
    #contacto .section-label { color: var(--blue-light); }
    #contacto .section-title { color: #fff; }
    #contacto p { margin-top: 20px; font-size: 16px; color: #aaa; line-height: 1.8; font-weight: 300; }
    .contact-info { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
    .contact-row { display: flex; align-items: flex-start; gap: 16px; }
    .contact-icon { width: 40px; height: 40px; background: rgba(74,143,226,0.15); border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .contact-icon svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .contact-row span, .contact-row span a { font-size: 15px; color: #ccc; line-height: 1.5; padding-top: 10px; text-decoration: none; }
    .contact-form { display: flex; flex-direction: column; gap: 16px; }
    .contact-form input, .contact-form textarea { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 14px 18px; font-family: 'Barlow', sans-serif; font-size: 15px; color: #fff; outline: none; transition: border-color 0.2s; resize: none; }
    .contact-form input::placeholder, .contact-form textarea::placeholder { color: #666; }
    .contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); }
    .contact-form button { background: var(--blue); color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 16px; border: none; border-radius: 4px; cursor: pointer; transition: background 0.2s; }
    .contact-form button:hover { background: var(--blue-dark); }

    /* FOOTER */
    footer { background: #222; padding: 32px 60px; display: flex; align-items: center; justify-content: space-between; }
    .footer-logo { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 800; text-decoration: none; }
    .footer-logo span.nova { color: var(--blue); }
    .footer-logo span.plast { color: var(--gray); }
    footer p { font-size: 13px; color: #555; }

    /* DIVIDER */
    .blue-line { height: 4px; background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%); }

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

    /* RESPONSIVE */
    /* Tablet (iPad) */
    @media (max-width: 1024px) {
      nav { padding: 0 32px; }
      section { padding: 80px 40px; }
      .hero { padding: 110px 40px 80px; }
      .hero h1 { font-size: clamp(42px, 6vw, 72px); }
      #nosotros { gap: 48px; }
      .stat-num { font-size: 32px; }
      .productos-grid { grid-template-columns: repeat(2, 1fr); }
      #contacto { gap: 48px; }
      #contacto > * { min-width: 0; }
      .mv-grid { grid-template-columns: 1fr; }
    }

    /* Mobile */
    @media (max-width: 700px) {
      nav { padding: 0 20px; }
      .nav-links { display: none; }
      section { padding: 60px 20px; }
      .hero { padding: 90px 20px 60px; min-height: auto; }
      .hero h1 { font-size: clamp(36px, 9vw, 56px); letter-spacing: -1px; }
      .hero p.lead { font-size: 16px; }
      .hero-btns { flex-direction: column; align-items: flex-start; gap: 12px; }
      .btn-primary, .btn-outline { width: 100%; text-align: center; padding: 14px 24px; }
      .hero-stats { position: static; margin-top: 40px; justify-content: flex-start; flex-wrap: wrap; gap: 24px; }
      .stat-item { text-align: left; }
      .stat-num { font-size: 28px; }
      #nosotros { grid-template-columns: 1fr; gap: 40px; }
      .values-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
      .mv-grid { grid-template-columns: 1fr; gap: 12px; }
      .rubros-grid { grid-template-columns: repeat(2, 1fr); }
      .productos-grid { grid-template-columns: 1fr; }
      #contacto { grid-template-columns: 1fr; gap: 40px; }
      #contacto > *, #nosotros > * { min-width: 0; }
      .historia-grid { grid-template-columns: 1fr; gap: 32px; }
      footer { flex-direction: column; gap: 12px; text-align: center; padding: 28px 20px; }
    }
    /* WHATSAPP */
    .whatsapp-btn { position: fixed; bottom: 28px; right: 28px; z-index: 200; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.18); transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; }
    .whatsapp-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.22); }
    .whatsapp-btn svg { width: 30px; height: 30px; fill: #fff; }
/* PRODUCCIÓN VISUAL */
@media (max-width: 700px) {
  #produccion > div { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  #produccion > div { grid-template-columns: 1fr; }
}