/* ============================================================
   CACAGUATE — Sistema de diseño (refresh 2026)
   Basado en el catálogo 2026–27: negro, hueso y dorado.
   ============================================================ */

:root {
  --ink:      #111111;
  --ink-2:    #1a1a1a;
  --tx:       #1d1d1f;
  --mut:      #6e6e73;
  --mut-dk:   #a1a1a6;
  --bone:     #f5f5f7;
  --card:     #F4F2EE;
  --white:    #ffffff;
  --gold:     #C9973B;
  --gold-lt:  #E8B85D;
  --gold-dk:  #A67B2B;
  --line:     rgba(0,0,0,.08);
  --line-dk:  rgba(255,255,255,.12);
  --wa:       #25D366;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-full: 999px;

  --hdr-h: 72px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;

  --fs-display: clamp(3rem, 8.5vw, 7.25rem);
  --fs-h1: clamp(2.6rem, 6vw, 5rem);
  --fs-h2: clamp(2rem, 4.2vw, 3.4rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.6rem);

  --ease: cubic-bezier(.2,.7,.2,1);
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--tx);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }

/* ---------- Tipografía ---------- */
.kick {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-dk); margin-bottom: 18px;
}
.kick::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.on-ink .kick, .kick--lt { color: var(--gold); }
.h1 { font-size: var(--fs-h1); font-weight: 900; letter-spacing: -.045em; line-height: .98; }
.h2 { font-size: var(--fs-h2); font-weight: 900; letter-spacing: -.035em; line-height: 1.02; color: var(--ink); }
.h3 { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.on-ink .h1, .on-ink .h2, .on-ink .h3 { color: #fff; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.6; color: #3a3a3c; max-width: 620px; }
.on-ink .lead { color: var(--mut-dk); }
.gold { color: var(--gold); }
.muted { color: var(--mut); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-full);
  font-size: 15px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-lt); box-shadow: 0 10px 30px rgba(201,151,59,.35); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.btn--ghost-lt { border: 1.5px solid rgba(255,255,255,.3); color: #fff; }
.btn--ghost-lt:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--ghost { border: 1.5px solid rgba(0,0,0,.18); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1fbd5a; box-shadow: 0 10px 30px rgba(37,211,102,.35); }
.btn svg { width: 20px; height: 20px; flex: none; }
.arrow-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.arrow-link:hover span { transform: translateX(4px); }
.arrow-link span { transition: transform .25s var(--ease); }

/* ============================================================
   HEADER — negro con logo blanco
   ============================================================ */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hdr-h);
  background: rgba(17,17,17,.92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-dk);
  transition: height .3s var(--ease), background .3s;
}
.hdr.is-scrolled { --hdr-h: 62px; background: rgba(17,17,17,.97); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.hdr__logo { display: flex; align-items: center; flex: none; }
.hdr__logo img { height: 28px; width: auto; transition: height .3s var(--ease); }
.hdr.is-scrolled .hdr__logo img { height: 25px; }
.hdr__nav { display: flex; gap: 4px; margin-left: auto; }
.hdr__link {
  position: relative; padding: 8px 14px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,.72); transition: color .2s, background .2s;
}
.hdr__link:hover { color: #fff; background: rgba(255,255,255,.06); }
.hdr__link.is-active { color: #fff; }
.hdr__link.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold); }
.hdr__actions { display: flex; align-items: center; gap: 10px; }
.hdr__cat { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--gold-lt); padding: 8px 12px; border-radius: var(--r-full); }
.hdr__cat:hover { background: rgba(201,151,59,.12); }
.hdr__cat svg { width: 16px; height: 16px; }
.hdr__burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; margin-left: auto; }
.hdr__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.hdr__burger span:nth-child(1) { top: 16px; }
.hdr__burger span:nth-child(2) { top: 21px; }
.hdr__burger span:nth-child(3) { top: 26px; }
.hdr__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hdr__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mmenu {
  position: fixed; inset: var(--hdr-h) 0 0 0; z-index: 99; background: var(--ink); color: #fff;
  padding: 32px var(--gutter) 40px; display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.mmenu.is-open { opacity: 1; visibility: visible; transform: none; }
.mmenu__link { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line-dk); font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.mmenu__link small { font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: .1em; }
.mmenu__link.is-active { color: var(--gold-lt); }
.mmenu .btn { margin-top: 28px; }
.mmenu__foot { margin-top: auto; padding-top: 32px; font-size: 14px; color: var(--mut-dk); display: grid; gap: 4px; }

main { padding-top: var(--hdr-h); }

/* ============================================================
   SECCIONES
   ============================================================ */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec--sm { padding: clamp(48px, 6vw, 72px) 0; }
.sec--bone { background: var(--bone); }
.sec--ink { background: var(--ink); color: var(--bone); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 5vw, 60px); flex-wrap: wrap; }
.sec-head .lead { margin-top: 16px; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.sec-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- HERO (home) ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; min-height: min(calc(100svh - var(--hdr-h)), 880px); display: flex; align-items: center; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; position: relative; z-index: 2; }
.hero__title { font-size: var(--fs-display); font-weight: 900; letter-spacing: -.05em; line-height: .9; margin: 6px 0 26px; }
.hero__title em { font-style: normal; color: var(--gold); }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--mut-dk); max-width: 480px; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__meta { display: flex; gap: 32px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dk); flex-wrap: wrap; }
.hero__meta div { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mut-dk); }
.hero__meta b { display: block; font-size: 30px; font-weight: 900; letter-spacing: -.03em; color: #fff; text-transform: none; line-height: 1.1; }
.hero__el { position: absolute; right: -6%; bottom: -8%; width: min(760px, 70vw); opacity: .045; pointer-events: none; z-index: 1; }

/* Muro de productos en movimiento */
.wall { height: min(640px, 72vh); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); }
.wall__col { display: flex; flex-direction: column; gap: 14px; animation: wall-up 38s linear infinite; }
.wall__col:nth-child(2) { animation-name: wall-down; animation-duration: 44s; }
.wall__col:nth-child(3) { animation-duration: 34s; }
.wall:hover .wall__col { animation-play-state: paused; }
.wall__tile { position: relative; aspect-ratio: 4/5; background: var(--card); border-radius: var(--r-md); padding: 18px; display: flex; align-items: center; justify-content: center; flex: none; }
.wall__tile img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.wall__tile span { position: absolute; left: 10px; top: 10px; font-size: 10px; font-weight: 800; letter-spacing: .06em; color: var(--ink); background: #fff; border-radius: var(--r-full); padding: 3px 8px; }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }

/* ---------- Ticker dorado ---------- */
.ticker { background: var(--gold); color: var(--ink); overflow: hidden; padding: 16px 0; border-block: 1px solid rgba(0,0,0,.1); }
.ticker__track { display: flex; width: max-content; gap: 40px; animation: tick 40s linear infinite; }
.ticker__item { display: flex; align-items: center; gap: 40px; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 900; letter-spacing: -.02em; white-space: nowrap; }
.ticker__item::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.ticker__item--q { font-style: italic; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.intro p + p { margin-top: 16px; }
.intro__txt p { color: #3a3a3c; font-size: 17px; line-height: 1.7; }
.intro__txt .lead { color: var(--tx); font-size: clamp(1.15rem, 1.6vw, 1.3rem); margin-top: 22px; }
.intro__txt .arrow-link { margin-top: 28px; }
.steps { background: var(--card); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 40px); }
.steps ol { counter-reset: s; margin-top: 8px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 52px; color: #3a3a3c; line-height: 1.5; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -3px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--gold-lt); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.steps li b { color: var(--ink); }
.steps__contact { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 6px; }
.lbl { display: block; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 2px; }
.steps__contact a, .steps__contact div { font-weight: 600; color: var(--ink); font-size: 15px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 36px); margin-top: clamp(48px, 6vw, 72px); }
.stats > div { padding: 0 20px; border-left: 1px solid var(--line-dk); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.04em; color: var(--gold-lt); line-height: 1.05; }
.stats span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mut-dk); }

