/* =========================================================
   El Águila del Pacífico — estilos del sitio
   Colores de marca: azul marino + turquesa (del logo)
   ========================================================= */

:root {
  --navy-900: #0a1230;
  --navy-800: #111b45;
  --navy-700: #1b2759;
  --navy-600: #24316b;
  --turq-500: #5fc0b5;
  --turq-400: #7fd6cb;
  --turq-300: #a9e8df;
  --cyan-glow: #4fe3d4;
  --ink: #0f1733;
  --ink-soft: #4a5578;
  --line: #e2e7f0;
  --paper: #f5f8fb;
  --white: #ffffff;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -20px rgba(10, 18, 48, .35);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --header-h: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- Etiqueta "tech" pequeña ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--turq-500); margin-bottom: 14px;
}
.tag::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan-glow); box-shadow: 0 0 0 4px rgba(79, 227, 212, .18);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(79, 227, 212, 0); } }

.section { padding: 110px 0; position: relative; }
.section--dark { background: var(--navy-900); color: #dfe6f5; }
.section--soft { background: var(--paper); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }
.section--dark .section-head p { color: #aeb9d6; }
.grad-text {
  background: linear-gradient(90deg, var(--turq-500), var(--cyan-glow));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Botones ---------- */
.btn {
  --bg: var(--turq-500);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--navy-900);
  font: 700 .95rem var(--font); text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s, box-shadow .25s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55), transparent 70%);
  transform: translateX(-120%); transition: transform .6s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(95, 192, 181, .7); }
.btn:hover::after { transform: translateX(120%); }
.btn--ghost { --bg: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--turq-400), 0 14px 30px -10px rgba(95,192,181,.5); }
.btn--navy { --bg: var(--navy-700); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* =========================================================
   CABECERA
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 51, .06);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(10, 18, 48, .45); }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
  width: min(1320px, 100% - 32px); margin-inline: auto;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 80px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  white-space: nowrap;
  position: relative; padding: 10px 14px; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--navy-700);
  text-transform: uppercase; letter-spacing: .04em; transition: color .2s, background .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--turq-500); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:hover { color: var(--turq-500); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--turq-500); }
.header-banner {
  --y1: #ffe94a; --y2: #ffd000;
  flex-shrink: 0; position: relative; display: flex; align-items: center; gap: 10px;
  height: 74px; padding: 0 18px 0 96px; border-radius: 16px; text-decoration: none;
  background: linear-gradient(120deg, var(--y1) 0%, var(--y2) 100%);
  color: var(--navy-800); isolation: isolate;
  box-shadow: 0 10px 26px -10px rgba(214, 160, 0, .8), inset 0 0 0 1px rgba(255,255,255,.55);
  transition: transform .3s;
}
/* brillo que recorre la tarjeta */
.header-banner::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.75) 50%, transparent 65%) -150% 0 / 60% 100% no-repeat;
  animation: promoShine 3.4s ease-in-out infinite;
}
@keyframes promoShine { 55%, 100% { background-position: 250% 0; } }
.header-banner:hover { transform: translateY(-2px) scale(1.03); }
.promo-sack {
  position: absolute; left: 10px; bottom: 4px; width: 80px; height: auto;
  transform: rotate(-8deg); transform-origin: bottom center;
  filter: drop-shadow(0 8px 10px rgba(10,18,48,.35));
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.header-banner:hover .promo-sack { transform: rotate(-3deg) translateY(-6px) scale(1.06); }
.promo-text { display: grid; line-height: 1.05; }
.promo-text strong { font-size: 1.12rem; font-weight: 800; font-style: italic; letter-spacing: .01em; color: var(--navy-900); text-transform: uppercase; }
.promo-text small { font-size: .72rem; font-weight: 500; margin-top: 4px; }
.promo-text small b { font-weight: 800; }
.promo-arrow {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--navy-900); color: #ffe600; animation: promoNudge 1.6s ease-in-out infinite;
}
.promo-arrow svg { width: 16px; height: 16px; }
@keyframes promoNudge { 50% { transform: translateX(4px); } }
.menu-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  border: 0; background: var(--navy-700); cursor: pointer; position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px;
  content: ""; transition: transform .3s, opacity .3s;
}
.menu-toggle span { top: 22px; }
.menu-toggle span::before { top: -7px; left: 0; right: 0; }
.menu-toggle span::after { top: 7px; left: 0; right: 0; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1440px) {
  .header-inner { gap: 16px; }
  .nav { gap: 2px; }
  .nav a { padding: 10px 10px; font-size: .84rem; }
}
@media (max-width: 1180px) {
  .nav a { padding: 10px 9px; font-size: .8rem; }
  .header-banner { height: 64px; padding-left: 80px; }
  .promo-sack { width: 66px; }
  .promo-text strong { font-size: 1rem; }
}
@media (max-width: 1020px) {
  :root { --header-h: 74px; }
  .brand img { height: 58px; }
  .menu-toggle { display: block; }
  .header-banner { height: 60px; margin-left: auto; }
  .menu-toggle { margin-left: 12px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    flex-direction: column; gap: 0; padding: 12px 16px 24px;
    background: #fff; box-shadow: 0 30px 40px -20px rgba(10,18,48,.35);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s;
  }
  .menu-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 16px 8px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
}
@media (max-width: 480px) {
  .brand img { height: 42px; }
  .header-banner { height: 50px; padding: 0 10px 0 50px; border-radius: 12px; gap: 6px; margin-left: auto; }
  .header-inner { gap: 10px; }
  .promo-sack { width: 44px; left: 6px; }
  .promo-text strong { font-size: .7rem; max-width: 92px; line-height: 1.1; }
  .promo-text small, .promo-arrow { display: none; }
}

