:root {
  --navy: #082f63;
  --navy-deep: #051d3d;
  --pink: #df2c6a;
  --pink-dark: #b91d55;
  --lime: #b6d638;
  --yellow: #ffd850;
  --green: #16844f;
  --white: #ffffff;
  --ink: #10223d;
  --muted: #60708a;
  --soft: #f5f7fb;
  --line: rgba(8,47,99,.12);
  --shadow: 0 20px 60px rgba(8,47,99,.14);
  --shadow-soft: 0 12px 32px rgba(8,47,99,.10);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--navy);
  padding: .7rem 1rem;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}
.skip-link:focus { transform: none; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}
.section { padding: 100px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy-deep); color: var(--white); }

.eyebrow {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow--pink { color: var(--pink); }

h1, h2, h3 { margin-top: 0; line-height: 1.05; }
h1, h2 {
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(2.55rem, 6vw, 5.65rem); margin-bottom: 22px; }
h2 { font-size: clamp(2rem, 4.2vw, 4rem); margin-bottom: 22px; }
h3 { font-size: 1.25rem; }
p { margin-top: 0; }
.lead { font-size: 1.18rem; font-weight: 700; }

.topbar {
  background: var(--navy-deep);
  color: var(--white);
  font-size: .88rem;
}
.topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}
.topbar p { margin: 0; }
.topbar a { color: var(--yellow); font-weight: 800; }

.nav-shell {
  position: relative;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(8,47,99,.08);
  backdrop-filter: blur(16px);
}
.site-header.is-sticky .nav-shell {
  position: fixed;
  top: 0; left: 0; right: 0;
  box-shadow: 0 8px 30px rgba(8,47,99,.12);
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { width: 245px; max-width: 42vw; overflow: hidden; border-radius: 14px; }
.brand img { width: 100%; aspect-ratio: 3.34 / 1; object-fit: cover; object-position: center; }
.main-nav { display: flex; align-items: center; gap: 22px; font-weight: 800; font-size: .9rem; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -7px;
  height: 3px;
  background: var(--pink);
  border-radius: 999px;
  transition: right .25s ease;
}
.main-nav > a:hover::after, .main-nav > a:focus-visible::after { right: 0; }
.nav-cta {
  background: var(--pink);
  color: var(--white);
  padding: .8rem 1rem;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(223,44,106,.22);
}
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 3px; background: var(--navy); border-radius: 99px; margin: 5px 0; transition: .25s ease; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 96px 0;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.hero::before { width: 520px; height: 520px; background: rgba(223,44,106,.18); right: -220px; top: -180px; }
.hero::after { width: 360px; height: 360px; background: rgba(182,214,56,.14); left: -180px; bottom: -200px; }
.hero__wash {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(5,29,61,.82), rgba(5,29,61,.94)), url('../assets/images/interior-plasticos.jpeg');
  background-size: cover;
  background-position: center;
  filter: saturate(.82);
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 62px; }
.hero__lead { max-width: 680px; color: rgba(255,255,255,.84); font-size: clamp(1.08rem, 2vw, 1.35rem); margin-bottom: 30px; }
.hero__actions, .catalog__actions, .contact-card__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .84rem 1.22rem;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--pink); color: var(--white); box-shadow: 0 10px 26px rgba(223,44,106,.25); }
.btn--accent:hover { background: var(--pink-dark); }
.btn--light { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.34); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--outline { background: transparent; color: var(--navy); border-color: rgba(8,47,99,.25); }
.btn--large { min-height: 58px; padding-inline: 1.55rem; }

.hero__badges { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 9px; }
.hero__badges span {
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.06);
  padding: .45rem .72rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
}
.hero__media {
  margin: 0;
  background: var(--white);
  padding: 12px;
  border-radius: var(--radius-xl);
  transform: rotate(1.5deg);
  box-shadow: 0 35px 80px rgba(0,0,0,.38);
}
.hero__media img { width: 100%; max-height: 580px; object-fit: cover; border-radius: calc(var(--radius-xl) - 10px); }
.hero__media figcaption { color: var(--navy); padding: 12px 10px 2px; font-weight: 800; font-size: .83rem; }