/* ---------- Categorías (índice del catálogo) ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.cat:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,.08); }
.cat__img { aspect-ratio: 1/1; background: var(--card); display: grid; place-items: center; padding: 22px; }
.cat__img img { max-height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.cat:hover .cat__img img { transform: scale(1.06) rotate(-2deg); }
.cat__body { padding: 16px 18px 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.cat__n { font-size: 12px; font-weight: 800; color: var(--gold); }
.cat__name { font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.15; }
.cat__count { font-size: 12px; color: var(--mut); white-space: nowrap; }
.cat--cta { background: var(--ink); color: #fff; border: 0; justify-content: space-between; padding: 26px; }
.cat--cta .cat__name { color: #fff; font-size: 24px; }
.cat--cta p { color: var(--mut-dk); font-size: 14px; margin-top: 10px; }
.cat--cta .btn { align-self: flex-start; }

/* ---------- Tarjetas de producto (como en el catálogo) ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 16px; border-radius: var(--r-full); border: 1.5px solid rgba(0,0,0,.12); font-size: 13px; font-weight: 700; color: var(--tx); background: #fff; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.on-ink .chip { background: transparent; color: rgba(255,255,255,.75); border-color: var(--line-dk); }
.on-ink .chip:hover { border-color: #fff; color: #fff; }
.on-ink .chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.prow { position: relative; }
.prow__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 22px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.prow__track::-webkit-scrollbar { height: 6px; }
.prow__track::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 6px; }
.prow__nav { display: flex; gap: 8px; }
.prow__btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,.15); display: grid; place-items: center; font-size: 18px; transition: all .2s; background: #fff; }
.prow__btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.pgrid-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }

.pcard { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: #fff; width: 100%; max-width: 340px; transition: transform .35s var(--ease), box-shadow .35s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0,0,0,.08); }
.pcard[hidden] { display: none; }
.pcard__img { position: relative; background: var(--card); aspect-ratio: 1/1; padding: 26px; display: grid; place-items: center; }
.pcard__img img { max-height: 100%; width: auto; object-fit: contain; transition: transform .5s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__sku { position: absolute; top: 12px; left: 12px; font-size: 10px; font-weight: 800; letter-spacing: .08em; color: var(--ink); background: #fff; border-radius: var(--r-full); padding: 5px 10px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.pcard__cap { position: absolute; top: 12px; right: 12px; font-size: 10px; font-weight: 800; color: #fff; background: var(--gold); border-radius: var(--r-full); padding: 5px 10px; }
.pcard__body { padding: 18px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pcard__sub { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dk); }
.pcard__name { font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 4px 0 10px; line-height: 1.15; }
.pcard__specs { border-top: 1px solid var(--line); }
.pcard__specs div { display: grid; grid-template-columns: 82px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; line-height: 1.35; }
.pcard__specs dt { color: var(--mut); font-weight: 600; }
.pcard__specs dd { color: var(--tx); font-weight: 500; }
.pcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; }
.pcard__tech { display: flex; flex-wrap: wrap; gap: 5px; }
.pcard__tech span { font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border: 1px solid rgba(0,0,0,.15); border-radius: var(--r-full); padding: 3px 8px; }
.pcard__cols { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.pcard__cols i { width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.pcard__cta { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--ink); }
.pcard__cta span { color: var(--gold); transition: transform .25s var(--ease); }
.pcard__cta:hover span { transform: translateX(4px); }
.pcard__body > .pcard__foot { margin-bottom: 4px; }

/* ---------- Servicios ---------- */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dk); border: 1px solid var(--line-dk); border-radius: var(--r-lg); overflow: hidden; }
.svc__item { background: var(--ink); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; min-height: 280px; transition: background .3s; }
.svc__item:hover { background: var(--ink-2); }
.svc__n { font-size: 13px; font-weight: 800; color: var(--gold); }
.svc__item h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1.15; }
.svc__item p { color: var(--mut-dk); font-size: 15px; line-height: 1.6; }
.svc__item a { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--gold-lt); }
.svc__item a:hover { color: #fff; }

/* ---------- Técnicas ---------- */
.tq { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tq__item { background: var(--card); border-radius: var(--r-md); padding: 24px 22px; border-left: 3px solid var(--gold); }
.tq__item h3 { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.tq__item p { font-size: 14px; color: #4a4a4e; line-height: 1.55; }

/* ---------- Proceso ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: p; }
.process__step { position: relative; padding: 28px 24px; border-radius: var(--r-md); border: 1px solid var(--line-dk); }
.process__step::before { counter-increment: p; content: "0" counter(p); display: block; font-size: 54px; font-weight: 900; letter-spacing: -.05em; line-height: 1; color: var(--gold); margin-bottom: 18px; }
.process__step h3 { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.process__step p { font-size: 14.5px; color: var(--mut-dk); line-height: 1.6; }

/* ---------- Logos clientes (marquee) ---------- */
.logos { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__track { display: flex; width: max-content; gap: 14px; animation: tick 34s linear infinite; }
.logos__item { flex: none; padding: 18px 30px; border-radius: var(--r-full); border: 1px solid var(--line); font-size: 20px; font-weight: 900; letter-spacing: -.03em; color: #9a9aa0; background: #fff; }
.logos__label { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mut); margin-bottom: 24px; }

/* ---------- Testimonios ---------- */
.tst { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
.tst::-webkit-scrollbar { display: none; }
.tst__card { scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.tst__stars { color: var(--gold); letter-spacing: 3px; }
.tst__q { font-size: 17px; line-height: 1.6; color: var(--tx); }
.tst__who { margin-top: auto; display: flex; gap: 12px; align-items: center; }
.tst__who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.tst__who b { display: block; color: var(--ink); font-size: 15px; }
.tst__who span { font-size: 13px; color: var(--mut); }

/* ---------- Banner del catálogo (divisor) ---------- */
.catban { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px); overflow: hidden; }
.catban__n { font-size: clamp(5rem, 12vw, 9rem); font-weight: 900; letter-spacing: -.06em; line-height: .8; color: var(--gold); }
.catban h2 { margin: 18px 0 14px; }
.catban p { color: var(--mut-dk); max-width: 440px; }
.catban .btn { margin-top: 28px; }
.catban__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.catban__imgs div { background: var(--card); border-radius: var(--r-md); aspect-ratio: 1; padding: 18px; display: grid; place-items: center; }
.catban__imgs div:nth-child(2) { transform: translateY(24px); }
.catban__imgs div:nth-child(3) { transform: translateY(-24px); }
.catban__imgs img { max-height: 100%; object-fit: contain; }

/* ---------- Contacto / formularios ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.channels { display: grid; gap: 10px; margin-top: 28px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
a.channel:hover { border-color: var(--gold); transform: translateX(4px); }
.channel__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--gold-lt); display: grid; place-items: center; flex: none; }
.channel__ic svg { width: 20px; height: 20px; }
.channel__ic--wa { background: var(--wa); color: #fff; }
.channel b { display: block; font-size: 16px; color: var(--ink); }
.channel__go { margin-left: auto; color: var(--gold); font-weight: 800; }
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.hours div { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 18px; }
.hours b { display: block; color: var(--ink); }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 60px rgba(0,0,0,.05); }
.form h2 { font-size: 28px; font-weight: 900; letter-spacing: -.03em; color: var(--ink); }
.form > p { color: var(--mut); margin: 6px 0 26px; font-size: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-label { font-size: 13px; font-weight: 700; color: var(--ink); }
.form-control { width: 100%; font: inherit; font-size: 15px; color: var(--tx); background: var(--bone); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 15px; transition: border-color .2s, background .2s; appearance: none; -webkit-appearance: none; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23111' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-control:focus { outline: none; border-color: var(--gold); background: #fff; }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; margin-top: 6px; }
.form-message { margin-top: 14px; font-size: 14px; border-radius: 12px; }
.form-message.success, .form-message.error { padding: 14px 16px; }
.form-message.success { background: #ecfdf3; color: #166534; }
.form-message.error { background: #fef2f2; color: #991b1b; }
.form-message a { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 24px; transition: border-color .2s; }
.faq details[open] { border-color: var(--gold); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--gold); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: #4a4a4e; padding-bottom: 22px; line-height: 1.7; }

/* ============================================================
   SUBPÁGINAS
   ============================================================ */
.phero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: clamp(72px, 11vw, 140px) 0 clamp(56px, 8vw, 96px); }
.phero__n { font-size: clamp(4.5rem, 11vw, 9rem); font-weight: 900; letter-spacing: -.06em; line-height: .8; color: var(--gold); margin-bottom: 18px; }
.phero h1 { font-size: var(--fs-h1); font-weight: 900; letter-spacing: -.045em; line-height: .98; max-width: 900px; }
.phero h1 em { font-style: normal; color: var(--gold); }
.phero p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--mut-dk); max-width: 560px; margin-top: 22px; }
.phero__el { position: absolute; right: -4%; bottom: -14%; width: min(620px, 60vw); opacity: .05; pointer-events: none; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--mut-dk); margin-bottom: 28px; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: var(--gold-lt); }

/* Detalle de servicio */
.srow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); }
.srow:last-child { border-bottom: 0; }
.srow:nth-child(even) .srow__media { order: -1; }
.srow__n { font-size: 14px; font-weight: 800; color: var(--gold); }
.srow h2 { margin: 10px 0 18px; }
.srow p { color: #3a3a3c; font-size: 17px; line-height: 1.7; }
.srow .btn { margin-top: 28px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags span { padding: 7px 14px; border-radius: var(--r-full); background: var(--card); font-size: 13px; font-weight: 600; color: var(--ink); }
.srow__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--card); }
.srow__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.srow:hover .srow__media img { transform: scale(1.04); }