/* =========================================================
   HERO (portada con video)
   ========================================================= */
.hero {
  position: relative; min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center; overflow: hidden;
  background: var(--navy-900); color: #fff;
}
.hero--page { min-height: 62svh; }
.hero video.bg { transform: scale(var(--zoom, 1.35)); transform-origin: var(--zoom-origin, 60% 50%); }
.hero video.bg, .hero .bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(10,18,48,.96) 0%, rgba(17,27,69,.86) 38%, rgba(27,39,89,.45) 70%, rgba(95,192,181,.25) 100%);
}
.hero::after {
  /* malla técnica: imita el tejido del polipropileno */
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: .18; pointer-events: none;
  background-image:
    linear-gradient(rgba(127,214,203,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127,214,203,.35) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 70%);
}
.hero canvas.threads {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 60% 60%, #000 45%, transparent 100%);
          mask-image: radial-gradient(ellipse 75% 70% at 60% 60%, #000 45%, transparent 100%);
}
.hero-content { position: relative; z-index: 3; padding: 80px 0 110px; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.6rem); font-weight: 800; margin-bottom: .25em;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(105%); } }
.hero .lead { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 600; color: var(--turq-300); margin-bottom: .6em; }
.hero .desc { max-width: 600px; color: #c9d3ea; font-size: 1.05rem; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.fade-up { animation: fadeUp .9s .35s cubic-bezier(.2,.8,.2,1) both; }
.fade-up.d2 { animation-delay: .5s; }
.fade-up.d3 { animation-delay: .65s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }

.hero-stat {
  position: absolute; right: max(16px, calc((100vw - 1200px) / 2)); bottom: 70px; z-index: 3;
  padding: 22px 26px; border-radius: var(--radius);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  animation: fadeUp 1s .8s both, float 6s 2s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }
.hero-stat strong { display: block; font-size: 2.6rem; font-weight: 800; color: var(--cyan-glow); line-height: 1; }
.hero-stat span { font-size: .85rem; color: #c9d3ea; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; z-index: 3; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255,255,255,.5);
}
.scroll-hint::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #fff; animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
.breadcrumb { font-family: var(--mono); font-size: .8rem; color: var(--turq-300); margin-bottom: 16px; letter-spacing: .08em; }
.breadcrumb a { text-decoration: none; opacity: .75; }

@media (max-width: 760px) {
  .hero-stat { display: none; }
  .hero-content { padding-bottom: 80px; }
  .scroll-hint { display: none; }
}

/* =========================================================
   CINTA EN MOVIMIENTO (tipos de saco)
   ========================================================= */
.ticker {
  background: linear-gradient(90deg, var(--navy-900), var(--navy-700) 50%, var(--navy-900));
  color: #fff; overflow: hidden; position: relative; z-index: 4;
  display: flex; align-items: center; border-bottom: 3px solid var(--turq-500);
}
.ticker-label {
  flex-shrink: 0; position: relative; z-index: 2; padding: 20px 26px 20px max(16px, calc((100vw - 1200px) / 2));
  background: var(--turq-500); color: var(--navy-900);
  font-weight: 800; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; line-height: 1.15;
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}
.ticker-label small { display: block; font: 700 .66rem var(--mono); letter-spacing: .14em; opacity: .75; }
.ticker-window { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; padding: 14px 0; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: flex; align-items: center; gap: 12px; margin: 0 10px; padding: 8px 20px 8px 8px;
  border-radius: 999px; border: 1px solid rgba(127,214,203,.28); background: rgba(255,255,255,.05);
  white-space: nowrap; font-weight: 700; font-size: 1rem; letter-spacing: .02em;
}
.ticker-item .ico {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--turq-500), var(--cyan-glow)); color: var(--navy-900);
}
.ticker-item .ico svg { width: 21px; height: 21px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (max-width: 600px) {
  .ticker { flex-direction: column; align-items: stretch; }
  .ticker-label { padding: 10px 16px; font-size: .8rem; clip-path: none; text-align: center; }
  .ticker-label small { display: inline; margin-right: 6px; }
  .ticker-item { font-size: .9rem; }
}

/* =========================================================
   CIFRAS
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.stat::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--navy-700), var(--turq-500));
  transform: scaleX(0); transform-origin: left; transition: transform 1.2s .2s;
}
.stat.in::before { transform: scaleX(1); }
.stat strong { display: block; font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; color: var(--navy-700); line-height: 1.1; }
.stat span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* =========================================================
   PROCESO (videos de máquinas)
   ========================================================= */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: rgba(255,255,255,.04); border: 1px solid rgba(127,214,203,.16);
  transition: border-color .3s, transform .3s;
}
.step:hover { border-color: var(--turq-500); transform: translateY(-4px); }
.step-num {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  font: 700 .8rem var(--mono); color: var(--navy-900); background: var(--turq-400);
  padding: 5px 10px; border-radius: 999px;
}
.step-media { aspect-ratio: 16 / 9; background: var(--navy-800); position: relative; overflow: hidden; }
.step-media video, .step-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--vz, 1.25)); transform-origin: var(--vo, 50% 50%); transition: transform .8s; }
.step:hover .step-media video { transform: scale(calc(var(--vz, 1.25) + .13)); }
.step-media img.kb { animation: kenburns 14s ease-in-out infinite alternate; transform-origin: 60% 45%; }
@keyframes kenburns { from { transform: scale(1.05) translate(0, 0); } to { transform: scale(1.35) translate(-4%, 2%); } }
.step-media::after {
  content: "PROCESO"; position: absolute; left: 12px; top: 12px;
  font: 700 .62rem var(--mono); letter-spacing: .14em; color: #fff;
  padding: 5px 9px 5px 22px; border-radius: 999px; background: rgba(10,18,48,.6);
}
.step-media::before {
  content: ""; position: absolute; left: 21px; top: 20px; z-index: 1;
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-glow); animation: pulse 1.6s infinite;
}
.step-body { padding: 16px 18px 18px; }
.step h3 { font-size: 1.1rem; color: #fff; margin-bottom: 4px; }
.step p { color: #aeb9d6; font-size: .9rem; margin: 0; }
@media (max-width: 980px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* =========================================================
   TARJETAS DE PRODUCTO
   ========================================================= */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-800);
  aspect-ratio: 4 / 5; color: #fff; text-decoration: none; isolation: isolate;
  transform-style: preserve-3d; transition: transform .2s, box-shadow .4s;
}
.product:hover { box-shadow: var(--shadow); }
.product img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.product:hover img { transform: scale(1.08); }
.product::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,18,48,0) 35%, rgba(10,18,48,.92) 100%);
}
.product-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.product-num { font: 600 .75rem var(--mono); color: var(--turq-300); letter-spacing: .12em; }
.product h3 { font-size: 1.5rem; margin: 6px 0 6px; }
.product p { font-size: .92rem; color: #c9d3ea; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s, opacity .5s; }
.product:hover p, .product:focus-visible p { max-height: 120px; opacity: 1; }
.product .arrow {
  position: absolute; right: 22px; top: 22px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(8px);
  transition: background .3s, transform .3s;
}
.product:hover .arrow { background: var(--turq-500); transform: rotate(-45deg); }
.product .arrow svg { width: 18px; height: 18px; }
@media (hover: none) { .product p { max-height: 120px; opacity: 1; } }
@media (max-width: 980px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .products { grid-template-columns: 1fr; } .product { aspect-ratio: 5 / 4; } }

/* =========================================================
   TU MARCA GRATIS (creador de saco interactivo)
   ========================================================= */
.free-brand {
  background:
    radial-gradient(circle at 15% 20%, rgba(95,192,181,.28), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(79,227,212,.18), transparent 40%),
    var(--navy-800);
  color: #fff; overflow: hidden;
}
.free-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.free-brand h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
.free-brand p { color: #c9d3ea; font-size: 1.08rem; }
.price-tag {
  display: inline-flex; align-items: baseline; gap: 16px; margin: 10px 0 26px;
  padding: 16px 24px; border-radius: var(--radius); background: rgba(255,255,255,.07);
  border: 1px dashed rgba(127,214,203,.6);
}
.price-tag .old { font-size: 1.4rem; color: #8d99bb; position: relative; }
.price-tag .old::after {
  content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 3px; border-radius: 2px;
  background: #ff5d6c; transform: scaleX(0); transform-origin: left; transition: transform .7s .4s;
}
.in .price-tag .old::after, .price-tag.in .old::after { transform: scaleX(1); }
.price-tag .new { font-size: 2.6rem; font-weight: 800; color: var(--cyan-glow); }
.price-tag .new small { font-size: 1rem; font-weight: 600; color: var(--turq-300); margin-left: 6px; }
.builder { display: grid; gap: 16px; margin-bottom: 28px; max-width: 460px; }
.builder label { font-size: .85rem; font-weight: 600; color: var(--turq-300); display: block; margin-bottom: 6px; }
.builder input[type="text"] {
  width: 100%; padding: 15px 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08); color: #fff; font: 600 1.05rem var(--font); outline: none;
  transition: border .2s, box-shadow .2s;
}
.builder input[type="text"]:focus { border-color: var(--turq-400); box-shadow: 0 0 0 4px rgba(95,192,181,.25); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch {
  width: 40px; height: 40px; border-radius: 50%; border: 3px solid transparent; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255,255,255,.25); transition: transform .2s;
}
.swatch:hover { transform: scale(1.12); }
.swatch[aria-pressed="true"] { border-color: #fff; transform: scale(1.12); }
.bag-stage { position: relative; display: grid; place-items: center; min-height: 520px; perspective: 1200px; }
.bag-stage::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed rgba(127,214,203,.45); animation: spin 40s linear infinite;
}
.bag-stage::after {
  content: ""; position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,227,212,.25), transparent 70%);
}
@keyframes spin { to { transform: rotate(360deg); } }
.bag3d { width: min(340px, 80%); position: relative; z-index: 1; transition: transform .2s; filter: drop-shadow(0 40px 40px rgba(0,0,0,.45)); }
.bag3d svg { width: 100%; height: auto; display: block; }
.bag3d .print { transition: fill .5s; }
.scan {
  position: absolute; left: 6%; right: 6%; height: 3px; top: 8%; z-index: 2; border-radius: 3px;
  background: var(--cyan-glow); box-shadow: 0 0 18px 4px rgba(79,227,212,.7);
  animation: scan 3.2s ease-in-out infinite;
}
@keyframes scan { 50% { top: 88%; } }
.chip-free {
  position: absolute; z-index: 3; right: 4%; top: 12%;
  padding: 12px 18px; border-radius: 16px; background: var(--turq-500); color: var(--navy-900);
  font-weight: 800; transform: rotate(8deg); box-shadow: 0 16px 30px -12px rgba(0,0,0,.5);
  animation: wobble 4s ease-in-out infinite;
}
.chip-free small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; }
@keyframes wobble { 50% { transform: rotate(-4deg) translateY(-6px); } }
.free-steps { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; padding: 0; list-style: none; }
.free-steps li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: #dfe6f5; }
.free-steps b {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(95,192,181,.2); color: var(--turq-300); font: 700 .8rem var(--mono);
}
@media (max-width: 900px) {
  .free-grid { grid-template-columns: 1fr; gap: 20px; }
  .bag-stage { min-height: 380px; }
}

