:root {
        --ink: #12332c;
        --accent: #ed942d;
        --white: #fff;
      }

      * { box-sizing: border-box; }

      html { scroll-behavior: smooth; }

      body {
        margin: 0;
        min-width: 320px;
        font-family: "Manrope", sans-serif;
        color: #111111;
      }

      body.menu-open { overflow: hidden; }
      body.product-detail-open { overflow: hidden; }

      .site-header {
        position: fixed;
        z-index: 10;
        top: 0;
        left: 0;
        width: 100%;
        padding: 24px clamp(22px, 5vw, 82px);
        background: transparent;
        transition: background-color .35s ease, box-shadow .35s ease, padding .35s ease;
      }

      .navigation {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: clamp(24px, 4vw, 66px);
        max-width: 1440px;
        margin: 0 auto;
      }

      .brand {
        display: block;
        flex: 0 0 auto;
        width: clamp(330px, 34vw, 500px);
        transition: width .35s ease;
      }

      .brand img {
        display: block;
        width: 100%;
        height: auto;
      }

      .menu {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: clamp(18px, 2.2vw, 38px);
        margin-left: auto;
      }

      .menu-toggle {
        display: none;
        width: 46px;
        height: 46px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #111111;
        cursor: pointer;
      }

      .menu-toggle span,
      .menu-toggle::before,
      .menu-toggle::after {
        position: absolute;
        left: 9px;
        display: block;
        width: 28px;
        height: 2px;
        margin: 0;
        border-radius: 999px;
        background: currentColor;
        content: "";
        transition: transform .25s ease, opacity .2s ease;
      }

      .menu-toggle span { top: 22px; }
      .menu-toggle::before { top: 14px; }
      .menu-toggle::after { top: 30px; }

      .menu a {
        color: #000000;
        font-size: 18px;
        font-weight: 800;
        letter-spacing: .11em;
        text-decoration: none;
        transition: color .2s ease;
      }

      .menu a:hover { color: #a90713; }

      .contact-button,
      .quote-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border: 0;
        border-radius: 999px;
        background: var(--accent);
        color: #142c27;
        font: inherit;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .06em;
        text-decoration: none;
        white-space: nowrap;
        box-shadow: 0 10px 28px rgba(86, 43, 6, .22);
        transition: transform .2s ease, background-color .2s ease;
      }

      .contact-button {
        padding: 14px 19px;
      }

      .contact-button img,
      .quote-button img {
        width: 18px;
        height: 18px;
        object-fit: contain;
      }

      .contact-button:hover,
      .quote-button:hover {
        background: #f7a746;
        transform: translateY(-2px);
      }

      .hero {
        position: relative;
        display: flex;
        align-items: center;
        min-height: 85svh;
        overflow: hidden;
        isolation: isolate;
        background: var(--ink) url("../images/material-empaque-soluciones-embalaje.webp") center / cover no-repeat;
      }

      .hero::before {
        position: absolute;
        z-index: -1;
        inset: 0;
        content: "";
        background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .72) 35%, rgba(255, 255, 255, .12) 68%, rgba(255, 255, 255, .2) 100%);
      }

      .hero-content {
        width: min(100% - 44px, 1280px);
        margin: 0 auto;
        padding-top: 112px;
      }

      .hero h1 {
        max-width: 720px;
        margin: 0;
        color: #111111;
        font-size: clamp(42px, 6vw, 91px);
        font-weight: 800;
        line-height: 1.15;
        letter-spacing: -.04em;
        word-spacing: .12em;
      }

      .hero h1 .accent-text { color: #a90713; }

      .hero p {
        margin: 22px 0 33px;
        color: #111111;
        font-size: clamp(17px, 1.5vw, 22px);
        font-weight: 500;
        letter-spacing: -.025em;
      }

      .quote-button { padding: 17px 25px; }

      .products {
        padding: clamp(72px, 9vw, 130px) clamp(22px, 5vw, 82px);
        background: #ffffff;
        color: #111111;
      }

      .products-inner {
        max-width: 1280px;
        margin: 0 auto;
      }

      .products h2 {
        margin: 0 0 clamp(34px, 4vw, 56px);
        font-size: clamp(34px, 4.5vw, 62px);
        font-weight: 800;
        line-height: 1.16;
        letter-spacing: -.04em;
        word-spacing: .16em;
      }

      .products h2 span { color: #a90713; }

      .product-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(25px, 3vw, 43px) clamp(18px, 2.5vw, 35px);
      }

      .product-card { min-width: 0; cursor: pointer; }
      .product-card:focus-visible { outline: 3px solid #a90713; outline-offset: 5px; }

      .product-photo {
        position: relative;
        aspect-ratio: 2 / 3;
        overflow: hidden;
        background: #e9e7e3;
      }

      .product-photo::after {
        position: absolute;
        inset: 42% 0 0;
        content: "";
        background: linear-gradient(transparent, rgba(0, 0, 0, .72));
      }

      .product-photo img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .45s ease;
      }

      .product-card:hover .product-photo img { transform: scale(1.045); }

      .product-name {
        position: absolute;
        z-index: 1;
        right: 20px;
        bottom: 20px;
        left: 20px;
        margin: 0;
        color: #fff;
        font-size: clamp(20px, 2vw, 27px);
        font-weight: 800;
        line-height: 1.22;
        letter-spacing: -.045em;
        text-align: center;
      }

      .product-card p {
        margin: 15px 4px 0;
        color: #414141;
        font-size: 22px;
        line-height: 1.55;
      }

      .product-modal[hidden] { display: none; }
      .product-modal {
        position: fixed;
        z-index: 30;
        inset: 0;
        display: grid;
        place-items: center;
        padding: 28px;
        background: rgba(16, 16, 16, .72);
      }

      .product-modal-panel {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
        width: min(1080px, 100%);
        max-height: min(760px, calc(100dvh - 56px));
        overflow: auto;
        background: #fff;
        box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
      }

      .product-modal-image { min-height: 530px; background: #e9e7e3; }
      .product-modal-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
      .product-modal-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 5vw, 76px); }
      .product-modal-content h2 { margin: 0 38px 22px 0; color: #111; font-size: clamp(35px, 4vw, 57px); line-height: 1.18; letter-spacing: -.04em; word-spacing: .12em; }
      .product-modal-content p { margin: 0 0 35px; color: #505050; font-size: 17px; line-height: 1.72; }
      .product-quote-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; padding: 16px 22px; border-radius: 999px; background: #1a9a51; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-decoration: none; transition: transform .2s ease, background-color .2s ease; }
      .product-quote-button:hover { background: #128242; transform: translateY(-2px); }
      .product-quote-button img { width: 19px; height: 19px; object-fit: contain; }
      .product-modal-close { position: absolute; z-index: 1; top: 17px; right: 17px; display: grid; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; place-items: center; background: #171717; color: #fff; font-size: 27px; line-height: 1; cursor: pointer; }

      @media (max-width: 760px) {
        .product-modal { padding: 14px; }
        .product-modal-panel { grid-template-columns: 1fr; max-height: calc(100dvh - 28px); }
        .product-modal-image { min-height: 300px; max-height: 42dvh; }
        .product-modal-content { padding: 34px 26px 38px; }
        .product-modal-content p { font-size: 16px; }
        .product-quote-button { width: 100%; }
      }

      .contact-cta {
        padding: clamp(52px, 6vw, 82px) 22px;
        background: #2e2e2e;
        color: #ffffff;
        text-align: center;
      }

      .contact-cta-content {
        width: min(100%, 1120px);
        margin: 0 auto;
      }

      .contact-cta h2 {
        margin: 0;
        font-size: clamp(16px, 4.8vw, 62px);
        font-weight: 800;
        line-height: 1.02;
        letter-spacing: -.06em;
        white-space: nowrap;
      }

      .contact-cta h2 span { color: #a90713; }

      .contact-cta p {
        margin: 22px auto 34px;
        max-width: 640px;
        color: #e4e4e4;
        font-size: clamp(17px, 1.7vw, 22px);
        line-height: 1.6;
      }

      .cta-actions {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
      }

      .cta-actions a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-width: 180px;
        padding: 16px 23px;
        border-radius: 999px;
        color: #ffffff;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: .07em;
        text-decoration: none;
        transition: transform .2s ease, background-color .2s ease;
      }

      .call-button { background: #a90713; }
      .whatsapp-button { background: #1a9a51; }
      .cta-actions a:hover { transform: translateY(-3px); }
      .cta-actions img { width: 20px; height: 20px; object-fit: contain; }

      .site-footer {
        padding: 38px 22px;
        background: #181818;
        color: #ffffff;
        text-align: center;
      }

      .footer-contact {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 30px;
        margin-bottom: 24px;
      }

      .footer-contact a {
        color: #ffffff;
        font-size: clamp(21px, 2.3vw, 30px);
        font-weight: 600;
        text-decoration: none;
      }

      .footer-contact a:hover { color: #ed942d; }

      .site-footer p {
        margin: 0;
        color: #969696;
        font-size: 12px;
        letter-spacing: .06em;
      }

      .floating-contact {
        position: fixed;
        z-index: 9;
        right: 24px;
        bottom: 24px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 15px 18px;
        border-radius: 999px;
        background: #1a9a51;
        box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
        color: #ffffff;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .05em;
        text-decoration: none;
        transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
      }

      .floating-contact img { width: 23px; height: 23px; object-fit: contain; }

      .site-header.is-scrolled {
        padding-top: 11px;
        padding-bottom: 11px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 7px 22px rgba(0, 0, 0, .16);
      }

      .site-header.is-scrolled .brand { width: 215px; }

      .site-header.is-scrolled .menu a {
        color: #111111;
        font-size: 14px;
      }

      @media (max-width: 900px) {
        .site-header { padding-top: 16px; padding-bottom: 16px; }
        .navigation { gap: 20px; }
        .brand { width: 280px; }
        .menu { gap: 16px; }
        .menu a { font-size: 14px; }
        .contact-button { padding: 12px 14px; font-size: 10px; }
        .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      }

      @media (max-width: 660px) {
        .site-header { padding: 14px 20px; }
        .navigation { justify-content: space-between; gap: 0; }
        .brand { width: min(72vw, 280px); }
        .menu-toggle { position: relative; z-index: 2; display: grid; place-items: center; }
        .menu {
          position: fixed;
          z-index: 1;
          inset: 0;
          display: flex;
          flex-direction: column;
          justify-content: center;
          gap: 28px;
          width: 100vw;
          height: 100dvh;
          margin: 0;
          background: #202020;
          opacity: 0;
          pointer-events: none;
          transform: translateY(-10px);
          transition: opacity .25s ease, transform .25s ease;
          visibility: hidden;
        }
        .menu a,
        .site-header.is-scrolled .menu a { color: #ffffff; font-size: clamp(25px, 8vw, 37px); letter-spacing: .06em; }
        .contact-button { display: none; }
        .site-header.menu-open .menu { opacity: 1; pointer-events: auto; transform: none; visibility: visible; }
        .site-header.menu-open .menu-toggle { color: #ffffff; }
        .site-header.menu-open .menu-toggle span { opacity: 0; }
        .site-header.menu-open .menu-toggle::before { top: 22px; transform: rotate(45deg); }
        .site-header.menu-open .menu-toggle::after { top: 22px; transform: rotate(-45deg); }
        .site-header.is-scrolled .brand { width: 160px; }
        .hero { background-position: 61% center; }
        .hero::before { background: linear-gradient(90deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .48)); }
        .hero-content { padding-top: 136px; }
        .product-grid { grid-template-columns: 1fr; }
        .product-photo { aspect-ratio: 1.35 / 1; }
        .cta-actions a { width: 100%; }
        .floating-contact {
          position: fixed;
          z-index: 9;
          right: 18px;
          bottom: calc(18px + env(safe-area-inset-bottom));
          display: inline-flex;
          align-items: center;
          gap: 10px;
          padding: 15px 18px;
          border-radius: 999px;
          background: #1a9a51;
          box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
          color: #ffffff;
          font-size: 12px;
          font-weight: 800;
          letter-spacing: .05em;
          text-decoration: none;
          transition: transform .2s ease, opacity .2s ease;
        }
        .floating-contact:hover { background: #128242; transform: translateY(-3px); }
        .floating-contact img { width: 23px; height: 23px; object-fit: contain; }
        body.menu-open .floating-contact { opacity: 0; pointer-events: none; }
      }

:root { --red: #a90713; --ink: #171717; --muted: #5a5a5a; }
      * { box-sizing: border-box; }
      html { scroll-behavior: smooth; }
      body { margin: 0; color: var(--ink); font-family: "Manrope", sans-serif; }
      main { padding-top: 0; }

      .site-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
        padding: 18px clamp(22px, 5vw, 82px);
        border-bottom: 1px solid #e8e8e8;
        background: rgba(255, 255, 255, .97);
      }

      .brand { display: block; width: clamp(185px, 20vw, 265px); }
      .brand img { display: block; width: 100%; height: auto; }
      .menu { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
      .menu a { color: #111; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-decoration: none; }
      .menu a:hover, .menu a[aria-current="page"] { color: var(--red); }

      .intro {
        position: relative;
        display: grid;
        min-height: 85svh;
        padding: clamp(180px, 20vw, 280px) clamp(22px, 5vw, 82px) clamp(52px, 8vw, 120px);
        place-items: center;
        isolation: isolate;
        text-align: center;
        background: #e8e4df url("../images/nosotros/soluciones-empaque-almacen.webp") center / cover no-repeat;
      }

      .intro::before {
        position: absolute;
        z-index: -1;
        inset: 0;
        content: "";
        background: linear-gradient(90deg, rgba(255, 255, 255, .93) 0%, rgba(255, 255, 255, .74) 42%, rgba(255, 255, 255, .21) 73%, rgba(255, 255, 255, .16) 100%);
      }

      .intro > div { position: relative; }

      .eyebrow { margin: 0 0 14px; color: var(--red); font-size: 13px; font-weight: 800; letter-spacing: .16em; }
      .intro h1 { margin: 0; font-size: clamp(38px, 5.2vw, 74px); line-height: 1.14; letter-spacing: -.04em; word-spacing: .14em; }
      .intro h1 span { color: var(--red); }

      .story { padding: 0 clamp(22px, 5vw, 82px) clamp(80px, 10vw, 145px); }
      .story-inner { max-width: 1280px; margin: 0 auto; }
      .story-block {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        gap: clamp(42px, 7vw, 112px);
        padding: clamp(52px, 7vw, 94px) 0;
        border-bottom: 1px solid #e6e6e6;
      }
      .story-block:last-child { border-bottom: 0; }
      .story-block.reverse .copy { order: 2; }
      .story-block.reverse .photo { order: 1; }

      .copy h2 { margin: 0 0 22px; font-size: clamp(34px, 4vw, 57px); line-height: 1.18; letter-spacing: -.04em; word-spacing: .14em; }
      .copy h2 span { color: var(--red); }
      .copy p { margin: 0; color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.72; }
      .copy ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
      .copy li { position: relative; padding-left: 24px; color: var(--muted); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.58; }
      .copy li::before { position: absolute; top: .63em; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--red); content: ""; }
      .copy strong { color: var(--ink); }

      .photo { aspect-ratio: 3 / 2; overflow: hidden; background: #e7e2de; }
      .photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

      @media (max-width: 760px) {
        .site-header { flex-direction: column; padding-top: 15px; padding-bottom: 15px; gap: 13px; }
        .brand { width: 215px; }
        .menu { width: 100%; justify-content: center; gap: 16px; }
        .menu a { font-size: 10px; }
        .story-block, .story-block.reverse { grid-template-columns: 1fr; gap: 27px; }
        .story-block.reverse .copy, .story-block.reverse .photo { order: initial; }
        .story-block.reverse .photo { order: 1; }
        .story-block.reverse .copy { order: 2; }
        .copy h2 { margin-bottom: 16px; }
      }

body.menu-open { overflow: hidden; }
  .site-header { position: fixed; z-index: 10; top: 0; left: 0; width: 100%; padding: 24px clamp(22px, 5vw, 82px); border: 0; background: transparent; transition: background-color .35s ease, box-shadow .35s ease, padding .35s ease; }
  .navigation { display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 4vw, 66px); max-width: 1440px; margin: 0 auto; }
  .brand { display: block; flex: 0 0 auto; width: clamp(330px, 34vw, 500px); transition: width .35s ease; }
  .brand img { display: block; width: 100%; height: auto; }
  .menu { display: flex; align-items: center; justify-content: flex-end; gap: clamp(18px, 2.2vw, 38px); margin-left: auto; }
  .menu a { color: #000; font-size: 18px; font-weight: 800; letter-spacing: .11em; text-decoration: none; transition: color .2s ease; }
  .menu a:hover, .menu a[aria-current="page"] { color: #a90713; }
  .menu-toggle { display: none; position: relative; width: 46px; height: 46px; padding: 0; border: 0; background: transparent; color: #111; cursor: pointer; }
  .menu-toggle span, .menu-toggle::before, .menu-toggle::after { position: absolute; left: 9px; display: block; width: 28px; height: 2px; margin: 0; border-radius: 999px; background: currentColor; content: ""; transition: transform .25s ease, opacity .2s ease; }
  .menu-toggle span { top: 22px; }
  .menu-toggle::before { top: 14px; }
  .menu-toggle::after { top: 30px; }
  .contact-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 19px; border-radius: 999px; background: #ed942d; color: #142c27; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-decoration: none; white-space: nowrap; box-shadow: 0 10px 28px rgba(86, 43, 6, .22); transition: transform .2s ease, background-color .2s ease; }
  .contact-button img { width: 18px; height: 18px; object-fit: contain; }
  .contact-button:hover { background: #f7a746; transform: translateY(-2px); }
  .site-header.is-scrolled { padding-top: 11px; padding-bottom: 11px; background: rgba(255, 255, 255, .96); box-shadow: 0 7px 22px rgba(0, 0, 0, .16); }
  .site-header.is-scrolled .brand { width: 215px; }
  .site-header.is-scrolled .menu a { color: #111; font-size: 19px; }
  @media (max-width: 900px) { .site-header { padding-top: 16px; padding-bottom: 16px; } .navigation { gap: 20px; } .brand { width: 280px; } .menu { gap: 16px; } .menu a { font-size: 14px; } .contact-button { padding: 12px 14px; font-size: 10px; } }
  @media (max-width: 660px) {
    .site-header { padding: 14px 20px; }
    .navigation { justify-content: space-between; gap: 0; }
    .brand { width: min(72vw, 280px); }
    .menu-toggle { z-index: 2; display: grid; place-items: center; }
    .menu { position: fixed; z-index: 1; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 28px; width: 100vw; height: 100dvh; margin: 0; background: #202020; opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .25s ease, transform .25s ease; visibility: hidden; }
    .menu a, .site-header.is-scrolled .menu a { color: #fff; font-size: clamp(25px, 8vw, 37px); letter-spacing: .06em; }
    .contact-button { display: none; }
    .site-header.menu-open .menu { opacity: 1; pointer-events: auto; transform: none; visibility: visible; }
    .site-header.menu-open .menu-toggle { color: #fff; }
    .site-header.menu-open .menu-toggle span { opacity: 0; }
    .site-header.menu-open .menu-toggle::before { top: 22px; transform: rotate(45deg); }
    .site-header.menu-open .menu-toggle::after { top: 22px; transform: rotate(-45deg); }
    .site-header.is-scrolled .brand { width: 160px; }
  }

.contact-cta { padding: clamp(52px, 6vw, 82px) 22px; background: #2e2e2e; color: #fff; text-align: center; }
  .contact-cta-content { width: min(100%, 1120px); margin: 0 auto; }
  .contact-cta h2 { margin: 0; color: #fff; font-family: "Manrope", sans-serif; font-size: clamp(16px, 4.8vw, 62px); font-weight: 800; line-height: 1.2; letter-spacing: -.04em; word-spacing: .14em; white-space: nowrap; }
  .contact-cta h2 span { color: #a90713; }
  .contact-cta p { max-width: 640px; margin: 22px auto 34px; color: #e4e4e4; font-family: "Manrope", sans-serif; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.6; }
  .cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
  .cta-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 180px; padding: 16px 23px; border-radius: 999px; color: #fff; font-family: "Manrope", sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .07em; text-decoration: none; transition: transform .2s ease; }
  .call-button { background: #a90713; }
  .whatsapp-button { background: #1a9a51; }
  .cta-actions a:hover { transform: translateY(-3px); }
  .cta-actions img { width: 20px; height: 20px; object-fit: contain; }
  .site-footer { padding: 38px 22px; background: #181818; color: #fff; text-align: center; }
  .footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; margin-bottom: 24px; }
  .footer-contact a { color: #fff; font-family: "Manrope", sans-serif; font-size: clamp(21px, 2.3vw, 30px); font-weight: 600; text-decoration: none; }
  .footer-contact a:hover { color: #ed942d; }
  .site-footer p { margin: 0; color: #969696; font-family: "Manrope", sans-serif; font-size: 12px; letter-spacing: .06em; }
  @media (max-width: 660px) { .cta-actions a { width: 100%; } }