/* Nosotros */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.story p { color: #3a3a3c; font-size: 17px; line-height: 1.75; margin-top: 16px; }
.story__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5/6; position: relative; }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__badge { position: absolute; left: 20px; bottom: 20px; background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 16px 20px; }
.story__badge b { display: block; font-size: 28px; font-weight: 900; color: var(--gold-lt); line-height: 1; }
.story__badge span { font-size: 12px; color: var(--mut-dk); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.values__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 32px 28px; }
.values__item h3 { font-size: 20px; font-weight: 800; color: var(--ink); padding-top: 16px; border-top: 2px solid var(--gold); margin-bottom: 8px; }
.values__item p { color: #4a4a4e; font-size: 15px; line-height: 1.65; }

/* Portafolio */
.pf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.pf__item { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; background: var(--ink-2); transition: opacity .35s, transform .35s var(--ease); }
.pf__item:nth-child(5n+1) { grid-row: span 2; aspect-ratio: auto; }
.pf__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pf__item:hover img { transform: scale(1.06); }
.pf__item figcaption { position: absolute; inset: auto 0 0 0; padding: 22px; background: linear-gradient(transparent, rgba(0,0,0,.82)); color: #fff; }
.pf__item figcaption span { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-lt); }
.pf__item figcaption b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.pf__item.is-hidden { display: none; }

/* Clientes */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.client { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 34px 24px; text-align: center; transition: transform .3s var(--ease), border-color .3s; }
.client:hover { transform: translateY(-4px); border-color: var(--gold); }
.client b { display: block; font-size: 24px; font-weight: 900; letter-spacing: -.03em; color: var(--ink); }
.client span { font-size: 13px; color: var(--mut); }
.sectors { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sectors span { padding: 12px 20px; border-radius: var(--r-full); border: 1px solid var(--line-dk); color: rgba(255,255,255,.85); font-weight: 600; font-size: 15px; }

/* Legal */
.legal { padding: clamp(48px, 7vw, 88px) 0; }
.legal h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 44px 0 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 24px 0 10px; }
.legal p, .legal li { color: #3a3a3c; line-height: 1.8; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal ul li { list-style: disc; }
.legal ol { padding-left: 22px; }
.legal ol li { list-style: decimal; }
.legal a { color: var(--gold-dk); text-decoration: underline; }
.legal strong { color: var(--ink); }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px; }
.legal th, .legal td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--bone); color: var(--ink); }
.legal .table-wrap { overflow-x: auto; }