.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 78px; }
.welcome__visual { position: relative; }
.image-frame { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); background: var(--soft); }
.image-frame img { width: 100%; height: 660px; object-fit: cover; object-position: 50% 36%; }
.floating-note {
  position: absolute;
  right: -28px;
  bottom: 42px;
  background: var(--yellow);
  color: var(--navy);
  font-family: "Arial Black", Arial, sans-serif;
  text-transform: uppercase;
  padding: 18px 26px;
  border-radius: 16px;
  transform: rotate(-3deg);
  box-shadow: var(--shadow-soft);
}
.welcome__copy p:not(.eyebrow) { max-width: 680px; }
.statement {
  margin: 28px 0;
  display: grid;
  gap: 2px;
  border-left: 5px solid var(--pink);
  padding: 18px 0 18px 22px;
  background: linear-gradient(90deg, rgba(223,44,106,.07), transparent);
  border-radius: 0 14px 14px 0;
}
.statement strong { font-size: 1.13rem; }
.text-link { color: var(--pink); font-weight: 900; display: inline-flex; gap: 8px; align-items: center; }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 540px; margin-bottom: 6px; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.filter-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  padding: .62rem .9rem;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}
.filter-btn:hover, .filter-btn.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card {
  position: relative;
  min-height: 220px;
  padding: 28px 24px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, opacity .25s ease;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.category-card.is-hidden { display: none; }
.category-card::before {
  content: "";
  position: absolute;
  width: 80px; height: 80px;
  border-radius: 50%;
  right: -34px; top: -28px;
  background: var(--yellow);
  opacity: .7;
}
.category-card:nth-child(3n+2)::before { background: var(--pink); opacity: .14; }
.category-card:nth-child(3n)::before { background: var(--lime); opacity: .32; }
.category-card__index { color: var(--pink); font-weight: 900; font-size: .76rem; letter-spacing: .12em; }
.category-card h3 { margin: 16px 0 10px; color: var(--navy); }
.category-card p { margin: 0; color: var(--muted); font-size: .93rem; }

.feature-band { background: var(--white); overflow: hidden; }
.feature-band__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 26px 0; }
.feature-list span { background: var(--soft); border: 1px solid var(--line); padding: 12px 15px; border-radius: 14px; font-weight: 800; color: var(--navy); }
.feature-band__quote { font-size: 1.14rem; font-weight: 800; color: var(--pink); }
.feature-band__images { position: relative; min-height: 660px; }
.feature-band__main { width: min(66%, 430px); height: 630px; object-fit: cover; object-position: top; border-radius: var(--radius-xl); box-shadow: var(--shadow); margin-left: auto; }
.feature-band__mini { position: absolute; width: 48%; height: 430px; object-fit: cover; left: 0; bottom: 0; border: 10px solid var(--white); border-radius: 28px; box-shadow: var(--shadow); }