/* =========================================================
   INDUSTRIAS
   ========================================================= */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry {
  padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  display: flex; gap: 18px; align-items: flex-start; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.industry:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.industry .ico {
  flex-shrink: 0; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600)); color: var(--turq-400);
  transition: transform .4s;
}
.industry:hover .ico { transform: rotate(-8deg) scale(1.08); }
.industry .ico svg { width: 28px; height: 28px; }
.industry h3 { font-size: 1.15rem; margin-bottom: 4px; }
.industry p { font-size: .92rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 980px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .industries { grid-template-columns: 1fr; } }

/* =========================================================
   GALERÍA DE DISEÑOS (carrusel)
   ========================================================= */
.designs { overflow: hidden; position: relative; }
.designs::before, .designs::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.designs::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.designs::after { right: 0; background: linear-gradient(-90deg, var(--paper), transparent); }
.designs-track { display: flex; gap: 26px; width: max-content; animation: ticker 80s linear infinite; padding: 20px 0 30px; }
.designs:hover .designs-track { animation-play-state: paused; }
.design {
  width: 220px; flex-shrink: 0; border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 14px 30px -18px rgba(10,18,48,.4); transition: transform .4s; cursor: zoom-in;
  border: 0; padding: 0;
}
.design:hover { transform: translateY(-8px) rotate(-1.5deg); }
.design img { width: 100%; aspect-ratio: 9 / 15; object-fit: cover; }
@media (max-width: 600px) { .design { width: 160px; } .designs::before, .designs::after { width: 40px; } }