/* ============================================================
   FOOTER — idéntico en todas las páginas
   ============================================================ */
.ftr { background: var(--ink); color: var(--bone); position: relative; overflow: hidden; }
.ftr__cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; padding: clamp(64px, 9vw, 112px) 0 clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line-dk); position: relative; z-index: 1; }
.ftr__cta h2 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 900; letter-spacing: -.05em; line-height: .95; color: #fff; }
.ftr__cta h2 em { font-style: normal; color: var(--gold); }
.ftr__cta p { color: var(--mut-dk); margin-bottom: 22px; max-width: 420px; }
.ftr__cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0; position: relative; z-index: 1; }
.ftr__logo { height: 30px; width: auto; }
.ftr__brand p { color: var(--mut-dk); font-size: 14px; line-height: 1.65; margin: 18px 0 22px; max-width: 300px; }
.ftr__tag { font-size: 15px; font-weight: 800; color: var(--gold-lt); font-style: italic; letter-spacing: -.01em; }
.ftr__h { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.ftr__links { display: grid; gap: 10px; }
.ftr__links a, .ftr__links span { font-size: 14px; color: rgba(255,255,255,.72); transition: color .2s; }
.ftr__links a:hover { color: #fff; }
.ftr__social { display: flex; gap: 8px; margin-top: 4px; }
.ftr__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dk); display: grid; place-items: center; color: rgba(255,255,255,.75); transition: all .2s; }
.ftr__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.ftr__social svg { width: 16px; height: 16px; }
.ftr__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px 0 32px; border-top: 1px solid var(--line-dk); font-size: 13px; color: var(--mut-dk); position: relative; z-index: 1; }
.ftr__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.ftr__legal a:hover { color: #fff; }
.ftr__el { position: absolute; right: -80px; top: 40px; width: 520px; opacity: .04; pointer-events: none; }

/* ---------- Flotantes ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; border-radius: var(--r-full); padding: 14px 20px 14px 16px; font-weight: 700; font-size: 14px; box-shadow: 0 12px 30px rgba(37,211,102,.35); transition: transform .25s var(--ease); }
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 22px; height: 22px; fill: currentColor; }

.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 95; max-width: 420px; background: var(--ink); color: var(--bone); border-radius: var(--r-md); padding: 20px; box-shadow: 0 20px 50px rgba(0,0,0,.3); display: grid; gap: 14px; transition: opacity .3s, transform .3s var(--ease); }
.cookie.hidden { opacity: 0; transform: translateY(16px); pointer-events: none; visibility: hidden; }
.cookie p { font-size: 14px; color: var(--mut-dk); }
.cookie a { color: var(--gold-lt); text-decoration: underline; }
.cookie__btns { display: flex; gap: 8px; }

/* ---------- Animación de entrada ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hdr__nav, .hdr__actions { display: none; }
  .hdr__burger { display: block; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .tq { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .wall { height: 300px; grid-template-columns: repeat(3, 1fr); }
  .intro, .contact, .story, .catban, .ftr__cta { grid-template-columns: 1fr; }
  .srow { grid-template-columns: 1fr; }
  .srow:nth-child(even) .srow__media { order: 0; }
  .svc, .values, .pf { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .catban__imgs { max-width: 420px; }
}
@media (max-width: 640px) {
  :root { --hdr-h: 64px; }
  .hdr__logo img { height: 24px; }
  .cats, .svc, .values, .pf, .process, .tq, .form-row, .hours, .steps__contact { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat__body { flex-direction: column; align-items: flex-start; padding: 12px 14px 14px; }
  .cat__name { font-size: 15px; }
  .clients { grid-template-columns: 1fr 1fr; }
  .pf__item:nth-child(5n+1) { grid-row: auto; aspect-ratio: 4/3; }
  .ftr__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__meta { gap: 20px; }
  .hero__meta b { font-size: 24px; }
  .wa-float span { display: none; }
  .wa-float { padding: 16px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .svc__item { min-height: 0; }
  .prow__track { grid-auto-columns: 82%; }
  .prow__nav { display: none; }
  .sec-head { margin-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* ---------- Imágenes de producto: caja fija, imagen contenida ---------- */
.pcard__img, .cat__img, .catban__imgs div, .wall__tile { position: relative; }
.pcard__img img, .cat__img img, .catban__imgs img, .wall__tile img {
  position: absolute; inset: var(--pad, 24px); width: calc(100% - 2 * var(--pad, 24px)); height: calc(100% - 2 * var(--pad, 24px));
  max-height: none; object-fit: contain;
}
.wall__tile { --pad: 16px; }
.catban__imgs div { --pad: 18px; }
.cat__img { --pad: 22px; }
.wall__tile span, .pcard__sku, .pcard__cap { z-index: 1; }
.stats b span { font: inherit; color: inherit; letter-spacing: inherit; text-transform: none; }
.catban__imgs div:nth-child(2), .catban__imgs div:nth-child(3) { transform: none; }
.catban__imgs div:nth-child(even) { margin-top: 28px; margin-bottom: -28px; }

/* Etiquetas de la tabla de cookies */
.cookie-type { display: inline-flex; padding: 3px 10px; border-radius: var(--r-full); font-size: 11px; font-weight: 700; white-space: nowrap; }
.cookie-type--necessary { background: #ecfdf3; color: #166534; }
.cookie-type--analytics { background: #eff6ff; color: #1d4ed8; }
.cookie-type--marketing { background: #fef2f2; color: #b91c1c; }
.cookie-type--functional { background: #fbf4e6; color: var(--gold-dk); }
.legal code { font-size: 13px; background: var(--bone); border-radius: 6px; padding: 1px 6px; }

/* ===== Modal: solicitar catálogo ===== */
.cmodal { border: 0; padding: 0; background: transparent; max-width: min(920px, calc(100% - 32px)); width: 100%; max-height: calc(100dvh - 32px); margin: auto; color: var(--tx); overflow: visible; }
.cmodal::backdrop { background: rgba(17,17,17,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cmodal[open] { animation: cmIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes cmIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.cmodal__box { position: relative; display: grid; grid-template-columns: 300px 1fr; background: #fff; border-radius: 24px; overflow: hidden; max-height: calc(100dvh - 32px); }
.cmodal__side { background: var(--ink); color: #fff; padding: 36px 28px; display: flex; flex-direction: column; gap: 4px; }
.cmodal__n { font-size: 72px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--gold); }
.cmodal__side > span:not(.cmodal__n) { font-size: 13px; color: rgba(255,255,255,.6); }
.cmodal__imgs { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 28px; }
.cmodal__imgs div { position: relative; aspect-ratio: 3/4; background: var(--card); border-radius: 14px; overflow: hidden; }
.cmodal__imgs div:nth-child(2) { margin-top: 28px; }
.cmodal__imgs img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; }
.cmodal__main { padding: 36px 36px 28px; overflow-y: auto; }
.cmodal__main h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 10px 0 12px; color: var(--ink); }
.cmodal__lead { color: var(--tx-2, #6e6e73); font-size: 15px; margin-bottom: 22px; }
.cmodal__main .form-submit { width: 100%; justify-content: center; }
.cmodal__main textarea.form-control { min-height: 72px; }
.cmodal__legal { font-size: 12px; color: #8a8a8e; margin-top: 10px; text-align: center; }
.cmodal__legal a { text-decoration: underline; }
.form-opt { font-weight: 500; color: #8a8a8e; }
.cmodal__x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bone); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s, transform .2s; }
.cmodal__x:hover { background: var(--gold-lt); transform: rotate(90deg); }
.cmodal__done { text-align: center; padding: 30px 0 10px; }
.cmodal__done b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 14px 0 8px; }
.cmodal__done svg { width: 56px; height: 56px; color: var(--gold); }
.cmodal__done p { color: #6e6e73; margin-bottom: 20px; }
html.cm-lock { overflow: hidden; }
@media (max-width: 760px) {
  .cmodal__box { grid-template-columns: 1fr; }
  .cmodal__side { display: none; }
  .cmodal__main { padding: 28px 20px 22px; }
  .cmodal__main h2 { padding-right: 40px; }
}
@media (prefers-reduced-motion: reduce) { .cmodal[open] { animation: none; } }