.plastic-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 66px; }
.plastic-visual { margin: 0; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.plastic-visual img { width: 100%; height: 610px; object-fit: cover; }
.plastic-copy > p:not(.eyebrow) { color: var(--muted); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.pill-list span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .55rem .75rem; font-weight: 800; font-size: .88rem; }
.quality-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quality-row > div { background: var(--navy); color: var(--white); padding: 18px; border-radius: 18px; display: grid; gap: 3px; }
.quality-row span { font-size: .82rem; color: rgba(255,255,255,.7); }

.promos { overflow: hidden; }
.slider-shell { position: relative; }
.promo-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 34%);
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 22px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.promo-track::-webkit-scrollbar { display: none; }
.promo-card {
  scroll-snap-align: start;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0;
  background: var(--soft);
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
  min-height: 420px;
}
.promo-card img { width: 100%; height: 100%; min-height: 420px; max-height: 520px; object-fit: cover; object-position: center; transition: transform .35s ease; }
.promo-card--portrait img { object-fit: contain; background: #eef1f6; }
.promo-card:hover img { transform: scale(1.025); }
.slider-btn {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  color: var(--navy);
  box-shadow: var(--shadow-soft);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.slider-btn--prev { left: -22px; }
.slider-btn--next { right: -22px; }

.catalog { position: relative; overflow: hidden; }
.catalog::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: rgba(223,44,106,.14); right: -180px; bottom: -220px; }
.catalog__grid { position: relative; display: grid; grid-template-columns: .72fr 1.28fr; gap: 48px; align-items: start; }
.catalog__intro p:not(.eyebrow) { color: rgba(255,255,255,.74); }
.catalog-cover { margin: 26px 0; width: min(100%, 320px); padding: 9px; border-radius: 22px; background: var(--white); transform: rotate(-1.5deg); box-shadow: 0 22px 55px rgba(0,0,0,.35); }
.catalog-cover img { border-radius: 14px; width: 100%; }
.pdf-panel { background: var(--white); border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.pdf-panel__bar { min-height: 58px; background: var(--yellow); color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px; font-weight: 900; }
.pdf-panel__bar a { font-size: .82rem; text-decoration: underline; }
.pdf-viewer { display: block; width: 100%; height: 780px; border: 0; background: var(--white); }
.pdf-fallback { color: var(--ink); padding: 28px; text-align: center; }
.pdf-fallback img { max-height: 560px; margin: 0 auto 22px; border-radius: 16px; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 14px; }
.gallery-item { position: relative; border: 0; padding: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--soft); cursor: zoom-in; }
.gallery-item--wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,29,61,.84)); }
.gallery-item span { position: absolute; z-index: 2; left: 18px; bottom: 16px; color: var(--white); font-weight: 900; }
.gallery-item:hover img { transform: scale(1.045); }

.cta-strip { padding: 64px 0; }
.cta-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.cta-strip h2 { max-width: 800px; margin-bottom: 12px; font-size: clamp(1.8rem, 3.6vw, 3.4rem); }
.cta-strip p:not(.eyebrow) { margin-bottom: 0; color: rgba(255,255,255,.72); }

.contact__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 54px; align-items: start; }
.contact__intro p:not(.eyebrow) { color: var(--muted); }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: var(--white); box-shadow: var(--shadow-soft); }
.contact-card__tag { display: inline-block; background: var(--yellow); color: var(--navy); font-weight: 900; padding: .35rem .65rem; border-radius: 999px; font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; }
.contact-card h3 { color: var(--navy); font-size: clamp(1.65rem, 3vw, 2.35rem); margin: 20px 0 12px; }
.contact-card p { color: var(--muted); }

.site-footer { background: #03142b; color: var(--white); padding: 44px 0; }
.footer__grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 36px; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand img { width: 180px; border-radius: 12px; }
.footer__brand p { margin: 0; font-size: .82rem; color: rgba(255,255,255,.65); }
.footer__nav { display: flex; gap: 16px; font-size: .84rem; font-weight: 800; }
.footer__phrase { text-align: right; margin: 0; color: var(--yellow); font-weight: 900; }

.floating-whatsapp {
  position: fixed;
  z-index: 1200;
  right: 20px;
  bottom: 20px;
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 18px 35px rgba(0,0,0,.22);
  transition: transform .2s ease;
}
.floating-whatsapp:hover { transform: translateY(-4px) scale(1.03); }
.floating-whatsapp svg { width: 32px; fill: var(--white); }

.lightbox {
  width: min(1080px, calc(100% - 32px));
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #020813;
  box-shadow: 0 30px 100px rgba(0,0,0,.55);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(1,8,20,.84); backdrop-filter: blur(8px); }
.lightbox__image { width: 100%; max-height: 88vh; object-fit: contain; }
.lightbox__close { position: absolute; z-index: 2; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--navy); font-size: 1.7rem; cursor: pointer; }