/* Visor de imagen ampliada */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px;
  background: rgba(10,18,48,.88); backdrop-filter: blur(6px);
}
.lightbox.open { display: grid; animation: fadeIn .3s; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 14px; box-shadow: var(--shadow); }
.lightbox button {
  position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: #fff; color: var(--navy-900); font-size: 1.6rem; cursor: pointer;
}
@keyframes fadeIn { from { opacity: 0; } }

/* =========================================================
   BLOQUE "¿Tienes una idea…?" (como el Figma)
   ========================================================= */
.idea {
  display: grid; grid-template-columns: 1fr 1.2fr; align-items: stretch; overflow: hidden;
  border-radius: 40px; background: linear-gradient(120deg, var(--turq-500), var(--turq-400));
  box-shadow: var(--shadow);
}
.idea-text { padding: 56px; color: var(--navy-900); align-self: center; }
.idea-text h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
.idea-text p { font-size: 1.05rem; color: var(--navy-700); }
.idea-media { position: relative; min-height: 320px; }
.idea-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .idea { grid-template-columns: 1fr; border-radius: 28px; }
  .idea-text { padding: 36px 26px; }
}

/* =========================================================
   NOSOTROS
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.split p { color: var(--ink-soft); font-size: 1.05rem; }
.section--dark .split p { color: #aeb9d6; }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--shadow); }
.media-frame img, .media-frame video { width: 100%; height: 100%; object-fit: cover; }
.media-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(95,192,181,.18), rgba(10,18,48,.25));
}
.media-badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 1; padding: 12px 16px; border-radius: 14px;
  background: rgba(10,18,48,.75); color: #fff; backdrop-filter: blur(8px); font-size: .85rem;
}
.media-badge strong { color: var(--cyan-glow); font-size: 1.2rem; display: block; }
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mv-card {
  padding: 42px; border-radius: var(--radius-lg); background: var(--navy-800); color: #fff; position: relative; overflow: hidden;
}
.mv-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%;
  border: 30px solid rgba(95,192,181,.12);
}
.mv-card h3 { font-size: 1.9rem; font-weight: 800; color: var(--turq-400); }
.mv-card p { color: #c9d3ea; font-size: 1.05rem; margin: 0; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: .3s; }
.value:hover { border-color: var(--turq-500); transform: translateY(-4px); }
.value .ico { color: var(--turq-500); margin-bottom: 14px; }
.value .ico svg { width: 34px; height: 34px; }
.value h3 { font-size: 1.1rem; }
.value p { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.tech-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.tech-list li { display: flex; gap: 12px; align-items: flex-start; }
.tech-list li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 6px;
  background: var(--turq-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1230' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (max-width: 900px) {
  .split, .mv-grid { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } .mv-card { padding: 30px; } }

/* =========================================================
   PRODUCTOS — detalle
   ========================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filter {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font: 600 .9rem var(--font); color: var(--navy-700); cursor: pointer; transition: .25s;
}
.filter:hover { border-color: var(--turq-500); }
.filter[aria-pressed="true"] { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.catalog { display: grid; gap: 28px; }
.item {
  display: grid; grid-template-columns: 1fr 1.15fr; border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--line); transition: box-shadow .4s, opacity .4s, transform .4s;
}
.item:hover { box-shadow: var(--shadow); }
.item.hide { display: none; }
.item:nth-child(even) .item-media { order: 2; }
.item-media { position: relative; min-height: 340px; overflow: hidden; }
.item-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.item:hover .item-media img { transform: scale(1.06); }
.item-media .code {
  position: absolute; left: 18px; top: 18px; padding: 6px 12px; border-radius: 8px;
  background: rgba(10,18,48,.75); color: var(--turq-300); font: 600 .75rem var(--mono); letter-spacing: .1em;
}
.item-body { padding: 44px; }
.item-body h3 { font-size: 1.9rem; font-weight: 800; color: var(--navy-700); }
.item-body > p { color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.chips span {
  padding: 7px 13px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  font-size: .82rem; font-weight: 600; color: var(--navy-600);
}
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 26px; }
.specs div { padding: 14px 16px; border-radius: 12px; background: var(--paper); }
.specs dt { font: 600 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--turq-500); }
.specs dd { margin: 2px 0 0; font-weight: 700; color: var(--navy-700); font-size: .95rem; }
@media (max-width: 860px) {
  .item { grid-template-columns: 1fr; }
  .item:nth-child(even) .item-media { order: 0; }
  .item-media { min-height: 260px; }
  .item-body { padding: 30px 24px; }
}

/* =========================================================
   FORMULARIOS (Contacto / Trabaja con nosotros)
   ========================================================= */
