/* PrintIt · sitio B2B/B2C · sistema de diseño
   Marca: kit v1.0. Movimiento: solo transform + opacity (+ clip-path en revelados). */

:root {
  --brand: #6D22C0;
  --deep: #2B0B52;
  --violet: #8B2FE0;
  --lav: #DEC3FA;
  --pink: #F0529C;
  --wa: #25D366;
  --ink: #1B1524;
  --paper: #FBF8FF;
  --ink-soft: #5b5170;
  --line: #e7dcf6;
  --hero-grad: linear-gradient(160deg, #3a0f6e 0%, #8B2FE0 62%, #B15CF0 100%);

  --r-card: 20px;
  --shadow-card: 0 10px 30px -12px rgba(109, 34, 192, .28);
  --shadow-card-hover: 0 18px 40px -14px rgba(109, 34, 192, .38);

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);

  --f-head: "Baloo 2", system-ui, sans-serif;
  --f-body: "Poppins", system-ui, sans-serif;
  --f-script: "Pacifico", cursive;
  --f-display: "Bungee", "Baloo 2", sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --max: 1200px;
  --hdr: 88px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.65 var(--f-body);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin: 0; }
.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 999px; transition: transform .2s var(--ease-out); }
.skip:focus { transform: translateY(72px); }

/* ---------- texto de acento: UNA palabra en Pacifico con pincel rosa ---------- */
.script {
  font-family: var(--f-script);
  font-weight: 400;
  position: relative;
  display: inline-block;
  padding: .02em .28em .1em;
  margin-inline: .04em;
  color: #fff;
  letter-spacing: 0;
  line-height: 1.25;
  isolation: isolate;
}
.script::before {
  content: "";
  position: absolute; inset: .12em 0 .02em;
  background: var(--pink);
  border-radius: 12px;
  transform: rotate(-1.6deg);
  z-index: -1;
}
.script-plain { font-family: var(--f-script); font-weight: 400; color: var(--brand); letter-spacing: 0; }

.eyebrow { font: 600 .78rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; display: inline-block; }
.on-dark .eyebrow, .dark .eyebrow, .guide .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .closing .eyebrow { color: var(--lav); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 58ch; }
.dark .lead, .hero .lead, .page-hero .lead, .guide .lead, .closing .lead { color: rgba(255,255,255,.84); }
[tabindex="-1"]:focus { outline: none; }