/* Contenido visible por defecto: si JavaScript no carga, la página nunca queda en blanco. */
.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.motion-ready .reveal { opacity: 0; transform: translateY(24px); }
.motion-ready .reveal--delay { transition-delay: .12s; }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .main-nav { gap: 13px; font-size: .82rem; }
  .brand { width: 210px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-band__grid, .plastic-grid { gap: 42px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__nav { flex-wrap: wrap; }
  .footer__phrase { text-align: left; }
}

@media (max-width: 860px) {
  .section { padding: 78px 0; }
  .topbar__inner { justify-content: center; }
  .topbar__catalog { display: none; }
  .nav-wrap { min-height: 74px; }
  .menu-toggle { display: block; position: relative; z-index: 1002; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    z-index: 1001;
    inset: 0;
    padding: 120px 28px 40px;
    background: rgba(255,255,255,.98);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: translateX(100%);
    transition: transform .3s ease;
    font-size: 1.15rem;
  }
  .main-nav.is-open { transform: none; }
  .main-nav a { padding: 15px 6px; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cta { text-align: center; margin-top: 18px; border-bottom: 0; padding: 14px; }

  .hero { min-height: unset; padding: 72px 0; }
  .hero__grid, .split-grid, .feature-band__grid, .plastic-grid, .catalog__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__grid { gap: 42px; }
  .hero__copy { order: 1; }
  .hero__media { order: 2; max-width: 620px; margin-inline: auto; }
  .split-grid { gap: 42px; }
  .image-frame img { height: 520px; }
  .floating-note { right: 14px; }
  .section-heading { align-items: start; flex-direction: column; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-band__grid, .plastic-grid { gap: 40px; }
  .feature-band__images { min-height: 590px; max-width: 680px; width: 100%; margin: auto; }
  .feature-band__main { height: 560px; }
  .feature-band__mini { height: 380px; }
  .plastic-visual img { height: 520px; }
  .catalog__grid { gap: 40px; }
  .catalog-cover { display: none; }
  .pdf-viewer { height: 680px; }
  .promo-track { grid-auto-columns: minmax(270px, 56%); }
  .slider-btn { display: none; }
  .cta-strip__inner { align-items: flex-start; flex-direction: column; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 64px 0; }
  .brand { width: 190px; max-width: 68vw; }
  h1 { font-size: clamp(2.2rem, 14vw, 3.75rem); }
  h2 { font-size: clamp(1.85rem, 10.5vw, 3rem); }
  .hero { padding: 56px 0; }
  .hero__actions .btn { width: 100%; }
  .hero__media { transform: none; border-radius: 24px; }
  .hero__media img { border-radius: 16px; }
  .hero__badges { display: grid; grid-template-columns: 1fr 1fr; }
  .image-frame img { height: 420px; }
  .floating-note { padding: 13px 16px; bottom: 20px; font-size: .78rem; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 180px; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-band__images { min-height: 480px; }
  .feature-band__main { width: 72%; height: 455px; }
  .feature-band__mini { width: 52%; height: 310px; border-width: 7px; }
  .plastic-visual img { height: 390px; }
  .quality-row { grid-template-columns: 1fr; }
  .promo-track { grid-auto-columns: 87%; }
  .promo-card, .promo-card img { min-height: 390px; }
  .pdf-panel { border-radius: 20px; }
  .pdf-panel__bar { align-items: flex-start; flex-direction: column; }
  .pdf-viewer { height: 580px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 330px; }
  .gallery-item--wide { grid-column: span 1; }
  .contact-card { padding: 23px; }
  .contact-card__actions .btn { flex: 1; }
  .footer__brand { flex-direction: column; align-items: flex-start; }
  .footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 18px; }
  .floating-whatsapp { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal, .motion-ready .reveal { opacity: 1; transform: none; }
}