.form-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.form-card {
  padding: 44px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow);
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.form-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--navy-700), var(--turq-500), var(--cyan-glow));
}
.form-card h2 { font-size: 1.8rem; font-weight: 800; color: var(--turq-500); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .85rem; font-weight: 600; color: var(--navy-700); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  font: 500 1rem var(--font); color: var(--ink); background: var(--paper); outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--turq-500); background: #fff; box-shadow: 0 0 0 4px rgba(95,192,181,.18);
}
fieldset.field { border: 0; padding: 0; margin: 0; }
.radios { display: flex; gap: 12px; }
.radios label {
  display: flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 600; color: var(--navy-700);
}
.radios input { accent-color: var(--turq-500); width: 18px; height: 18px; }
.radios label:has(input:checked) { border-color: var(--turq-500); background: rgba(95,192,181,.12); }
.form-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin: 0; }
.form-status { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 12px; font-weight: 600; }
.form-status.ok { display: block; background: rgba(95,192,181,.15); color: #1b6b62; }
.form-status.err { display: block; background: #fdecee; color: #a3283a; }
.hp { position: absolute; left: -9999px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--radius);
  background: var(--navy-800); color: #fff; text-decoration: none; transition: transform .3s, background .3s;
}
.contact-card:hover { transform: translateX(6px); background: var(--navy-700); }
.contact-card .ico {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(95,192,181,.16); color: var(--turq-400);
}
.contact-card .ico svg { width: 24px; height: 24px; }
.contact-card small { display: block; font: 600 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--turq-300); }
.contact-card span { font-weight: 600; word-break: break-word; }
.map { margin-top: 16px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 0; width: 100%; filter: saturate(.9); }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 30px 20px; }
}
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 60px; }
.perk { padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.perk .ico { color: var(--turq-500); margin-bottom: 10px; }
.perk .ico svg { width: 30px; height: 30px; }
.perk h3 { font-size: 1.05rem; }
.perk p { font-size: .92rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .perks { grid-template-columns: 1fr; } }

/* =========================================================
   PIE DE PÁGINA
   ========================================================= */
.site-footer {
  background: var(--navy-700); color: #dfe6f5; padding: 70px 0 30px; position: relative; overflow: hidden;
  border-top-left-radius: 60px;
}
.site-footer::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  border: 50px solid rgba(95,192,181,.08);
}
.footer-top { display: flex; align-items: center; gap: 30px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.18); }
.footer-logo { background: #fff; border-radius: 18px; padding: 10px 16px; flex-shrink: 0; }
.footer-logo img { height: 72px; width: auto; }
.footer-top p { margin: 0 0 0 auto; color: #aeb9d6; max-width: 420px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 34px 0; }
.footer-grid h4 { font: 600 .75rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--turq-300); margin-bottom: 12px; }
.footer-grid a, .footer-grid p { color: #dfe6f5; text-decoration: none; font-size: .95rem; margin: 0 0 6px; display: block; }
.footer-grid a:hover { color: var(--turq-400); }
.copy { font-size: .82rem; color: #8d99bb; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-top p { margin: 0; }
  .site-footer { border-top-left-radius: 36px; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* =========================================================
   WHATSAPP FLOTANTE
   ========================================================= */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.wa-float .wa-btn {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 14px 30px -8px rgba(37,211,102,.7);
  position: relative; transition: transform .3s;
}
.wa-float .wa-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  animation: ring 2.2s infinite;
}
@keyframes ring { to { transform: scale(1.6); opacity: 0; } }
.wa-float:hover .wa-btn { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float .wa-label {
  background: #fff; color: var(--navy-800); font-weight: 700; font-size: .85rem; padding: 10px 14px;
  border-radius: 12px; box-shadow: 0 10px 24px -10px rgba(10,18,48,.45);
  opacity: 0; transform: translateX(10px); transition: .3s; pointer-events: none;
}
.wa-float:hover .wa-label { opacity: 1; transform: none; }
@media (max-width: 560px) { .wa-float { right: 14px; bottom: 14px; } .wa-float .wa-btn { width: 56px; height: 56px; } }

/* =========================================================
   APARICIÓN AL HACER SCROLL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }
.reveal.d5 { transition-delay: .5s; }
.no-js .reveal { opacity: 1; transform: none; }

/* Barra de progreso de lectura */
.progress-bar {
  position: fixed; left: 0; top: 0; height: 3px; z-index: 70; width: 100%;
  background: linear-gradient(90deg, var(--turq-500), var(--cyan-glow));
  transform-origin: left; transform: scaleX(0);
}

:focus-visible { outline: 3px solid var(--turq-500); outline-offset: 3px; }

/* Impresión personalizada: puntos clave */
.print-points { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.print-points li { position: relative; padding-left: 32px; color: #dfe6f5; font-weight: 600; }
.print-points li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--turq-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1230' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.builder-hint { font-family: var(--mono); font-size: .82rem; color: var(--turq-300); letter-spacing: .04em; margin-bottom: 10px; }
.stat span b { color: var(--navy-700); }

/* Asesoría destacada (productos) */
.advice {
  position: relative; z-index: 5; margin: -170px 0 56px;
  display: flex; align-items: center; gap: 20px; padding: 20px 22px 20px 20px;
  background: #fff; border-radius: var(--radius); border-left: 5px solid var(--turq-500);
  box-shadow: 0 24px 50px -24px rgba(10,18,48,.45);
}
.advice-ico {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--turq-500), var(--cyan-glow)); color: var(--navy-900);
}
.advice-ico svg { width: 28px; height: 28px; }
.advice-text { flex: 1; display: grid; gap: 2px; }
.advice-text strong { font-size: 1.15rem; color: var(--navy-700); }
.advice-text span { color: var(--ink-soft); font-size: .95rem; }
.advice .btn { flex-shrink: 0; }
@media (max-width: 640px) {
  .advice { flex-wrap: wrap; margin-top: -140px; }
  .advice .btn { width: 100%; justify-content: center; }
}

/* Marca Casserita (productos) */
.casserita {
  scroll-margin-top: calc(var(--header-h) + var(--topbar-h)); overflow: hidden;
  background: radial-gradient(circle at 80% 40%, #fff6a8 0%, #ffe600 45%, #ffd000 100%);
  color: var(--navy-900);
}
.casserita .tag { color: var(--navy-800); }
.casserita h2 { color: var(--navy-900); }
.casserita h2 span { display: block; font-style: italic; }
.casserita p { color: var(--navy-800); }
.casserita .print-points li { color: var(--navy-900); }
.casserita .print-points li::before { background-color: var(--navy-900); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffe600' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.cas-fan { position: relative; height: 440px; }
.cas-fan .design {
  position: absolute; top: 50%; left: 50%; width: 190px; margin: 0;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
  box-shadow: 0 24px 40px -18px rgba(10,18,48,.55);
}
.cas-fan .design:nth-child(1) { transform: translate(-50%, -50%) translateX(-165px) rotate(-14deg); }
.cas-fan .design:nth-child(2) { transform: translate(-50%, -50%) translateX(-58px) rotate(-5deg); z-index: 1; }
.cas-fan .design:nth-child(3) { transform: translate(-50%, -50%) translateX(55px) rotate(5deg); z-index: 2; }
.cas-fan .design:nth-child(4) { transform: translate(-50%, -50%) translateX(165px) rotate(14deg); z-index: 1; }
.cas-fan .design:hover { z-index: 5; box-shadow: 0 30px 50px -16px rgba(10,18,48,.7); }
.cas-fan .design:nth-child(1):hover { transform: translate(-50%, -56%) translateX(-165px) rotate(-10deg) scale(1.06); }
.cas-fan .design:nth-child(2):hover { transform: translate(-50%, -56%) translateX(-58px) rotate(-2deg) scale(1.06); }
.cas-fan .design:nth-child(3):hover { transform: translate(-50%, -56%) translateX(55px) rotate(2deg) scale(1.06); }
.cas-fan .design:nth-child(4):hover { transform: translate(-50%, -56%) translateX(165px) rotate(10deg) scale(1.06); }
@media (max-width: 860px) {
  .cas-fan { height: 340px; }
  .cas-fan .design { width: 130px; }
  .cas-fan .design:nth-child(1) { transform: translate(-50%, -50%) translateX(-110px) rotate(-14deg); }
  .cas-fan .design:nth-child(2) { transform: translate(-50%, -50%) translateX(-38px) rotate(-5deg); }
  .cas-fan .design:nth-child(3) { transform: translate(-50%, -50%) translateX(36px) rotate(5deg); }
  .cas-fan .design:nth-child(4) { transform: translate(-50%, -50%) translateX(110px) rotate(14deg); }
}

/* Diseños Casserita con forma de saco lleno */
.cas-fan .design {
  background: none; border-radius: 0; overflow: visible; box-shadow: none;
  filter: drop-shadow(0 20px 22px rgba(120,90,0,.35)) drop-shadow(0 3px 4px rgba(10,18,48,.15));
}
.cas-fan .design:hover { box-shadow: none; filter: drop-shadow(0 30px 28px rgba(120,90,0,.42)) drop-shadow(0 3px 4px rgba(10,18,48,.15)); }
.sack {
  position: relative; display: block;
  /* silueta: costados abultados, esquinas pellizcadas y orejas de costura */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 160' preserveAspectRatio='none'%3E%3Cpath d='M0 1.5 L7 4.5 Q50 1 93 4.5 L100 1.5 L97.5 9 Q101 80 97.5 151 L100 158.5 L93 155.5 Q50 159 7 155.5 L0 158.5 L2.5 151 Q-1 80 2.5 9 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 160' preserveAspectRatio='none'%3E%3Cpath d='M0 1.5 L7 4.5 Q50 1 93 4.5 L100 1.5 L97.5 9 Q101 80 97.5 151 L100 158.5 L93 155.5 Q50 159 7 155.5 L0 158.5 L2.5 151 Q-1 80 2.5 9 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.sack img { display: block; width: 100%; aspect-ratio: 9 / 15; object-fit: cover; }
/* volumen suave: saco blanco y brillante, con sombras ligeras */
.sack img { filter: brightness(1.12) contrast(1.04) saturate(1.12); }
.sack::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 28%, rgba(255,255,255,.55) 40%, rgba(255,255,255,.15) 47%, transparent 56%),
    radial-gradient(ellipse 60% 40% at 40% 32%, rgba(255,255,255,.45), transparent 70%),
    radial-gradient(ellipse 90% 66% at 50% 50%, transparent 62%, rgba(10,18,48,.16) 100%),
    linear-gradient(90deg, rgba(10,18,48,.12), transparent 10%, transparent 86%, rgba(10,18,48,.14)),
    linear-gradient(180deg, rgba(10,18,48,.12), transparent 7%, transparent 93%, rgba(10,18,48,.14)),
    rgba(255,255,255,.12);
}
/* textura de tejido de polipropileno + costuras arriba y abajo */
.sack::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.85) 0 5px, transparent 5px 9px) 0 3.2% / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, rgba(255,255,255,.85) 0 5px, transparent 5px 9px) 0 96.6% / 100% 2px no-repeat,
    repeating-linear-gradient(0deg, rgba(255,255,255,.12) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.1) 0 1px, transparent 1px 3px);
  mix-blend-mode: normal;
}