/* ---------- botones: pill, hover -8% brillo, press .97 ---------- */
.btn {
  --bg: var(--brand); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; min-height: 52px;
  background: var(--bg); color: var(--fg);
  border: 0; border-radius: 999px; text-decoration: none;
  font: 600 1rem/1.1 var(--f-body);
  transition: transform 160ms var(--ease-out), filter 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
  position: relative; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { filter: brightness(.92); }
}
.btn-wa { --bg: var(--wa); --fg: #0b2e18; box-shadow: 0 10px 24px -10px rgba(37,211,102,.7); }
.btn-ghost { --bg: transparent; --fg: var(--brand); box-shadow: inset 0 0 0 2px var(--lav); }
.dark .btn-ghost, .hero .btn-ghost { --fg: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.45); }
.btn-light { --bg: #fff; --fg: var(--deep); }
.btn-sm { padding: 10px 20px; min-height: 44px; font-size: .94rem; }
.btn-wa.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37,211,102,.7);
  animation: pulse 1.4s var(--ease-out) 1;
}
@keyframes pulse { to { box-shadow: 0 0 0 18px rgba(37,211,102,0); } }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--hdr);
  display: flex; align-items: center;
  transition: height 250ms var(--ease-out), background-color 250ms ease, box-shadow 250ms ease;
  color: #fff;
}
.hdr.light-top { color: var(--ink); }
.hdr.scrolled {
  height: 76px;
  background: rgba(251,248,255,.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { width: 96px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: .96rem;
  padding: 10px 14px; border-radius: 999px; position: relative;
  transition: background-color 160ms ease;
}
.nav a:not(.btn)[aria-current="page"] { font-weight: 600; }
.nav a:not(.btn)[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7;
}
@media (hover: hover) and (pointer: fine) {
  .nav a:not(.btn):hover { background: rgba(139,47,224,.14); }
}
.nav .btn { margin-left: 12px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: inherit; place-items: center; }
.hdr.scrolled .burger, .hdr.light-top .burger { background: var(--lav); }
.burger svg { width: 24px; height: 24px; }
.sheet {
  position: fixed; inset: 0; z-index: 60; background: var(--deep); color: #fff;
  display: flex; flex-direction: column; padding: 24px var(--gutter) 32px;
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
}
.sheet.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; }
.sheet nav { display: flex; flex-direction: column; margin-top: 28px; gap: 2px; }
.sheet nav a { font: 800 2rem/1.2 var(--f-head); text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.sheet .btn { margin-top: auto; }

/* ---------- hero ---------- */
.hero {
  background: var(--hero-grad);
  color: #fff; position: relative; overflow: hidden;
  padding: calc(var(--hdr) + 56px) 0 96px;
}
.hero::after { /* grano sutil de brillo, sin ruido agresivo */
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 70vw; height: 70vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.14), transparent);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero h1 .w > span { display: inline-block; }
.swap { display: inline-block; min-width: 3ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .micro { margin-top: 20px; font-size: .92rem; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 8px; }
.hero .micro svg { width: 18px; height: 18px; }
.hero-photos { position: relative; aspect-ratio: 1/1.1; }
.hero-photos figure {
  position: absolute; margin: 0; overflow: hidden; border-radius: 50%;
  box-shadow: 0 24px 50px -20px rgba(20,0,50,.65);
  border: 4px solid rgba(255,255,255,.9);
}
.hero-photos img { width: 100%; height: 100%; object-fit: cover; }
.hero-photos .p1 { left: 0; top: 0; width: 60%; aspect-ratio: 1; }
.hero-photos .p2 { right: 0; top: 4%; width: 36%; aspect-ratio: 1; }
.hero-photos .p3 { left: 22%; bottom: 0; width: 48%; aspect-ratio: 1; }
.hero-photos .tag {
  position: absolute; right: 0; bottom: 6%; background: #fff; color: var(--deep);
  padding: 12px 16px; border-radius: 16px; font-weight: 600; font-size: .88rem; line-height: 1.3;
  box-shadow: var(--shadow-card); display: flex; gap: 10px; align-items: center; z-index: 2;
}
.hero-photos .tag svg { width: 22px; height: 22px; color: var(--brand); flex: none; }

/* ---------- secciones ---------- */
section { position: relative; }
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-tight { padding: clamp(40px, 6vw, 72px) 0; }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { margin-bottom: 26px; }
.sec-head .lead { margin-top: 0 !important; }
.dark { background: var(--deep); color: #fff; }
.lav-bg { background: #f2e8fd; }
.center { text-align: center; margin-inline: auto; }

/* prueba social: cinta continua */
.proof { background: #fff; border-bottom: 1px solid var(--line); padding: 26px 0; }
.proof-row { display: flex; align-items: center; gap: 32px; }
.proof-fact { flex: none; font-weight: 600; font-size: .95rem; line-height: 1.3; max-width: 170px; color: var(--deep); }
.proof-fact b { font: 800 1.9rem/1 var(--f-head); color: var(--brand); display: block; }
.marquee { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font: 800 1.5rem/1 var(--f-head); letter-spacing: .01em; padding: 0 28px; color: #a99dbb; white-space: nowrap;
  transition: color 200ms ease;
}
.marquee-track span:hover { color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* tarjetas */
.cards { display: grid; gap: 22px; }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border-radius: var(--r-card); padding: 28px;
  box-shadow: var(--shadow-card); border: 1px solid var(--line);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .card.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
}
.card h3 { margin: 16px 0 8px; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.ico { width: 56px; height: 56px; border-radius: 16px; background: var(--lav); color: var(--brand); display: grid; place-items: center; }
.ico svg { width: 28px; height: 28px; }
.ico svg .draw, .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.dark .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); box-shadow: none; }
.dark .card p { color: rgba(255,255,255,.78); }
.dark .ico { background: rgba(222,195,250,.18); color: var(--lav); }

/* guía: camiseta 3D */
.guide { background: var(--deep); color: #fff; }
.guide-stage { min-height: 100svh; display: flex; align-items: center; padding: 80px 0; }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.guide-copy h2 { margin-bottom: 18px; }
.guide-copy ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.guide-copy li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.88); }
.guide-copy li svg { width: 22px; height: 22px; color: var(--lav); flex: none; margin-top: 3px; }
.tee-stage, .mock-stage { isolation: isolate; background: var(--deep); border-radius: 28px; overflow: hidden; }
.tee-stage .tee-cap { padding: 0 8px 8px; }
.tee-stage { position: relative; aspect-ratio: 420/583; max-height: 74svh; margin-inline: auto; width: min(100%, 440px); }
.tee-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }
.tee-stage .real { position: absolute; inset: 0; opacity: 0; border-radius: var(--r-card); overflow: hidden; }
.tee-stage .real img { width: 100%; height: 100%; object-fit: cover; }
.tee-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; justify-content: space-between; font-size: .82rem; color: var(--lav); }
.tee-cap span { background: rgba(0,0,0,.22); padding: 6px 12px; border-radius: 999px; transition: opacity 200ms ease; }
.tee-cap span[data-on="0"] { opacity: .4; }

/* ocasiones */
.occ { display: block; text-decoration: none; position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--deep); color: #fff; aspect-ratio: 4/5; box-shadow: var(--shadow-card); transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.occ img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.occ::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(43,11,82,0) 18%, rgba(43,11,82,.62) 52%, rgba(43,11,82,.96) 100%); }
.occ-body { position: absolute; inset: auto 0 0; z-index: 2; padding: 22px; }
.occ-body h3 { font-size: 1.5rem; margin-bottom: 4px; }
.occ-body p { font-size: .9rem; color: rgba(255,255,255,.85); }
.occ-case { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .86rem; font-weight: 600; color: var(--lav); opacity: .9; transition: opacity 200ms ease, transform 220ms var(--ease-out); }
.occ-case svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) {
  .occ:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
  .occ:hover img { transform: scale(1.05); }
  .occ .occ-case { opacity: 0; transform: translateY(6px); }
  .occ:hover .occ-case, .occ:focus-visible .occ-case { opacity: 1; transform: none; }
}
.occ-ico { position: absolute; top: 16px; left: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.92); color: var(--brand); display: grid; place-items: center; }
.occ-ico svg { width: 22px; height: 22px; }

/* plan en pasos / línea de tiempo */
.timeline { position: relative; display: grid; gap: 28px; counter-reset: s; }
.tl-line { position: absolute; left: 27px; top: 8px; bottom: 8px; width: 4px; background: var(--line); border-radius: 4px; }
.tl-line i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--violet), var(--brand)); border-radius: 4px; transform-origin: top; transform: scaleY(1); }
.tl-step { display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: start; position: relative; }
.tl-num { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 4px solid var(--line); font: 800 1.3rem/1 var(--f-head); display: grid; place-items: center; color: var(--ink-soft); transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease, transform 250ms var(--ease-out); z-index: 1; }
.tl-step.on .tl-num { background: var(--brand); border-color: var(--brand); color: #fff; transform: scale(1.06); }
.tl-step h3 { margin: 6px 0 6px; }
.tl-step p { color: var(--ink-soft); max-width: 60ch; }
.tl-meta { display: inline-block; margin-top: 10px; font-size: .84rem; font-weight: 600; color: var(--brand); background: var(--lav); padding: 4px 12px; border-radius: 999px; }
.note { margin-top: 28px; padding: 16px 20px; border-radius: 16px; background: #fff; border: 1px dashed var(--lav); color: var(--ink-soft); font-size: .95rem; display: flex; gap: 12px; }
.note svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }

/* casos */
.case-rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.case-rail::-webkit-scrollbar { display: none; }
.case-card { flex: none; width: min(86vw, 520px); scroll-snap-align: start; background: #fff; border-radius: var(--r-card); border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out); }
.case-ph { aspect-ratio: 16/11; overflow: hidden; background: var(--lav); position: relative; }
.case-ph img { width: 100%; height: 118%; object-fit: cover; }
.case-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-body .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-pill { font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--lav); color: var(--deep); }
.case-body dl { margin: 6px 0 0; display: grid; gap: 8px; font-size: .95rem; }
.case-body dt { font-weight: 600; color: var(--brand); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.case-body dd { margin: 0; color: var(--ink-soft); }
.case-more { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 8px; }
.case-more svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
  .case-card:hover .case-more svg { transform: translateX(4px); }
}

/* resultados */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { padding: 8px 0; border-top: 3px solid var(--violet); }
.stat b { display: block; font: 800 clamp(2.6rem, 5vw, 4rem)/1 var(--f-head); color: #fff; margin-top: 16px; }
.stat span { display: block; margin-top: 8px; color: var(--lav); font-size: .96rem; }
.light .stat b { color: var(--brand); }
.quote { margin-top: 56px; padding: 28px 32px; border-radius: var(--r-card); background: rgba(255,255,255,.07); border: 1px dashed rgba(222,195,250,.5); display: flex; gap: 16px; align-items: center; color: var(--lav); }
.todo { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: #fff3c4; color: #5a4300; border: 1px dashed #d9b43a; }
.hide-todo .todo, .hide-todo .todo-quote { display: none; }

/* formularios / cotizador */
.quoter { background: #fff; border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden; color: var(--ink); }
.q-top { padding: 22px 28px 0; }
.q-meta { display: flex; justify-content: space-between; font-size: .84rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 10px; }
.q-bar { height: 8px; background: var(--line); border-radius: 8px; overflow: hidden; }
.q-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--violet), var(--brand)); border-radius: 8px; transform-origin: left; transform: scaleX(.2); transition: transform 300ms var(--ease-out); }
.q-viewport { position: relative; overflow: hidden; }
.q-step { padding: 28px; display: none; }
.q-step.active { display: block; animation: stepIn 300ms var(--ease-out) both; }
.q-step.back.active { animation-name: stepInBack; }
.q-step.out { display: block; position: absolute; inset: 0; animation: stepOut 200ms var(--ease-out) both; pointer-events: none; }
@keyframes stepIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes stepOut { to { opacity: 0; transform: translateX(-28px); } }
.q-step h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 6px; }
.q-step .hint { color: var(--ink-soft); font-size: .95rem; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; z-index: 1; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font-weight: 500; transition: transform 150ms var(--ease-out), background-color 150ms ease, border-color 150ms ease, color 150ms ease; min-height: 48px; }
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.chip:active span { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .chip input:not(:checked):hover + span { border-color: var(--violet); } }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; min-height: 52px; font-size: 1rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139,47,224,.16); }
.field .err { color: #b3123f; font-size: .86rem; min-height: 1.2em; }
.field small { color: var(--ink-soft); }
.field input[aria-invalid="true"] { border-color: #d6336c; }
.q-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 28px 28px; flex-wrap: wrap; }
.q-actions .back-btn { background: none; border: 0; color: var(--ink-soft); font-weight: 600; padding: 12px 8px; border-radius: 999px; }
.q-alt { padding: 0 28px 24px; font-size: .92rem; color: var(--ink-soft); }
.q-alt a { color: var(--brand); font-weight: 600; }
.q-done { text-align: center; padding: 48px 28px; display: none; }
.q-done.show { display: block; }
.check-svg { width: 84px; height: 84px; margin: 0 auto 18px; }
.check-svg circle, .check-svg path { fill: none; stroke: var(--brand); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.check-svg circle { stroke: var(--lav); }
.check-svg path, .check-svg .ring { stroke-dasharray: 1; stroke-dashoffset: 1; }
.q-done.show .check-svg path { animation: draw 500ms var(--ease-out) 150ms forwards; }
.q-done.show .check-svg .ring { animation: draw 500ms var(--ease-out) forwards; stroke: var(--brand); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.faq-q { width: 100%; background: none; border: 0; text-align: left; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font: 600 1.05rem/1.4 var(--f-body); min-height: 64px; }
.faq-q svg { width: 22px; height: 22px; flex: none; color: var(--brand); transition: transform 250ms var(--ease-out); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 250ms var(--ease-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; color: var(--ink-soft); }

/* cierre */
.closing { background: var(--hero-grad); color: #fff; text-align: center; padding: clamp(72px, 10vw, 128px) 0; overflow: hidden; }
.closing h2 { font-size: clamp(3rem, 9vw, 7rem); margin-bottom: 18px; }
.closing .lead { margin-inline: auto; margin-bottom: 32px; }
.closing .cta-row { justify-content: center; }
.closing .btn-ghost { --fg: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.contact-line { margin-top: 32px; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; font-size: .96rem; color: rgba(255,255,255,.88); }

footer { background: var(--deep); color: rgba(255,255,255,.78); padding: 56px 0 120px; font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.1fr 1.2fr; gap: 28px; }
footer h4 { font: 600 .78rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--lav); margin-bottom: 16px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { footer a:hover { color: #fff; text-decoration: underline; } }
.foot-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; }
.made { font: 400 .9rem/1 var(--f-display); color: var(--lav); letter-spacing: .05em; margin-top: 16px; }
.fab {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 40;
  width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #0b2e18; display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.45);
  opacity: 1; transform: none; pointer-events: auto;
}
html.motion .fab { animation: fabIn 500ms 600ms cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes fabIn { from { opacity: 0; transform: translateY(24px) scale(.9); } }
.fab:active { transform: scale(.95); }
.fab svg { width: 30px; height: 30px; }

/* páginas internas */
.page-hero { background: var(--hero-grad); color: #fff; padding: calc(var(--hdr) + 56px) 0 72px; overflow: hidden; }
.page-hero.has-img { padding-bottom: 0; }
.page-hero h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); max-width: 18ch; margin-bottom: 18px; }
.page-hero .lead { margin-bottom: 28px; }
.crumbs { font-size: .86rem; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.occ-hero-img { margin-top: 48px; border-radius: var(--r-card) var(--r-card) 0 0; overflow: hidden; aspect-ratio: 21/8; position: relative; }
.occ-hero-img img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 5/4; position: relative; }
.split-media img { width: 100%; height: 118%; object-fit: cover; }
.split-copy h2 { margin-bottom: 14px; }
.split-copy p + p { margin-top: 12px; }
.list-check { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.list-check li { display: flex; gap: 10px; }
.list-check svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 3px; }

/* filtros / casos */
.filters { display: flex; flex-wrap: wrap; gap: 24px 40px; margin-bottom: 32px; }
.filters fieldset { border: 0; padding: 0; margin: 0; }
.filters legend { font: 600 .78rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; padding: 0; }
.grid-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.grid-cases .case-card { width: auto; }
.grid-cases [hidden] { display: none; }
.empty { padding: 40px; text-align: center; color: var(--ink-soft); grid-column: 1/-1; }

/* galería + lightbox */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery button { border: 0; padding: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: var(--lav); transition: transform 200ms var(--ease-out); }
.gallery button:active { transform: scale(.98); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .gallery button:hover img { transform: scale(1.05); } }
dialog.lb { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94svh; overflow: visible; }
dialog.lb::backdrop { background: rgba(20,4,40,.82); }
dialog.lb[open] { animation: lbIn 220ms var(--ease-out); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
dialog.lb img { max-width: 94vw; max-height: 88svh; border-radius: 16px; }
dialog.lb button { position: absolute; top: -48px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--deep); display: grid; place-items: center; }
dialog.lb button svg { width: 22px; height: 22px; }

/* antes / después arrastrable */
.ba { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 840/583; max-width: 760px; margin-inline: auto; background: var(--deep); touch-action: pan-y; user-select: none; -webkit-user-select: none; box-shadow: var(--shadow-card); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-top { clip-path: inset(0 50% 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 44px; margin-left: -22px; background: none; border: 0; cursor: ew-resize; display: grid; place-items: center; }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: #fff; }
.ba-handle span { position: relative; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--brand); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.3); transition: transform 150ms var(--ease-out); }
.ba-handle:active span { transform: scale(.95); }
.ba-handle svg { width: 22px; height: 22px; }
.ba-lbl { position: absolute; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(43,11,82,.78); color: #fff; font-size: .8rem; font-weight: 600; pointer-events: none; }
.ba-lbl.l { left: 12px; } .ba-lbl.r { right: 12px; }
.tee-ba { mix-blend-mode: normal; }

/* mini test */
.test { background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-card); padding: 28px; max-width: 760px; margin-inline: auto; }
.result-card { display: none; padding-top: 8px; }
.result-card.show { display: block; animation: stepIn 300ms var(--ease-out) both; }
.result-card h3 { margin-bottom: 8px; }

.mock-hero { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.mock-stage { position: relative; aspect-ratio: 420/583; width: min(100%, 360px); margin-inline: auto; }
.mock-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }

.res-card { display: flex; flex-direction: column; gap: 10px; }
.res-card .role { font-size: .78rem; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .1em; }
.res-card form { margin-top: 10px; display: none; }
.res-card.open form { display: block; }
.res-card[hidden] { display: none; }
.dl-bar { height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; margin-top: 10px; display: none; }
.dl-bar i { display: block; height: 100%; background: var(--brand); transform-origin: left; transform: scaleX(0); transition: transform 600ms var(--ease-out); }
.dl-ok { display: none; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); }
.dl-ok svg { width: 22px; height: 22px; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.path { cursor: pointer; transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out), border-color 200ms ease; border: 2px solid var(--line); }
.path.sel { border-color: var(--brand); transform: scale(1.015); box-shadow: var(--shadow-card-hover); }
.sum-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.sum-list li { display: flex; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #f2e8fd; }
.sum-list b { min-width: 110px; }
.prose h2 { font-size: 1.6rem; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 20px; }
.prose { max-width: 760px; }

/* ---------- animación: estados iniciales (solo si hay JS + movimiento permitido) ---------- */
html.motion [data-split] .w > span { transform: translateY(105%); }
html.motion [data-stagger] > * { opacity: 0; transform: translateY(16px); }
html.motion [data-reveal] { opacity: 0; transform: translateY(16px); }
html.motion h2[data-reveal] { opacity: 1; transform: none; visibility: hidden; }
html.motion h2[data-reveal].sp { visibility: visible; }
html.motion :is(.hero, .page-hero) :is(.eyebrow, .lead, .cta-row, .micro, .hero-photos .tag) { opacity: 0; transform: translateY(14px); }
html.motion .hero-photos figure { clip-path: circle(0% at 50% 50%); }
h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .06em .16em; margin: -.1em -.06em -.16em; }
h2 .w > span { display: inline-block; }
html.motion [data-mask] { clip-path: inset(0 0 100% 0); }
html.motion .tee-stage canvas, html.motion .mock-stage canvas { opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav a:not(.btn) { display: none; }
  .nav .btn { display: none; }
  .burger { display: grid; }
  .hdr .wrap { gap: 12px; }
  .cards.c4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-cases { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --hdr: 76px; }
  .hero { padding-bottom: 56px; }
  .hero-grid, .guide-grid, .split, .mock-hero { grid-template-columns: minmax(0, 1fr); }
  .split.rev .split-media { order: 0; }
  .hero-photos { max-width: 480px; margin-inline: auto; width: 100%; }
  .cards.c3, .cards.c2, .cards.c4 { grid-template-columns: minmax(0, 1fr); }
  .cards > * { min-width: 0; }
  .proof-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .marquee { width: 100%; }
  .guide-stage { min-height: 0; padding: 64px 0; }
  .occ-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 20px; scrollbar-width: none; }
  .occ-rail::-webkit-scrollbar { display: none; }
  .occ-rail .occ { flex: none; width: 74vw; max-width: 320px; scroll-snap-align: start; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .two, .contact-cards { grid-template-columns: 1fr; }
  .quote { flex-direction: column; align-items: flex-start; }
  .grid-cases { grid-template-columns: 1fr; }
  .occ-hero-img { aspect-ratio: 16/9; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .sec { padding: 52px 0; }
  .sec-tight { padding: 36px 0; }
  .sec-head { margin-bottom: 26px; }
  .sec-head .lead, .lead { font-size: 1.02rem; }
  .foot-grid ul { columns: 2; column-gap: 20px; }
  .foot-grid > :last-child ul { columns: 1; }
  .foot-grid li { break-inside: avoid; }
  .stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .tl-step { grid-template-columns: 44px 1fr; gap: 16px; }
  .tl-num { width: 44px; height: 44px; font-size: 1.05rem; }
  .tl-line { left: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scrollbar-width: none; }
  .btn-wa.pulse::after { animation: none; }
  .q-step.active, .result-card.show { animation: fade .2s ease both; }
  .fab { transition: opacity .2s ease; transform: none; }
  @keyframes fade { from { opacity: 0; } }
}

/* camiseta: versión móvil / movimiento reducido (mockup arriba, foto real abajo) */
.tee-stage.static { aspect-ratio: auto; max-height: none; width: min(100%, 380px); display: grid; gap: 10px; background: transparent; border-radius: 0; overflow: visible; }
.tee-stage.static canvas { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 420/583; opacity: 1 !important; background: #151515; border-radius: 24px; order: 1; }
.tee-stage.static .real { position: relative; inset: auto; opacity: 1 !important; aspect-ratio: 4/3.4; border-radius: 24px; order: 3; margin-top: 14px; }
.tee-stage.static .tee-cap { display: contents; }
.tee-stage.static .tee-cap span { opacity: 1 !important; position: static; justify-self: center; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: .85rem; }
.tee-stage.static .tee-cap span:first-child { order: 2; }
.tee-stage.static .tee-cap span:last-child { order: 4; }
.occ-fig { margin: 0; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4/5; max-height: 560px; box-shadow: 0 24px 50px -20px rgba(20,0,50,.65); border: 4px solid rgba(255,255,255,.9); }
.occ-fig img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-cards figure { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4/5; background: var(--lav); }
.mini-cards img { width: 100%; height: 100%; object-fit: cover; }
.item-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.item-cards .card { padding: 22px; }
.item-cards h3 { font-size: 1.15rem; margin: 12px 0 4px; }
.err-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); text-decoration: none; }
.arrow-link svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .arrow-link:hover svg { transform: translateX(4px); } }
.pill-nav { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) { .item-cards, .err-list, .mini-cards { grid-template-columns: 1fr; } .mini-cards figure { aspect-ratio: 16/10; } }

/* móvil: la composición circular se mantiene a todo el ancho; clientes en cinta continua */
@media (max-width: 860px) {
  .hero-photos { aspect-ratio: 1 / .96; max-width: 460px; }
  .hero-photos .tag { right: 0; bottom: 3%; padding: 10px 14px; font-size: .82rem; }
  .proof-fact { max-width: none; display: flex; align-items: baseline; gap: 10px; }
  .proof-fact b { display: inline; }
  .marquee-track { animation-duration: 34s; }
}
footer li svg { display: inline-block; }

/* logos de clientes */
.marquee-track span.lg { display: flex; align-items: center; padding: 0 28px; }
@media (max-width: 860px) { .marquee-track span.lg { padding: 0 18px; } .marquee-track .lg img { height: 30px; max-width: 118px; } }
.marquee-track .lg img { height: 40px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter 200ms ease, opacity 200ms ease; mix-blend-mode: multiply; }
@media (hover: hover) and (pointer: fine) { .marquee-track .lg:hover img { filter: none; opacity: 1; } }
.case-ph.case-logo { background: #fff; display: grid; place-items: center; padding: 32px; border-bottom: 1px solid var(--line); }
.case-ph.case-logo img { width: auto; height: auto; max-width: 70%; max-height: 80%; object-fit: contain; }
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lw { background: #fff; border: 1px solid var(--line); border-radius: 16px; min-height: 96px; display: grid; place-items: center; padding: 16px; }
.lw img { max-height: 76px; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.lw-text { font: 800 1.15rem/1.2 var(--f-head); color: var(--ink-soft); text-align: center; }
@media (max-width: 860px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } .marquee-track .lg img { height: 32px; } }
.testimonial { margin: 56px 0 0; padding: 32px; border: 1px solid rgba(222,195,250,.3); background: rgba(255,255,255,.07); display: block; }
.testimonial blockquote { margin: 0; font: 800 clamp(1.6rem, 3vw, 2.4rem)/1.2 var(--f-head); color: #fff; }
.testimonial figcaption { margin-top: 14px; color: var(--lav); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
/* antes/después: capa superior recortada */
.ba .ba-top { position: absolute; inset: 0; background: #151515; }
.ba .ba-top img.ba-mock { object-fit: contain; }
/* escenario del mockup 3D: panel oscuro propio (el hoodie es negro) */
.tee-stage, .mock-stage { background: #151515; }
.tee-stage canvas, .mock-stage canvas { mix-blend-mode: normal; }
.tee-stage .real img { object-position: 40% 50%; }

/* laboratorio de QR */
.qr-lab { background: rgba(255,255,255,.07); border: 1px solid rgba(222,195,250,.25); border-radius: 28px; padding: 28px; color: #fff; }
.qr-title { font: 800 1.25rem/1.2 var(--f-head); margin-bottom: 16px; }
.chip-btn { border: 2px solid rgba(222,195,250,.4); background: transparent; color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 500; min-height: 44px; transition: transform 150ms var(--ease-out), background-color 150ms ease, border-color 150ms ease; }
.chip-btn:active { transform: scale(.97); }
.chip-btn[aria-pressed="true"] { background: var(--lav); color: var(--deep); border-color: var(--lav); }
@media (hover: hover) and (pointer: fine) { .chip-btn:hover { border-color: var(--lav); } }
.qr-lab .field input { background: #fff; color: var(--ink); }
.qr-out { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; margin: 22px 0; }
.qr-tile { background: #fff; border-radius: 20px; padding: 14px; aspect-ratio: 1; display: grid; place-items: center; }
.qr-tile svg { width: 100%; height: 100%; }
.qr-hint { color: var(--lav); font-size: .92rem; }
@media (max-width: 560px) { .qr-out { grid-template-columns: 1fr; justify-items: start; } .qr-tile { width: 180px; } }
.dark .list-check svg, .guide .list-check svg { color: var(--lav); }
.split-copy h2 { margin-bottom: 22px; }

/* ---------- simulador ---------- */
.sim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.sim-controls { display: grid; gap: 14px; }
.sim-step { border: 1px solid var(--line); border-radius: 20px; background: #fff; padding: 16px 18px 18px; margin: 0; min-width: 0; }
.sim-step legend { font: 800 1.05rem/1.2 var(--f-head); padding: 0 8px; display: flex; align-items: center; gap: 10px; }
.sim-n { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-grid; place-items: center; font: 800 .85rem/1 var(--f-head); }
.sim-step .chips { gap: 8px; }
.sim-step .chip span { padding: 8px 16px; min-height: 44px; font-size: .95rem; }
.sim-drop { display: flex; align-items: center; gap: 14px; border: 2px dashed var(--lav); border-radius: 16px; padding: 16px; cursor: pointer; background: #faf5ff; transition: border-color 160ms ease, background-color 160ms ease; position: relative; }
.sim-drop svg { width: 28px; height: 28px; color: var(--brand); flex: none; }
.sim-drop small { color: var(--ink-soft); }
.sim-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.sim-drop.over, .sim-drop:focus-within { border-color: var(--brand); background: #f2e8fd; }
.sim-note { min-height: 1.4em; font-size: .88rem; color: var(--ink-soft); margin-top: 8px; }
.sim-check { display: flex; gap: 10px; align-items: center; margin-top: 6px; font-size: .95rem; }
.sim-check input { width: 20px; height: 20px; accent-color: var(--brand); }
.sim-sub { margin-top: 10px; }
.sim-lbl { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 8px; }
.sim-colors { display: flex; gap: 10px; flex-wrap: wrap; }
.sim-sw { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); background: var(--c); transition: transform 150ms var(--ease-out), box-shadow 150ms ease; }
.sim-sw[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--brand); }
.sim-sw:active { transform: scale(.95); }
.sim-range { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 12px; margin-bottom: 8px; font-size: .92rem; font-weight: 600; }
.sim-range input { accent-color: var(--brand); width: 100%; min-height: 32px; }
.sim-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.sim-stage { position: sticky; top: calc(var(--hdr) + 16px); background: linear-gradient(160deg, #f2e8fd, #fbf8ff); border: 1px solid var(--line); border-radius: 28px; padding: 18px; }
.sim-svg { width: 100%; height: auto; max-height: 70svh; aspect-ratio: 1; touch-action: none; }
.sim-svg .sim-logo { cursor: grab; outline: none; }
.sim-svg.dragging .sim-logo { cursor: grabbing; }
.sim-svg .sim-logo:focus-visible image { outline: 2px solid var(--violet); }
.sim-caption { text-align: center; color: var(--ink-soft); font-size: .88rem; margin-top: 8px; }
@media (max-width: 900px) { .sim { grid-template-columns: minmax(0, 1fr); } .sim-stage { position: static; order: -1; } }

/* ---------- línea Pets: tono B2C, más claro y redondeado ---------- */
body.pets { --r-card: 28px; }
.pets-hero { background: linear-gradient(160deg, #f2e8fd 0%, #fbf8ff 70%); padding: calc(var(--hdr) + 40px) 0 72px; position: relative; overflow: hidden; }
.pets-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.pets-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); margin-bottom: 18px; }
.pets-hero .lead { color: var(--ink-soft); }
.pets-badge { display: inline-flex; gap: 8px; align-items: center; background: #fff; color: var(--brand); border-radius: 999px; padding: 6px 14px 6px 10px; font-weight: 600; font-size: .86rem; margin-bottom: 18px; box-shadow: var(--shadow-card); }
.pets-badge svg { width: 18px; height: 18px; }
.pets-art { position: relative; min-height: 340px; display: grid; place-items: center; }
.pets-card { background: #fff; border-radius: 36px; padding: 28px; box-shadow: var(--shadow-card-hover); text-align: center; width: min(320px, 90%); transform: rotate(-3deg); }
.pets-photo { aspect-ratio: 1; border-radius: 28px; background: linear-gradient(160deg, var(--lav), #f7d4e6); display: grid; place-items: center; color: var(--brand); margin-bottom: 14px; }
.pets-photo svg { width: 96px; height: 96px; }
.pets-card p { font: 800 1.1rem/1.2 var(--f-head); }
.pet-bubble { position: absolute; width: 64px; height: 64px; border-radius: 50%; background: var(--lav); color: var(--brand); display: grid; place-items: center; }
.pet-bubble svg { width: 30px; height: 30px; }
.pet-bubble.b1 { top: 4%; left: 6%; } .pet-bubble.b2 { bottom: 8%; right: 4%; width: 80px; height: 80px; } .pet-bubble.b3 { top: 18%; right: 14%; width: 44px; height: 44px; }
.pet-card .ico { border-radius: 50%; }
.pets-sim { background: #fff; }
.pets-closing { background: linear-gradient(160deg, #6D22C0, #8B2FE0); }
@media (max-width: 860px) { .pets-grid { grid-template-columns: 1fr; } .pets-art { min-height: 260px; } }

/* ---------- Línea Pets: color propio (ámbar) y huellitas ---------- */
:root { --pet: #FFB020; --pet-ink: #2b1a00; --pet-deep: #b45f00; --pet-soft: #fff1d3; }
.nav a.nav-pets, .sheet a.sheet-pets { display: inline-flex; align-items: center; gap: 6px; background: var(--pet); color: var(--pet-ink) !important; font-weight: 600; border-radius: 999px; padding: 8px 14px; transition: transform 160ms var(--ease-out), filter 160ms ease; }
.nav a.nav-pets svg { width: 16px; height: 16px; }
.nav a.nav-pets:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .nav a.nav-pets:hover { background: var(--pet); filter: brightness(.94); } }
.nav a.nav-pets[aria-current="page"]::after { display: none; }
.sheet a.sheet-pets { align-self: flex-start; margin-top: 14px; padding: 10px 18px; font: 800 1.4rem/1.2 var(--f-head); border-bottom: 0; }
.sheet a.sheet-pets svg { width: 22px; height: 22px; }
.paw-i { display: inline-block; vertical-align: -.1em; color: var(--pet); line-height: 0; margin-inline: .12em; }
.paw-i svg { width: .8em; height: .8em; display: inline-block; }
.paw-i.h1 svg, .paw-i.h2 svg { width: .7em; height: .7em; transform: rotate(14deg); }
.sec-head .eyebrow .paw-i, .pets .eyebrow .paw-i { margin-right: .4em; vertical-align: -.2em; }
.paw-i.deco { position: absolute; color: rgba(255,176,32,.55); }
.paw-i.deco svg { width: 56px; height: 56px; }
.paw-i.d1 { top: 12%; left: 46%; transform: rotate(-20deg); } .paw-i.d2 { bottom: 10%; left: 4%; transform: rotate(18deg); } .paw-i.d3 { top: 6%; right: 3%; transform: rotate(24deg); }
.paw-trail { display: flex; justify-content: center; gap: 22px; padding: 6px 0; color: var(--pet); overflow: hidden; }
.paw-trail span { display: block; transform: rotate(var(--r)); opacity: .85; }
.paw-trail svg { width: 26px; height: 26px; }
.paw-trail span:nth-child(even) { margin-top: 18px; }
body.pets .pets-hero { background: linear-gradient(160deg, var(--pet-soft) 0%, #fff8ea 50%, #fbf8ff 100%); }
body.pets .script::before { background: var(--pet); }
body.pets .script { color: var(--pet-ink); }
body.pets .script-plain { color: var(--pet-deep); }
body.pets .eyebrow { color: var(--pet-deep); }
body.pets .btn:not(.btn-wa):not(.btn-ghost) { --bg: var(--pet); --fg: var(--pet-ink); }
body.pets .pets-badge { background: #fff; color: var(--pet-deep); }
body.pets .ico { background: var(--pet-soft); color: var(--pet-deep); }
body.pets .chip input:checked + span { background: var(--pet-deep); border-color: var(--pet-deep); }
body.pets .sim-n { background: var(--pet-deep); }
body.pets .sim-range input, body.pets .sim-check input { accent-color: var(--pet-deep); }
body.pets .sim-sw[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--pet-deep); }
body.pets .sim-drop { border-color: #ffd98a; background: #fffaf0; }
body.pets .sim-drop svg { color: var(--pet-deep); }
body.pets .sim-drop.over, body.pets .sim-drop:focus-within { border-color: var(--pet-deep); background: var(--pet-soft); }
body.pets .sim-stage { background: linear-gradient(160deg, var(--pet-soft), #fffaf0); }
body.pets .lav-bg { background: #fff6e2; }
body.pets .faq-q svg { color: var(--pet-deep); }
body.pets .tag-pill { background: var(--pet-soft); }
body.pets .btn-ghost { --fg: var(--pet-deep); box-shadow: inset 0 0 0 2px #ffd98a; }
body.pets .pets-closing { background: linear-gradient(160deg, #FFB020, #ff8a3d); color: var(--pet-ink); }
body.pets .pets-closing h2, body.pets .pets-closing .lead { color: var(--pet-ink); }
body.pets .pets-closing .paw-i { color: #fff; }
body.pets .hdr.scrolled { box-shadow: 0 1px 0 #ffe2a8; }
.pets-hero .pets-grid { position: relative; }
.pets-shot { margin: 0; position: relative; }
.pets-shot img { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow-card-hover); border: 6px solid #fff; transform: rotate(1.5deg); }
.pets-shot figcaption, .pets-media figcaption { font-size: .82rem; color: var(--ink-soft); margin-top: 10px; text-align: center; }
.pets-media { margin: 0; }
.pets-media img { width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow-card); }
.pets-list li { align-items: flex-start; }
.pets-list .paw-i svg { width: 22px; height: 22px; margin-top: 3px; }
.ba.ba-portrait { aspect-ratio: 4/5; width: 100%; max-width: 420px; justify-self: center; }
.ba .ba-cover { object-fit: cover; }
@media (max-width: 860px) { .pets-shot img { transform: none; } .paw-i.d1 { display: none; } }

.nav a { white-space: nowrap; }
body.pets .script-plain { white-space: nowrap; }
body.pets .list-check svg { color: var(--pet); }
@media (max-width: 1140px) {
  .nav a:not(.btn) { display: none; }
  .nav .btn { display: none; }
  .burger { display: grid; }
}

.by-product { margin-top: 28px; color: var(--ink-soft); }
.by-product a { color: var(--brand); font-weight: 600; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .by-product a:hover { text-decoration: underline; } }
.dark .by-product { color: rgba(255,255,255,.8); } .dark .by-product a { color: var(--lav); }
.page-hero .btn-ghost { --fg: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }

/* formularios: consentimiento y campo trampa */
.consent { align-items: flex-start; margin-top: 14px; font-size: .9rem; }
.consent input { margin-top: 3px; flex: none; }
.consent a { color: var(--brand); font-weight: 600; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.q-actions .next-btn[disabled] { opacity: .7; pointer-events: none; }

/* servicio Flash y formulario del simulador */
.flash-card { border-color: #ffd98a; background: linear-gradient(160deg, #fffaf0, #fff); }
.flash-card .ico { background: #FFB020; color: #2b1a00; }
.sim-lead .two { gap: 10px; }
.sim-lead .consent { margin-top: 10px; }

/* ---------- banda "marcamos lo que quieras" ---------- */
.marcamos { background: #fff; border-bottom: 1px solid var(--line); }
.marcamos-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.marcamos-copy h2 { margin-bottom: 14px; font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.marcamos-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.mk { display: inline-flex; padding: 8px 16px; border-radius: 999px; background: #f2e8fd; color: var(--deep); font-weight: 600; font-size: .92rem; }
.mk-t { background: var(--brand); color: #fff; }
.mk-more { background: transparent; box-shadow: inset 0 0 0 2px var(--lav); }
.mk-more a { color: var(--brand); text-decoration: none; }
@media (max-width: 860px) { .marcamos-in { grid-template-columns: 1fr; } }

/* ---------- carrusel de casos: flechas ---------- */
.rail-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; }
.rail-nav { display: flex; gap: 10px; }
.rail-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; background: var(--brand); color: #fff; display: grid; place-items: center; transition: transform 160ms var(--ease-out), opacity 160ms; }
.rail-btn svg { width: 22px; height: 22px; }
.rail-btn[data-dir="-1"] svg { transform: scaleX(-1); }
.rail-btn:active { transform: scale(.94); }
.rail-btn[disabled] { opacity: .3; cursor: default; }
@media (hover: hover) and (pointer: fine) { .rail-btn:not([disabled]):hover { filter: brightness(1.12); } }
.rail-nav[hidden] { display: none; }

.tool .arrow-link { margin-top: 16px; }

@media (max-width: 860px) { .hero .eyebrow, .page-hero .eyebrow { margin-bottom: 12px; display: block; } }

/* seguridad en pantallas angostas */
fieldset { min-width: 0; }
@media (max-width: 560px) {
  .btn { max-width: 100%; white-space: normal; text-align: center; }
  h1, h2 { overflow-wrap: break-word; }
}