/* Barra superior fija: WhatsApp y teléfono */
:root { --topbar-h: 38px; }
.topbar { background: var(--navy-900); color: #fff; height: var(--topbar-h); }
.topbar-inner {
  height: 100%; width: min(1320px, 100% - 32px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.topbar-msg { font: 600 .78rem var(--mono); letter-spacing: .06em; color: var(--turq-300); text-transform: uppercase; }
.tb-number {
  margin-left: auto; position: relative; display: flex; align-items: center; gap: 6px;
  padding: 3px 14px 3px 3px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(95,192,181,.22), rgba(79,227,212,.08));
  box-shadow: inset 0 0 0 1px rgba(127,214,203,.55), 0 0 18px -4px rgba(79,227,212,.55);
}
.tb-ico {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  transition: transform .2s;
}
.tb-ico svg { width: 15px; height: 15px; }
.tb-ico.tb-wa { background: #25d366; color: #fff; }
.tb-ico.tb-tel { background: var(--turq-400); color: var(--navy-900); }
.tb-ico:hover { transform: scale(1.12); }
.tb-num {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 4px;
  font: 800 1.08rem var(--font); letter-spacing: .08em; color: #fff; text-decoration: none; white-space: nowrap;
  text-shadow: 0 0 12px rgba(79,227,212,.55);
}
.tb-live { width: 8px; height: 8px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 0 rgba(37,211,102,.7); animation: tbLive 1.8s infinite; }
@keyframes tbLive { 70% { box-shadow: 0 0 0 7px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@media (max-width: 1020px) {
  .nav { inset: calc(var(--header-h) + var(--topbar-h)) 0 auto 0; }
}
@media (max-width: 600px) {
  .topbar-msg { display: none; }
  .tb-number { margin: 0 auto; }
}

/* =========================================================
   PORTADA DEL INICIO (versión elegante)
   ========================================================= */
.hero--home { min-height: calc(100svh - var(--header-h) - var(--topbar-h)); padding-bottom: 92px; flex-direction: column; justify-content: center; align-items: stretch; }
.hero--home .hero-grid { width: min(1200px, 100% - 32px); }
.hero--home::before {
  background:
    radial-gradient(ellipse 45% 55% at 76% 46%, rgba(79,227,212,.22), transparent 70%),
    linear-gradient(100deg, rgba(10,18,48,.97) 0%, rgba(14,24,62,.9) 40%, rgba(20,33,80,.62) 68%, rgba(10,18,48,.75) 100%);
}
.hero--home::after { opacity: .1; }
.hero-grid {
  position: relative; z-index: 3; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.hero--home .hero-content { padding: 56px 0 40px; }
.hero--home h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.03em; }
.hero-rule {
  display: block; width: 120px; height: 3px; border-radius: 3px; margin: 6px 0 22px;
  background: linear-gradient(90deg, var(--cyan-glow), rgba(79,227,212,0));
}
.hero--home .lead { font-weight: 500; color: #fff; }
.hero--home .desc { color: #b9c5e2; max-width: 520px; }

/* sacos flotantes */
.hero-visual { position: relative; height: 470px; }
.hv-ring {
  position: absolute; left: 50%; top: 50%; width: 400px; height: 400px; border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(127,214,203,.35);
  box-shadow: 0 0 60px -10px rgba(79,227,212,.35), inset 0 0 60px -20px rgba(79,227,212,.35);
}
.hv-ring--2 { width: 460px; height: 460px; border: 1px dashed rgba(127,214,203,.25); box-shadow: none; animation: hvSpin 60s linear infinite; }
@keyframes hvSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hv-sack {
  position: absolute; display: block; width: 170px;
  filter: drop-shadow(0 26px 24px rgba(0,0,0,.45));
  animation: hvFloat 7s ease-in-out infinite;
}
.hv-sack .sack img { aspect-ratio: 9 / 15; }
.hv-1 { left: 7%; top: 92px; --r: -12deg; animation-delay: -2s; }
.hv-3 { right: 5%; top: 100px; --r: 11deg; animation-delay: -4.5s; }
.hv-2 { left: 50%; top: 40px; width: 205px; margin-left: -102px; --r: 0deg; z-index: 2; }
@keyframes hvFloat {
  0%, 100% { transform: translateY(0) rotate(var(--r)); }
  50% { transform: translateY(-14px) rotate(var(--r)); }
}
.hv-badge {
  position: absolute; left: 0; bottom: 18px; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 16px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: hvFloat 8s ease-in-out infinite; --r: 0deg;
}
.hv-badge strong { font-size: 2.2rem; font-weight: 800; color: var(--cyan-glow); line-height: 1; }
.hv-badge small { font-size: .8rem; color: #d7e0f3; line-height: 1.2; }

/* franja inferior de vidrio */
.hero-strip {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  background: rgba(10,18,48,.55); border-top: 1px solid rgba(127,214,203,.22);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hero-strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 20px 0; }
.hs-item { display: flex; align-items: center; gap: 14px; color: #c9d3ea; font-size: .95rem; }
.hs-item strong { color: #fff; }
.hs-ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(95,192,181,.16); color: var(--cyan-glow); border: 1px solid rgba(127,214,203,.3);
}
.hs-ico svg { width: 21px; height: 21px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero--home .hero-content { padding-bottom: 10px; }
  .hero-visual { height: 340px; }
  .hv-ring { width: 290px; height: 290px; } .hv-ring--2 { width: 330px; height: 330px; }
  .hv-sack { width: 120px; } .hv-2 { width: 148px; margin-left: -74px; top: 30px; }
  .hv-1 { left: 12%; top: 70px; } .hv-3 { right: 12%; top: 76px; }
  .hero--home { padding-bottom: 0; }
  .hero-strip { position: relative; }
}
@media (max-width: 640px) {
  .hero-strip-inner { grid-template-columns: 1fr; gap: 12px; padding: 18px 0; }
  .hv-1 { left: 2%; } .hv-3 { right: 2%; }
  .hv-badge { bottom: 0; }
}

/* Ajustes para celular */
@media (max-width: 640px) {
  .hero-visual { height: 300px; }
  .hv-ring { width: 240px; height: 240px; } .hv-ring--2 { width: 272px; height: 272px; }
  .hv-sack { width: 96px; }
  .hv-2 { width: 124px; margin-left: -62px; top: 34px; }
  .hv-1 { left: 7%; top: 74px; } .hv-3 { right: 7%; top: 78px; }
  .process { grid-template-columns: 1fr 1fr; gap: 12px; }
  .step-body { padding: 10px 12px 12px; }
  .step h3 { font-size: .92rem; }
  .step p { font-size: .78rem; }
  .step-media::after { display: none; }
  .step-media::before { display: none; }
  .step-num { right: 8px; top: 8px; font-size: .7rem; padding: 3px 8px; }
}
@media (max-width: 560px) {
  .products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product { aspect-ratio: 3 / 4; border-radius: 16px; }
  .product-body { padding: 12px; }
  .product h3 { font-size: 1.02rem; margin: 2px 0 0; }
  .product p { display: none; }
  .product .arrow { top: 10px; right: 10px; width: 34px; height: 34px; }
  .product .arrow svg { width: 14px; height: 14px; }
  .bag-stage { min-height: 340px; }
}
@media (max-width: 480px) { .contact-card .mail { font-size: .92rem; } }
