/* ==========================================================================
   Brand Center IGNIWEB · Sitio web
   ========================================================================== */

@font-face { font-family: "Matteo"; src: url("../assets/fonts/Matteo-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Matteo"; src: url("../assets/fonts/Matteo-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Matteo"; src: url("../assets/fonts/Matteo-Semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Matteo"; src: url("../assets/fonts/Matteo-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Myriad Pro"; src: url("../assets/fonts/MyriadPro-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins Local"; src: url("../assets/fonts/Poppins-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins Local"; src: url("../assets/fonts/Poppins-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins Local"; src: url("../assets/fonts/Poppins-Bold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  --navy: #141E51;
  --azul2: #003671;
  --azul3: #00618E;
  --verdoso: #389FA8;
  --claro: #51A7BD;
  --cyan: #00B4F0;
  --aqua: #2EE6F0;
  --bg: #F3F6FB;
  --ink: #141E51;
  --muted: #5B6275;
  --muted2: #8A93A8;
  --line: #DCE3EE;
  --soft: #E6F4FA;
  --ok: #1C8C4E;
  --ok-bg: #E3F6EC;
  --bad: #D93036;
  --bad-bg: #FDECEC;
  --card-shadow: 0 6px 18px rgba(20, 30, 81, .07);
  --sidebar-w: 248px;
  --header-h: 72px;
  --radius: 16px;
  --font: "Poppins", "Poppins Local", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Matteo", "Poppins", "Poppins Local", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }

/* ---------- Estructura ---------- */
.app { min-height: 100vh; }
.main { margin-left: var(--sidebar-w); min-height: 100vh; display: flex; flex-direction: column; }
.content { flex: 1; padding: 32px 48px 24px; max-width: 1290px; width: 100%; margin: 0 auto; }
.content.full { max-width: none; }
.page { animation: pageIn .35s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Menú lateral · liquid glass azul ---------- */
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w); z-index: 40;
  background: linear-gradient(180deg, #141E51 0%, #101848 40%, #0A0F2E 75%, #06081A 100%);
  overflow: hidden; color: #fff;
}
.sidebar::before, .sidebar::after {
  content: ""; position: absolute; width: 700px; pointer-events: none; opacity: .4;
  transform: rotate(-38deg);
}
.sidebar::before {
  height: 220px; left: -100px; top: 220px;
  background: linear-gradient(90deg, rgba(30,91,214,0) 0%, rgba(30,91,214,.55) 35%, rgba(0,180,240,.8) 75%, rgba(46,230,240,.95) 100%);
}
.sidebar::after {
  height: 320px; left: -200px; top: 58%;
  background: linear-gradient(90deg, rgba(27,79,208,.1) 0%, rgba(27,79,208,.5) 60%, rgba(58,123,255,.6) 100%);
}
.glass {
  position: absolute; inset: 12px; border-radius: 22px; z-index: 1;
  background: linear-gradient(135deg, rgba(58,139,255,.32) 0%, rgba(30,91,214,.18) 40%, rgba(26,63,176,.12) 100%);
  display: flex; flex-direction: column; padding: 20px 4px 18px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.brand { display: block; padding: 2px 16px 0; }
.brand img { width: 192px; height: auto; }
.glass-sep { height: 1px; margin: 16px 12px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.45), rgba(255,255,255,0)); }
.menu-label { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 2px; color: rgba(255,255,255,.6); margin: 4px 0 10px; }
.menu { list-style: none; margin: 0; padding: 0 4px; display: flex; flex-direction: column; gap: 8px; }
.menu a {
  position: relative; display: flex; align-items: center; gap: 18px; height: 40px; padding: 0 20px;
  border-radius: 12px; text-decoration: none; font-size: 14px; color: #fff; transition: background .2s;
}
.menu a:hover { background: rgba(255,255,255,.06); }
.menu .num { font-size: 12px; font-weight: 600; color: #5B86D6; width: 16px; }
.menu a.active {
  font-weight: 600;
  background: linear-gradient(90deg, rgba(0,180,240,.55), rgba(30,91,214,.25));
  box-shadow: 0 3px 8px rgba(5,8,24,.18);
}
.menu a.active .num { color: var(--aqua); }
.menu a.active::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 2px; background: var(--aqua); }
.sidebar-foot { margin-top: auto; }
.version { text-align: center; font-size: 11px; color: rgba(255,255,255,.5); }

/* ---------- Cabecera ---------- */
.header {
  position: sticky; top: 0; z-index: 30; height: var(--header-h);
  display: flex; align-items: center; justify-content: flex-end; gap: 24px; padding: 0 48px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.burger { display: none; }
.header-logo { display: none; }
.search { position: relative; width: 280px; }
.search input {
  width: 100%; height: 36px; border-radius: 18px; border: 1px solid transparent; background: #F1F4FA;
  padding: 0 16px 0 40px; font: inherit; font-size: 13px; color: var(--ink); outline: none; transition: border .2s, background .2s;
}
.search input:focus { background: #fff; border-color: var(--cyan); }
.search::before { content: ""; position: absolute; left: 16px; top: 11px; width: 11px; height: 11px; border: 1.5px solid #6F82B3; border-radius: 50%; }
.search-results {
  position: absolute; top: 44px; left: 0; right: -80px; background: #fff; border-radius: 14px; box-shadow: 0 14px 40px rgba(20,30,81,.18);
  padding: 8px; display: none; max-height: 60vh; overflow: auto;
}
.search-results.open { display: block; }
.search-results a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.search-results a:hover, .search-results a.sel { background: var(--soft); }
.search-results b { display: block; font-size: 13px; }
.search-results span { display: block; font-size: 12px; color: var(--muted); }
.search-empty { padding: 12px; font-size: 13px; color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 22px;
  border-radius: 20px; border: 1.5px solid var(--navy); background: #fff; color: var(--navy);
  font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform .15s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(20,30,81,.12); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #1E2B6E; }
.btn-cyan { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.btn-cyan:hover { background: #10A4DB; }
.btn-light { background: #fff; border-color: #fff; color: var(--navy); }
.btn-sm { height: 32px; padding: 0 14px; font-size: 12px; }
.btn-block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; height: 24px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; font-size: 10px; font-weight: 600; letter-spacing: .5px; color: var(--azul3);
}
.chip-dark { background: var(--navy); color: #fff; border-color: var(--navy); }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 22px 0 22px; }
.tab {
  height: 32px; padding: 0 20px; border-radius: 16px; border: 1px solid var(--line); background: #fff;
  font-size: 12px; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; transition: all .2s;
}
.tab:hover { border-color: var(--navy); color: var(--navy); }
.tab.active { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.tabs-note { font-size: 12px; font-weight: 500; color: var(--azul3); margin-left: 12px; }

/* ---------- Títulos ---------- */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--azul3); text-transform: uppercase; }
.h1 { font-family: var(--font-display); font-weight: 600; font-size: 48px; line-height: 1.15; letter-spacing: 1px; text-transform: uppercase; margin-top: 6px; }
.lead { color: var(--muted); font-size: 15px; margin-top: 6px; max-width: 900px; }
.label { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: var(--azul3); text-transform: uppercase; }
.label-muted { font-size: 10px; font-weight: 600; letter-spacing: 1.2px; color: var(--muted2); text-transform: uppercase; }
.h3 { font-size: 22px; font-weight: 600; line-height: 1.3; }
.h4 { font-size: 16px; font-weight: 600; line-height: 1.35; }
.small { font-size: 12px; color: var(--muted); }
.muted { color: var(--muted); }
.note { font-size: 12px; color: var(--muted2); }

/* ---------- Tarjetas ---------- */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow); }
.card-pad { padding: 24px; }
.prev { background: var(--bg); border-radius: 12px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.prev-dark { background: var(--navy); }
.prev-black { background: #111; }
.prev .chip { position: absolute; top: 16px; left: 16px; }

.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.grid > *, .typo > *, .apps > *, .build > *, .guide > *, .tester > *, .wrong > *, .hier > *, .story > * { min-width: 0; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; }

.band-dark {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 20px 24px;
  display: flex; align-items: center; gap: 20px;
}
.band-dark .muted { color: #9FB3D9; }

/* ---------- Navegación inferior ---------- */
.pager { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 36px; }
.pager a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.pager a.next { flex-direction: row-reverse; text-align: right; margin-left: auto; }
.pager .circle {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--claro), var(--cyan)); box-shadow: 0 2px 6px rgba(20,30,81,.18); transition: transform .2s;
}
.pager a:hover .circle { transform: scale(1.08); }
.pager .circle svg { width: 10px; height: 16px; }
.pager small { display: block; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; color: var(--azul3); }
.pager strong { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.hint { text-align: center; font-size: 11px; color: var(--muted2); padding: 14px 0 18px; }

/* ---------- Portada ---------- */
.hero {
  position: relative; min-height: calc(100vh - var(--header-h)); margin: -32px -48px -24px; overflow: hidden;
  background: var(--navy); color: #fff; display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .43; }
.hero-iso { position: absolute; right: -2%; top: 50%; width: min(52vw, 640px); transform: translateY(-50%); opacity: .2; }
.hero-mascot { position: absolute; right: 6%; bottom: 4%; height: 82%; max-height: 720px; object-fit: contain; animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-text { position: relative; z-index: 2; padding: 60px 80px; max-width: 780px; }
.hero h1 { font-family: var(--font-display); font-weight: 600; line-height: 1; }
.hero .t1 { font-size: 60px; letter-spacing: 2px; }
.hero .t2 { font-size: clamp(72px, 10.2vw, 145px); font-weight: 700; color: var(--cyan); letter-spacing: 2px; }
.hero .t3 { font-size: 40px; letter-spacing: 3px; margin-top: 2px; }
.hero p.sub { font-size: 18px; color: #C6D3F0; margin-top: 18px; }
.hero p.claim { font-size: 14px; font-weight: 600; color: var(--claro); margin-top: 10px; }
.hero .btn-cyan { height: 52px; border-radius: 26px; padding: 0 28px; font-size: 14px; letter-spacing: 2px; margin-top: 34px; }
.hero .alt { margin-top: 38px; font-size: 13px; color: #9FB3D9; }
.hero .alt a { color: #fff; }
.hero .scroll { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); font-size: 11px; color: #6F82B3; z-index: 2; }

/* ---------- Introducción ---------- */
.banner { border-radius: var(--radius); overflow: hidden; height: 214px; margin-top: 24px; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.intro-row { display: grid; grid-template-columns: 385px 1fr; align-items: center; gap: 56px; overflow: hidden; margin-top: 16px; }
.intro-row.rev { grid-template-columns: 1fr 385px; }
.intro-row.rev .intro-img { order: 2; }
.intro-img { height: 250px; }
.intro-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.intro-row h3 { font-size: 30px; font-weight: 600; }
.intro-row p { font-size: 17px; color: var(--muted); margin-top: 10px; max-width: 520px; }
.intro-row .txt { padding: 24px 40px 24px 0; }
.intro-row.rev .txt { padding: 24px 0 24px 56px; }
.summary { display: grid; grid-template-columns: 1fr 48px minmax(0, 396px); align-items: center; gap: 0; margin: 40px 0 8px; padding: 0 44px 0 56px; }
.summary p.big { font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--navy); text-align: right; margin: 0 30px 0 0; }
.summary .sum-line { height: 1px; background: var(--azul3); }
.summary .sum-box { border: 1.5px solid var(--azul3); border-radius: 22px; padding: 26px 32px 26px 46px; display: flex; flex-direction: column; gap: 4px; color: var(--navy); }
.summary .sum-box b { font-size: 16px; font-weight: 700; }
.summary .sum-box span { font-size: 13px; }

/* ---------- Identidad ---------- */
.id-card { padding: 24px; }
.id-card .prev { height: 210px; }
.id-card .h3 { margin-top: 8px; }
.id-card p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.promise { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; }
.promise q { font-size: 22px; font-weight: 500; quotes: "“" "”"; }
.promise .muted { color: #9FB3D9; font-size: 12px; max-width: 380px; }
.stripe { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 20px 12px 28px; margin-top: 14px; }
.stripe::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; background: var(--cyan); }

/* Construcción */
.build { display: grid; grid-template-columns: 1fr 358px; gap: 20px; }
.canvas-card { padding: 20px 20px 16px; }
.canvas-top { display: flex; justify-content: space-between; align-items: center; }
.xmark { background: var(--cyan); color: #fff; font-size: 11px; font-weight: 600; border-radius: 4px; padding: 0 14px; }
.toggle { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); background: none; border: 0; }
.toggle i { width: 40px; height: 22px; border-radius: 11px; background: var(--line); position: relative; transition: background .2s; }
.toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.toggle[aria-pressed="true"] i { background: var(--cyan); }
.toggle[aria-pressed="true"] i::after { left: 20px; }
.canvas { position: relative; aspect-ratio: 640 / 440; margin: 14px 20px 0; }
.canvas .grid-lines {
  position: absolute; inset: 0; transition: opacity .3s;
  background-image: linear-gradient(rgba(81,167,189,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(81,167,189,.35) 1px, transparent 1px);
  background-size: 6.25% 9.09%; border-right: 1px solid rgba(81,167,189,.35); border-bottom: 1px solid rgba(81,167,189,.35);
}
.canvas.nogrid .grid-lines { opacity: 0; }
.canvas .logo { position: absolute; left: 12.7%; top: 11.8%; width: 75.3%; }
.canvas .reserve { position: absolute; left: 6.25%; top: 5%; right: 6.25%; bottom: 5%; border: 1.5px dashed var(--cyan); opacity: 0; transition: opacity .3s; border-radius: 4px; }
.canvas .iso-mark { position: absolute; width: 6%; opacity: .55; transition: opacity .3s; }
.canvas.show-reserve .reserve { opacity: 1; }
.canvas.show-reserve .iso-mark { opacity: 1; }
.canvas .dim { position: absolute; font-size: 11px; font-weight: 600; color: var(--azul3); background: #fff; padding: 0 6px; border-radius: 4px; opacity: 0; transition: opacity .3s; }
.canvas.show-prop .dim { opacity: 1; }
.zoom { display: block; margin: 8px 0 0 auto; background: none; border: 0; font-size: 12px; font-weight: 600; color: var(--azul3); }
.info-card { padding: 20px 24px; transition: box-shadow .25s, transform .25s; }
.info-card.hl { box-shadow: 0 0 0 2px var(--cyan), var(--card-shadow); }
.info-card .big { font-family: var(--font-display); font-size: 40px; font-weight: 600; line-height: 1.1; margin-top: 4px; }
.info-card .h4 { font-size: 17px; margin-top: 6px; }
.info-card p { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---------- Versiones ---------- */
.ver-card { padding: 12px 12px 20px; display: flex; flex-direction: column; }
.ver-card .prev { height: 170px; }
.ver-card .prev img { max-height: 76%; max-width: 80%; object-fit: contain; }
.ver-card .h4 { margin: 18px 6px 0; min-height: 44px; }
.ver-card p { font-size: 12px; color: var(--muted); margin: 8px 6px 16px; flex: 1; }
.ver-card .btn { margin: 0 6px; }
.big-card { padding: 12px 12px 20px; display: flex; flex-direction: column; }
.big-card .prev { height: 230px; }
.big-card .h4 { margin: 18px 6px 0; }
.big-card p { font-size: 12px; color: var(--muted); margin: 8px 6px 20px; flex: 1; }
.big-card .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 6px; flex-wrap: wrap; }
.ink { display: inline-flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 500; }
.swatch { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); padding: 0; transition: transform .15s; }
.swatch:hover { transform: scale(1.12); }
.swatch.on { box-shadow: 0 0 0 3px var(--cyan); border-color: #fff; }
.svg-logo { display: block; }
.svg-logo svg { width: 100%; height: 100%; display: block; }
.pill-toggle { display: flex; gap: 6px; justify-content: center; margin-top: 8px; }
.pill-toggle button { height: 22px; width: 82px; border-radius: 11px; border: 1px solid var(--line); background: #fff; font-size: 10px; font-weight: 500; color: var(--muted); }
.pill-toggle button.on { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.cta { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 18px 28px 18px 24px; display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.cta img { width: 56px; height: 56px; }
.cta .t { flex: 1; }
.cta .t b { font-size: 18px; font-weight: 600; display: block; }
.cta .t span { font-size: 13px; color: #9FB3D9; }

.slogan-card { padding: 12px 12px 22px; }
.slogan-card .prev { height: 200px; }
.slogan-card .h4 { font-size: 17px; margin: 16px 12px 0; }
.slogan-card p { font-size: 12px; color: var(--muted); margin: 4px 12px 0; }
.rule { position: relative; padding: 28px 32px 24px 72px; margin-top: 20px; }
.rule::before { content: ""; position: absolute; left: 0; top: 20px; height: 40px; width: 4px; background: var(--cyan); }
.rule .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 12px; font-size: 12.5px; }

.gallery-row { margin-top: 18px; }
.gallery-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.gallery-head b { font-size: 15px; color: #0B818C; }
.thumb { background: #E9EEF7; border-radius: 12px; height: 196px; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 0; padding: 12px; width: 100%; transition: transform .2s, box-shadow .2s; }
.thumb:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20,30,81,.14); }
.thumb img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 4px; }
.thumb-cap { font-size: 12px; font-weight: 500; margin: 10px 2px 0; }

/* Guía qué versión */
.guide { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 20px; margin-top: 24px; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; height: 46px; padding: 0 16px; margin-top: 12px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 14px; text-align: left; transition: all .2s;
}
.opt:hover { border-color: var(--cyan); }
.opt .radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; position: relative; }
.opt.on { background: var(--soft); border: 2px solid var(--cyan); font-weight: 600; }
.opt.on .radio { border-color: var(--cyan); }
.opt.on .radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--cyan); }
.result-prev { position: relative; aspect-ratio: 2 / 1; border-radius: 14px; overflow: hidden; background: transparent; display: flex; align-items: center; justify-content: center; cursor: zoom-in; isolation: isolate; }
.result-prev.on-dark { background: var(--navy); }
.result-prev .zoom-btn { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); box-shadow: 0 4px 14px rgba(5,8,24,.25); display: flex; align-items: center; justify-content: center; cursor: zoom-in; transition: transform .15s ease, background .15s ease; }
.result-prev .zoom-btn:hover { transform: scale(1.08); background: #fff; }
.result-prev .zoom-btn svg { width: 20px; height: 20px; }
.lightbox.dark figure { background: var(--navy); color: #fff; }
.lightbox.dark .close { background: #fff; color: var(--navy); }
.lightbox.dark #lbImg { max-width: min(600px, 80vw); padding: 40px; }
.result-prev img.cover { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.result-prev img.contain { max-height: 80%; max-width: 60%; }
.result .h4 { font-size: 20px; margin-top: 22px; }
.result p { font-size: 13px; color: var(--muted); margin-top: 8px; min-height: 60px; }

/* Tamaños */
.size-card { padding: 28px; }
.size-card .x { font-family: var(--font-display); font-size: 56px; font-weight: 600; line-height: 1; }
.size-card .u { font-size: 16px; font-weight: 600; color: var(--azul3); margin-top: 4px; }
.size-card .prev { height: 200px; margin-top: 24px; }
.size-card hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0 16px; }
.size-card .v { font-size: 20px; font-weight: 600; margin-top: 4px; }
.alert { background: var(--soft); color: var(--azul3); border-radius: 14px; padding: 20px 24px; font-size: 13px; margin-top: 20px; }

/* Usos incorrectos */
.wrong { display: grid; grid-template-columns: 330px 1fr; gap: 20px; margin-top: 24px; }
.ok-tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 14px; background: var(--ok-bg); color: var(--ok); font-size: 12px; font-weight: 600; }
.bad-card { padding: 12px 12px 18px; position: relative; }
.bad-card .prev { height: 140px; border-radius: 10px; }
.bad-card .prev img { max-height: 82%; max-width: 76%; object-fit: contain; }
.bad-card .x { position: absolute; top: 20px; right: 20px; width: 20px; height: 20px; border-radius: 50%; background: #E5484D; color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.bad-card .h4 { font-size: 15px; margin: 16px 4px 0; }
.bad-card p { font-size: 12px; color: var(--muted); margin: 6px 4px 0; }

/* ---------- Color ---------- */
.color-card { overflow: hidden; display: flex; flex-direction: column; }
.color-top { height: 170px; border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
.color-top .p { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; color: var(--cyan); }
.color-top .hex { font-size: 18px; font-weight: 600; }
.color-body { padding: 16px; }
.color-body dl { margin: 14px 0 0; }
.color-body dt { font-size: 10px; font-weight: 600; letter-spacing: 1px; color: var(--muted2); }
.color-body dd { margin: 0 0 10px; font-size: 13px; }
.copy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.copy-grid button { height: 28px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-size: 10px; font-weight: 600; letter-spacing: .5px; color: var(--navy); transition: all .15s; }
.copy-grid button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.tip { display: flex; gap: 20px; align-items: center; padding: 14px 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-top: 24px; position: relative; overflow: hidden; }
.tip::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--verdoso); }
.toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px); background: var(--navy); color: #fff; padding: 10px 20px; border-radius: 22px; font-size: 13px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 200; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.ap-card { padding: 14px 14px 22px; }
.ap-card .prev { height: 200px; }
.ap-card .prev img { max-height: 80%; max-width: 70%; object-fit: contain; }
.ap-card .head { flex-wrap: wrap; display: flex; justify-content: space-between; align-items: center; margin: 18px 6px 0; gap: 8px; }
.ap-card p { font-size: 12px; color: var(--muted); margin: 6px 6px 0; }
.seg { display: inline-flex; gap: 4px; }
.seg button { height: 22px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line); background: #fff; font-size: 10px; color: var(--muted); }
.seg button.on { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 600; }
.when { position: relative; padding: 20px 24px 22px 28px; }
.when::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 16px 0 0 16px; background: var(--cyan); }
.when p { font-size: 13px; color: var(--muted); margin-top: 10px; }
.when p.where { font-size: 12px; }
.when p.where b { color: var(--azul3); }

/* Fondos */
.tester { display: grid; grid-template-columns: 250px 1fr; gap: 26px; padding: 24px 24px 24px 28px; margin-top: 4px; }
.bg-chip { display: flex; align-items: center; gap: 12px; width: 100%; height: 46px; padding: 0 14px; margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 14px; text-align: left; transition: all .2s; }
.bg-chip i { width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--line); }
.bg-chip.on { background: var(--soft); border: 2px solid var(--cyan); font-weight: 600; }
.stage { position: relative; border-radius: 14px; overflow: hidden; min-height: 282px; display: flex; align-items: center; justify-content: space-around; padding: 24px; transition: background .35s; background-size: cover; background-position: center; }
.stage .lg { display: flex; flex-direction: column; align-items: center; gap: 16px; position: relative; z-index: 2; }
.stage .tag { background: #fff; color: var(--navy); font-size: 11px; font-weight: 600; border-radius: 13px; padding: 5px 16px; }
.stage.light .tag { background: var(--navy); color: #fff; }
.stage .veil { position: absolute; inset: 0; background: rgba(20,30,81,.55); z-index: 1; }
.recs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 14px; }
.rec { height: 150px; border-radius: 14px; position: relative; display: flex; align-items: center; justify-content: center; }
.rec img { max-height: 58%; max-width: 60%; }
.rec .ok { position: absolute; left: 12px; bottom: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 12px; display: grid; place-items: center; }

/* Tipografía */
.typo { display: grid; grid-template-columns: 420px 1fr; gap: 24px; margin-top: 30px; }
.font-card { display: flex; align-items: flex-start; gap: 24px; width: 100%; padding: 24px; margin-bottom: 16px; border: 2px solid transparent; text-align: left; background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow); transition: all .2s; }
.font-card:hover { transform: translateY(-2px); }
.font-card.on { border-color: var(--cyan); }
.font-card .n { font-size: 13px; font-weight: 600; color: var(--cyan); margin-top: 4px; }
.font-card .nm { font-size: 26px; line-height: 1.2; }
.font-card .role { font-size: 13px; color: var(--muted); }
.font-card .aa { margin-left: auto; font-size: 34px; }
.f-matteo-sb { font-family: "Matteo", sans-serif; font-weight: 600; }
.f-matteo-r { font-family: "Matteo", sans-serif; font-weight: 500; }
.f-myriad { font-family: "Myriad Pro", "Poppins", sans-serif; font-weight: 700; }
.tester-card { padding: 28px; }
.tester-top { display: flex; gap: 12px; margin-top: 14px; }
.tester-top input { flex: 1; height: 44px; border-radius: 12px; border: 1px solid transparent; background: #F1F4FA; padding: 0 18px; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.tester-top input:focus { border-color: var(--cyan); background: #fff; }
.tester-top select { width: 196px; height: 44px; border-radius: 12px; border: 1px solid var(--line); padding: 0 12px; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); background: #fff; }
.phrases { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.phrases span { font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: .5px; }
.phrases button { height: 26px; padding: 0 14px; border-radius: 13px; border: 1px solid var(--line); background: #fff; font-size: 11px; font-weight: 500; color: var(--muted); }
.phrases button.on { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.preview-text { margin-top: 12px; min-height: 130px; color: var(--ink); line-height: 1.1; word-break: break-word; transition: font-size .1s; }
.metrics { display: flex; gap: 40px; align-items: flex-end; flex-wrap: wrap; margin-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.metrics .v { font-size: 14px; font-weight: 600; }
.range { display: flex; align-items: center; gap: 12px; }
.range input[type=range] { width: 170px; accent-color: var(--cyan); }
.alphabet { margin-top: 18px; font-size: 24px; line-height: 1.6; }

/* Aplicaciones */
.apps { display: grid; grid-template-columns: 1fr 318px; gap: 20px; }
.carousel { position: relative; border-radius: var(--radius); overflow: hidden; background: #E9EEF7; aspect-ratio: 760 / 470; }
.carousel img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 16px; font-weight: 600; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.car-btn.l { left: 20px; } .car-btn.r { right: 20px; }
.dots { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 10px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.5); }
.dots button.on { background: var(--cyan); }
.app-info { padding: 24px; display: flex; flex-direction: column; }
.app-info .h3 { font-size: 20px; margin-top: 6px; }
.app-info p { font-size: 13px; color: var(--muted); margin-top: 16px; }
.app-info .formats { font-size: 12px; font-weight: 500; margin-top: 6px; }
.app-info .btn { margin-top: auto; }
.prendas { display: flex; gap: 10px; margin-top: 10px; }
.prendas i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); }

/* Mascota */
.dark-stage { background: var(--navy); border-radius: 24px; color: #fff; overflow: hidden; position: relative; }
.story { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; min-height: 530px; padding: 20px 32px 20px 20px; }
.story .img { align-self: stretch; display: flex; align-items: flex-end; justify-content: center; position: relative; }
.story .img::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.04); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.story .img img { position: relative; max-height: 500px; animation: float 5s ease-in-out infinite; }
.story .origin { font-size: 16px; font-weight: 500; line-height: 1.5; margin-top: 10px; }
.story .blk { background: rgba(255,255,255,.07); border-radius: 12px; padding: 14px 18px; margin-top: 12px; }
.story .blk b { font-size: 15px; font-weight: 600; }
.story .blk p { font-size: 12.5px; color: #B8C6E6; margin-top: 2px; }
.symb { position: relative; aspect-ratio: 1098 / 560; }
.symb .iso { position: absolute; left: 30.9%; top: 6.8%; width: 43.4%; opacity: .37; }
.symb .char { position: absolute; left: 27.9%; top: 7.1%; width: 51%; }
.symb .floor { position: absolute; left: 36.2%; top: 84%; width: 32.8%; height: 10.5%; border-radius: 50%; background: rgba(0,180,240,.18); }
.hot { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: rgba(0,180,240,.25); border: 0; padding: 0; z-index: 3; }
.hot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 2px #fff; }
.hot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(0,180,240,.5); animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.conn { position: absolute; background: rgba(0,180,240,.6); z-index: 2; }
.tag-card { position: absolute; background: #1F2B66; border-radius: 14px; padding: 12px 18px; z-index: 4; border: 0; text-align: left; color: #fff; transition: all .25s; cursor: pointer; }
.tag-card small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 1px; color: var(--claro); }
.tag-card b { display: block; font-size: 17px; font-weight: 600; }
.tag-card .desc { display: block; max-height: 0; overflow: hidden; font-size: 12.5px; color: var(--muted); transition: max-height .3s, margin .3s; max-width: 230px; }
.tag-card.open { background: #fff; color: var(--ink); box-shadow: 0 16px 40px rgba(0,0,0,.35); z-index: 5; }
.tag-card.open small { color: var(--azul3); }
.tag-card.open .desc { max-height: 120px; margin-top: 6px; }

.traits { display: grid; grid-template-columns: 1fr 1fr 1.05fr; grid-template-rows: auto auto; gap: 16px; margin-top: 4px; }
.trait { padding: 20px 24px 26px; }
.trait .n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--soft); font-size: 13px; font-weight: 600; color: var(--azul3); }
.trait h3 { font-family: var(--font-display); font-size: 34px; font-weight: 600; margin-top: 18px; }
.trait p { font-size: 13px; color: var(--muted); margin-top: 6px; }
.trait-img { grid-column: 3; grid-row: 1 / span 2; background: var(--navy); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.trait-img img { width: 100%; height: 100%; object-fit: cover; }

.use-col { padding: 20px 24px 26px; border-top: 4px solid var(--ok); }
.use-col.ext { border-top-color: var(--azul3); }
.use-col.no { border-top-color: var(--bad); }
.use-col .label { color: var(--ok); }
.use-col.ext .label { color: var(--azul3); }
.use-col.no .label { color: var(--bad); }
.use-col h3 { font-size: 20px; font-weight: 600; margin: 4px 0 14px; }
.use-item { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 8px 14px; border-radius: 10px; background: var(--ok-bg); font-size: 13px; font-weight: 500; margin-top: 10px; }
.use-col.ext .use-item { background: var(--soft); }
.use-col.no .use-item { background: var(--bad-bg); }
.use-item i { width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-size: 11px; font-style: normal; font-weight: 700; background: var(--ok); }
.use-col.ext .use-item i { background: var(--azul3); }
.use-col.no .use-item i { background: var(--bad); }

.hier { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; margin-top: 4px; }
.hier-img { padding: 24px; display: flex; flex-direction: column; }
.hier-img .inner { display: flex; gap: 20px; align-items: center; flex: 1; }
.hier-img img { width: 62%; border-radius: 30px; }
.pct b { font-family: var(--font-display); font-size: 30px; font-weight: 600; display: block; }
.pct span { font-size: 12px; color: var(--muted); }
.rules { display: flex; flex-direction: column; gap: 10px; }
.rules .r { display: flex; gap: 14px; align-items: flex-start; padding: 12px 16px; }
.rules .r b.n { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--cyan); line-height: 1; }
.rules .r strong { font-size: 13px; display: block; }
.rules .r span { font-size: 11px; color: var(--muted); }
.check { overflow: hidden; }
.check-head { background: var(--navy); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .5px; padding: 16px 20px; }
.check-body { padding: 8px 20px 20px; }
.q { margin-top: 14px; font-size: 13px; font-weight: 500; }
.yn { display: flex; gap: 8px; margin-top: 8px; }
.yn button { width: 60px; height: 28px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-size: 12px; font-weight: 600; color: var(--muted); }
.yn button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.verdict { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: var(--soft); color: var(--azul3); font-size: 12px; }
.verdict.good { background: var(--ok-bg); color: var(--ok); }
.verdict.bad { background: var(--bad-bg); color: var(--bad); }

.filters { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.filter { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 16px; border-radius: 12px; background: #fff; box-shadow: var(--card-shadow); font-size: 12px; color: var(--muted2); }
.filter select { border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); outline: none; cursor: pointer; }
.count { margin-left: auto; font-size: 12px; color: var(--muted2); }
.matrix { margin-top: 16px; overflow-x: auto; }
.matrix table { width: 100%; border-collapse: collapse; min-width: 760px; }
.matrix th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: 1px; color: var(--azul3); padding: 20px 24px 14px; }
.matrix td { padding: 20px 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); vertical-align: middle; }
.matrix td:first-child { font-size: 14px; font-weight: 600; color: var(--ink); }
.badge { display: inline-block; padding: 4px 14px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.badge.no { background: var(--bad-bg); color: var(--bad); }
.badge.mod { background: var(--soft); color: var(--azul3); }
.badge.yes { background: var(--ok-bg); color: var(--ok); }
.empty-row td { text-align: center; padding: 30px; }

/* Recursos */
.res-card { padding: 12px 12px 18px; }
.res-card .prev { height: 120px; gap: 12px; }
.res-card .prev img { max-height: 70%; max-width: 70%; object-fit: contain; }
.res-card .h4 { margin: 16px 6px 0; }
.res-card .small { margin: 0 6px; }
.fmt { display: flex; gap: 8px; margin: 12px 6px 0; flex-wrap: wrap; }
.fmt a { height: 26px; padding: 0 14px; border-radius: 13px; border: 1.5px solid var(--navy); font-size: 12px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; transition: all .15s; }
.fmt a:hover { background: var(--navy); color: #fff; }
.dots-color { display: flex; gap: 6px; }
.dots-color i { width: 28px; height: 28px; border-radius: 50%; }

/* Derechos */
.rights-banner { border-radius: var(--radius); overflow: hidden; height: 212px; margin-top: 20px; }
.rights-banner img { width: 100%; height: 100%; object-fit: cover; }
.rights-text { padding: 28px 72px 0; }
.rights-text b { font-size: 18px; font-weight: 600; display: block; }
.rights-text p { font-size: 16px; color: var(--azul3); margin-top: 10px; }
.facts .card { padding: 22px 24px; }
.facts b { font-size: 24px; font-weight: 600; display: block; margin-top: 4px; }
.request { display: flex; align-items: center; gap: 24px; padding: 24px 32px; margin-top: 16px; }
.request img { width: 88px; }
.request .t { flex: 1; }
.request .t b { font-size: 20px; font-weight: 600; display: block; }
.request .t a { color: var(--azul3); font-weight: 600; }
.request .right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(5,8,24,.72); display: none; align-items: center; justify-content: center; padding: 32px; }
.lightbox.open { display: flex; animation: pageIn .2s ease; }
.lightbox figure { margin: 0; background: #fff; border-radius: 18px; padding: 16px; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; }
.lightbox img { max-height: calc(100vh - 150px); object-fit: contain; border-radius: 10px; margin: 0 auto; }
.lightbox figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 4px 0; font-weight: 600; }
.lightbox .close { border: 0; background: var(--navy); color: #fff; border-radius: 16px; height: 32px; padding: 0 18px; font-size: 12px; font-weight: 600; }

/* ---------- 06 · Así nos vemos ---------- */
.anv-hero { position: relative; padding: 36px 0 44px; }
.anv-title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(32px, 5vw, 72px); line-height: 1.05; letter-spacing: 2px; color: var(--navy); margin: 10px 0 18px; white-space: nowrap;
}
.anv-title span { background: linear-gradient(90deg, var(--azul3), var(--cyan) 60%, var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.anv-hero .lead { font-size: 17px; max-width: 720px; }
.anv-scroll { margin-top: 28px; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--azul3); }
.anv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 12px; }
.anv-item { position: relative; margin: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: #E6ECF5;
  opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); min-width: 0; }
.anv-item.in { opacity: 1; transform: none; }
.anv-item.full { grid-column: 1 / -1; aspect-ratio: 16 / 8.9; }
.anv-item.half { aspect-ratio: 4 / 3; }
.anv-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.anv-item:hover img { transform: scale(1.03); }
.anv-item figcaption {
  position: absolute; left: 20px; bottom: 20px; padding: 8px 16px; border-radius: 999px;
  background: rgba(20,30,81,.72); color: #fff; font-size: 13px; font-weight: 600;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.anv-item:hover figcaption, .anv-item:focus-within figcaption { opacity: 1; transform: none; }
@media (hover: none) { .anv-item figcaption { opacity: 1; transform: none; } }

/* ---------- Adaptación a pantallas pequeñas ---------- */
@media (max-width: 1280px) {
  .g5 { grid-template-columns: repeat(3, 1fr); }
  .content { padding: 28px 32px 20px; }
  .header { padding: 0 32px; }
  .hero { margin: -28px -32px -20px; }
}
@media (max-width: 1100px) {
  .build, .guide, .typo, .apps { grid-template-columns: 1fr; }
  .hier { grid-template-columns: 1fr 1fr; }
  .hier-img { grid-column: 1 / -1; }
  .wrong { grid-template-columns: 1fr; }
  .traits { grid-template-columns: 1fr 1fr; }
  .trait-img { grid-column: 1 / -1; grid-row: auto; height: 380px; }
  .recs { grid-template-columns: repeat(2, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .sidebar { transform: translateX(-100%); transition: transform .3s ease; box-shadow: 0 0 40px rgba(0,0,0,.4); }
  body.menu-open .sidebar { transform: none; }
  body.menu-open .scrim { opacity: 1; pointer-events: auto; }
  .scrim { position: fixed; inset: 0; background: rgba(5,8,24,.5); z-index: 35; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .main { margin-left: 0; }
  .header { justify-content: space-between; padding: 0 16px; gap: 12px; background: var(--navy); border-bottom: 0; }
  .burger { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 0; background: rgba(255,255,255,.1); }
  .burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; }
  .burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
  .burger span::before { top: -6px; } .burger span::after { top: 6px; }
  .header-logo { display: block; margin-right: auto; }
  .header-logo img { height: 34px; width: auto; }
  .search { width: 40px; }
  .search input { padding: 0; width: 40px; color: transparent; background: rgba(255,255,255,.1); cursor: pointer; }
  .search input::placeholder { color: transparent; }
  .search input:focus::placeholder { color: var(--muted2); }
  .search input:focus { position: fixed; left: 12px; right: 12px; top: 12px; width: auto; padding: 0 16px 0 40px; color: var(--ink); background: #fff; z-index: 2; }
  .search::before { border-color: #fff; left: 14px; top: 12px; }
  .search:focus-within::before { position: fixed; left: 28px; top: 24px; border-color: #6F82B3; z-index: 3; }
  .search-results { position: fixed; top: 58px; left: 12px; right: 12px; }
  .header .btn { display: none; }
  .content { padding: 24px 16px 16px; }
  .hero { margin: -24px -16px -16px; min-height: calc(100vh - var(--header-h)); align-items: flex-start; }
  .hero { flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 40px 24px 56px; text-align: center; }
  .hero-text { display: contents; }
  .hero h1 { order: 1; } .hero p.sub { order: 2; } .hero p.claim { order: 3; }
  .hero .btn-cyan { order: 4; align-self: center; }
  .hero-mascot { order: 5; position: relative; right: auto; bottom: auto; align-self: center; height: auto; width: min(64vw, 260px); margin: 28px auto 0; z-index: 2; }
  .hero .alt { order: 6; margin-top: 20px; }
  .hero h1, .hero p, .hero .btn-cyan { position: relative; z-index: 2; }
  .hero .t1 { font-size: 34px; } .hero .t3 { font-size: 22px; letter-spacing: 2px; }
  .hero-iso { width: 90vw; top: auto; bottom: 0; transform: none; }
  .h1 { font-size: 32px; }
  .g5 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ver-card .prev { height: 130px !important; }
  .stage { flex-direction: column; gap: 28px; }
  .stage .lg > img { height: 110px !important; width: auto; }
  .stage .lg > div { width: 190px !important; }
  .preview-text { min-height: 80px; }
  .alphabet { font-size: 17px; word-break: break-all; }
  .g2, .g3, .g4, .intro-row, .intro-row.rev, .summary, .traits, .hier, .recs, .rule .cols { grid-template-columns: 1fr; }
  .intro-row.rev .intro-img { order: 0; }
  .intro-row .txt, .intro-row.rev .txt { padding: 0 20px 24px; }
  .summary { grid-template-columns: 1fr; padding: 0; gap: 16px; margin-top: 28px; }
  .summary p.big { text-align: left; margin: 0; font-size: 17px; }
  .summary .sum-line { display: none; }
  .summary .sum-box { padding: 20px 22px; }
  .intro-row { gap: 20px; }
  .tester { grid-template-columns: 1fr; }
  .promise, .cta, .request, .band-dark, .stripe { flex-direction: column; align-items: flex-start; }
  .request .right { align-items: flex-start; }
  .rights-text { padding: 24px 8px 0; }
  .story { grid-template-columns: 1fr; padding: 20px; }
  .story .img img { max-height: 320px; }
  .symb { aspect-ratio: auto; height: 560px; }
  .symb .iso, .symb .char { left: 50%; transform: translateX(-50%); width: 90%; top: 20px; }
  .symb .floor, .conn, .hot { display: none; }
  .tag-card { position: relative; left: auto !important; top: auto !important; display: block; width: 100%; margin-top: 10px; }
  .symb-list { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 5; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; }
  .tab { flex: none; }
  .tabs-note { flex: none; }
  .pager strong { font-size: 13px; }
  .tester-top { flex-direction: column; }
  .tester-top select { width: 100%; }
  .metrics { gap: 20px; }
  .anv-grid { grid-template-columns: 1fr; gap: 14px; }
  .anv-item.full, .anv-item.half { grid-column: auto; border-radius: 14px; }
  .anv-item.full { aspect-ratio: 16 / 9; }
  .anv-hero { padding: 16px 0 28px; }
  .anv-item figcaption { left: 12px; bottom: 12px; font-size: 12px; }
}
@media (max-height: 760px) and (min-width: 961px) {
  .menu { gap: 4px; } .menu a { height: 36px; } .glass-sep { margin: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* Botón de descarga con marca de agua · Así nos vemos */
.anv-dl {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 12px;
  border-radius: 999px; background: rgba(255,255,255,.92); color: var(--navy);
  font-size: 13px; font-weight: 600; text-decoration: none;
  box-shadow: 0 4px 14px rgba(10,16,50,.18); transition: background .2s, color .2s, transform .2s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.anv-dl svg { width: 18px; height: 18px; }
.anv-dl:hover, .anv-dl:focus-visible { background: var(--cyan); color: #fff; transform: translateY(-1px); }
.anv-dl:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
@media (max-width: 960px) { .anv-dl { right: 12px; bottom: 12px; height: 34px; padding: 0 12px 0 10px; font-size: 12px; } }

/* Iconos de la introducción */
.intro-head { display: flex; align-items: center; gap: 14px; }
.intro-head .ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0,180,240,.14), rgba(0,97,142,.10)); color: var(--azul3); }
.intro-head .ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.intro-row p { max-width: none; font-size: 14px; line-height: 1.6; text-align: justify; }
.intro-row .txt, .intro-row.rev .txt { padding: 24px 56px; }
@media (max-width: 960px) { .intro-head .ico { width: 40px; height: 40px; border-radius: 12px; } .intro-head .ico svg { width: 22px; height: 22px; } .intro-row h3 { font-size: 24px; } }
@media (max-width: 960px) { .intro-row .txt, .intro-row.rev .txt { padding: 0 20px 24px; } .intro-row p { text-align: left; } }

/* Resumen · etiqueta y animación (texto → línea → recuadro sale a la derecha) */
.summary .sum-text { text-align: right; margin-right: 30px; }
.summary .sum-text .label { color: var(--navy); margin-bottom: 10px; }
.summary .sum-text p.big { margin: 0; }
.summary .sum-line { transform-origin: left center; }
.summary.pre .sum-text { opacity: 0; transform: translateY(10px); }
.summary.pre .sum-line { transform: scaleX(0); }
.summary.pre .sum-box { opacity: 0; transform: translateX(-60px) scale(.96); }
.summary.play .sum-text { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.summary.play .sum-line { transform: scaleX(1); transition: transform .6s cubic-bezier(.6,0,.2,1) 1.6s; }
.summary.play .sum-box { opacity: 1; transform: none; transition: opacity .6s ease 2.1s, transform .9s cubic-bezier(.2,.9,.25,1.15) 2.1s; }
.summary.play .sum-box b { animation: sumGlow 1.2s ease 3.1s both; }
@keyframes sumGlow { 0% { color: var(--navy); } 40% { color: var(--cyan); } 100% { color: var(--navy); } }
@media (max-width: 960px) {
  .summary .sum-text { text-align: left; margin-right: 0; }
  .summary.pre .sum-box { transform: translateY(20px); }
}

/* Nota de siguiente paso · ¿Qué versión debo usar? */
.next-note { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 28px auto 0; max-width: 820px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.6; }
.next-note .ico { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,180,240,.12); color: var(--azul3); }
.next-note .ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.next-note a { color: var(--azul3); font-weight: 600; }
@media (max-width: 960px) { .next-note { text-align: left; justify-content: flex-start; } }

/* Orientación definida en Penpot (imágenes volteadas horizontalmente) */
.flip-x { scale: -1 1; }

/* Personalidad · rostro de la mascota al pasar el mouse */
.trait { cursor: pointer; transition: box-shadow .25s, transform .25s, background .25s, border-color .25s; border: 1.5px solid transparent; }
.trait:hover, .trait.on, .trait:focus-visible { border-color: var(--cyan); box-shadow: 0 10px 28px rgba(0,97,142,.16); transform: translateY(-2px); outline: none; }
.trait.on { background: linear-gradient(180deg, #fff 0%, #EEF8FD 100%); }
.trait.on .n { background: var(--cyan); color: #fff; }
.trait-img { position: relative; }
.trait-glow { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(0,180,240,.38) 0%, rgba(0,97,142,.25) 45%, rgba(20,30,81,0) 72%); opacity: 0; transform: scale(.85); transition: opacity .4s, transform .5s; }
.trait-img .trait-base { transition: opacity .35s ease, transform .45s ease; }
.trait-img .trait-face { position: absolute; width: min(96%, 100% - 16px); height: auto; object-fit: contain; opacity: 0; transform: scale(.8) translateY(12px); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.9,.3,1.2); pointer-events: none; }
.trait-img.face-on .trait-base { opacity: 0; transform: scale(.95); }
.trait-img.face-on .trait-glow { opacity: 1; transform: scale(1); }
.trait-img .trait-face.show { opacity: 1; transform: none; }
.trait-guide { margin-top: 16px; color: var(--azul3); font-weight: 500; text-align: center; }

/* Mensajes a tener en cuenta · estilo unificado (fondo azul claro + ⓘ) */
.alert { line-height: 1.5; }
.alert .alert-sub { display: block; margin-top: 4px; font-size: 12px; opacity: .85; padding-left: 1.45em; }
.alert-sm { padding: 12px 16px; font-size: 12px; margin-top: 20px; }
.alert.next-note { display: block; max-width: none; text-align: left; margin: 20px 0 0; color: var(--azul3); font-size: 13px; }
.alert.next-note a { color: var(--azul3); font-weight: 600; }
.alert.trait-guide { text-align: center; margin-top: 16px; font-weight: 500; padding: 12px 24px; }
@media (max-width: 960px) { .alert.trait-guide { text-align: left; } }
.info-card .alert-sm { margin-top: 18px; }
@media (max-width: 960px) { .h1 br { display: none; } }

/* Jerarquía · pieza ajustada a su tarjeta + reglas a la derecha */
.hier { grid-template-columns: auto 1fr; align-items: stretch; }
.hier-img { padding: 24px; }
.hier-img .inner { justify-content: flex-start; gap: 40px; flex: 1; }
.hier-img img { width: auto; max-width: none; height: 420px; object-fit: contain; border-radius: 30px; }
.hier-img .pct { min-width: 90px; }
.hier-note { text-align: center; margin-top: 16px; }
.rules .r { flex: 1; align-items: center; padding: 16px 24px; gap: 20px; }
.rules .r b.n { font-size: 30px; }
.rules .r strong { font-size: 16px; } .rules .r span { font-size: 13px; }
@media (max-width: 1100px) { .hier { grid-template-columns: 1fr; } .hier-img .inner { justify-content: center; } .hier-img img { height: auto; max-width: 60%; } }
@media (max-width: 960px) { .hier-img .inner { gap: 20px; } }
.rules .r b.n { width: 24px; flex: none; text-align: center; }
/* Ajustes manuales de Penpot · porcentajes Jerarquía */
.hier-img .pct b { font-size: 30px; font-weight: 700; line-height: 1.2; }
.hier-img .pct span { display: block; font-size: 12px; margin-top: -2px; }
.hier-img .pct.mt24 { margin-top: 116px; }
@media (max-width: 960px) { .hier-img .pct.mt24 { margin-top: 40px; } }
/* Aplicaciones · espacio mínimo antes del botón de descarga (todas las pestañas) */
.app-info > :nth-last-child(2) { margin-bottom: 32px; }

/* Personalidad · versión móvil: títulos compactos + mascota debajo */
.trait-desc, .g-mob { display: none; }
@media (max-width: 700px) {
  .traits { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trait { padding: 12px 14px; display: flex; align-items: center; gap: 10px; transform: none !important; }
  .trait p { display: none; }
  .trait .n { width: 26px; height: 26px; font-size: 11px; flex: none; }
  .trait h3 { font-size: 18px; margin-top: 0; }
  .trait-img { grid-column: 1 / -1; grid-row: auto; height: 320px; }
  .trait-img .trait-face { width: min(80%, 300px); }
  .trait-desc { grid-column: 1 / -1; display: block; margin: 0; font-size: 13px; color: var(--muted); text-align: center; min-height: 20px; opacity: 0; transition: opacity .3s; }
  .trait-desc.show { opacity: 1; }
  .trait-desc b { color: var(--navy); }
  .g-desk { display: none; } .g-mob { display: inline; }
}
/* Personalidad · aviso arriba solo en móvil */
.trait-guide-mob { display: none; }
@media (max-width: 700px) {
  .trait-guide-mob { display: block; margin: 0 0 14px; }
  .trait-guide-desk { display: none; }
}
.menu a.soon { cursor: default; }

/* ---------- 02 · Identidad de marca ---------- */
.idm-banner { height: 150px; border-radius: 20px; background: linear-gradient(120deg, var(--navy), #22306e 60%, var(--azul3)); display: grid; place-items: center; color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: 1px; margin-bottom: 28px; position: relative; overflow: hidden; }
.idm-banner::after { content: ""; position: absolute; width: 520px; height: 90px; border-radius: 60px; background: rgba(0,180,240,.18); right: -80px; top: 20px; transform: rotate(-20deg); }
.idm-steps { display: flex; gap: 12px; margin: 22px 0 8px; flex-wrap: wrap; }
.idm-step { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 600; font-size: 14px; transition: border-color .25s, box-shadow .25s, transform .25s; }
.idm-step .bar { display: none; }
.idm-step .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--azul3); font-size: 13px; font-weight: 700; position: relative; }
.idm-step:not(.on) .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--cyan); opacity: 0; animation: idmPulse 2.2s ease-out infinite; }
.idm-step:nth-child(3):not(.on) .dot::after { animation-delay: .6s; }
@keyframes idmPulse { 0% { opacity: .7; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.35); } }
.idm-step:hover { border-color: var(--cyan); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,97,142,.12); }
.idm-step.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.idm-step.on .dot { background: var(--cyan); color: #fff; box-shadow: 0 0 0 4px rgba(0,180,240,.25); }
.idm-step.past .dot { background: rgba(0,180,240,.18); }
.idm-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 18px; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.idm-panel.in { opacity: 1; transform: none; }
.idm-text { min-width: 0; }
.idm-h2 { font-family: var(--font-display); font-weight: 600; font-size: 34px; color: var(--navy); line-height: 1.15; }
.idm-lead { font-size: 18px; font-weight: 600; color: var(--azul3); margin-top: 14px; }
.idm-text p:not(.idm-lead) { font-size: 14px; line-height: 1.65; color: var(--muted); margin-top: 12px; text-align: justify; }
.idm-visual { position: relative; height: 440px; min-width: 0; }
.idm-visual .cap { position: absolute; border-radius: 999px; transform: rotate(22deg); }
.idm-visual .c1 { width: 62%; height: 70px; background: var(--azul3); right: 2%; top: 6%; }
.idm-visual .c2 { width: 92%; height: 110px; background: var(--navy); right: -4%; top: 30%; }
.idm-visual .c3 { width: 48%; height: 80px; background: var(--azul3); left: 4%; top: 58%; }
.idm-visual .c4 { width: 52%; height: 64px; background: var(--navy); right: 8%; bottom: 4%; }
.idm-panel.in .cap { animation: capIn .7s cubic-bezier(.2,.8,.2,1) both; }
.idm-panel.in .c2 { animation-delay: .08s; } .idm-panel.in .c3 { animation-delay: .16s; } .idm-panel.in .c4 { animation-delay: .24s; }
@keyframes capIn { from { opacity: 0; translate: 40px 0; } to { opacity: 1; translate: 0 0; } }
.idm-photo { position: absolute; inset: 6% 18% 0; border: 2px dashed rgba(255,255,255,.65); border-radius: 20px; display: grid; place-items: center; text-align: center; color: #fff; font-size: 13px; font-weight: 600; background: rgba(20,30,81,.25); backdrop-filter: blur(2px); }
.idm-photo small { font-weight: 400; opacity: .8; }
.idm-next { margin-top: 28px; }
.idm-next a { color: var(--azul3); font-weight: 600; }
.idm-tone { margin-top: 36px; background: var(--navy); border-radius: 20px; padding: 28px 44px; color: #fff; position: relative; overflow: hidden; }
.idm-tone::after { content: ""; position: absolute; right: -60px; top: -30px; width: 280px; height: 70px; border-radius: 50px; background: rgba(0,180,240,.2); transform: rotate(-20deg); }
.idm-tone .label { color: var(--aqua); }
.idm-tone p { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3.2vw, 40px); text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; line-height: 1.1; }
.idm-tone p span { color: #A9F1F9; }
.idm-values { margin-top: 96px; }
.idm-values .idm-h2 { margin-top: 6px; font-size: 30px; }
.vals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.val { padding: 26px 24px 28px; transition: background .3s, color .3s, transform .3s, box-shadow .3s; cursor: default; min-width: 0; }
.val-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--soft); color: var(--azul3); transition: background .3s, color .3s; }
.val-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.val h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--navy); margin-top: 18px; transition: color .3s; }
.val p { font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 10px; transition: color .3s; }
.val:hover, .val:focus-visible { background: var(--navy); transform: translateY(-4px); box-shadow: 0 16px 34px rgba(20,30,81,.28); outline: none; }
.val:hover .val-ico, .val:focus-visible .val-ico { background: var(--cyan); color: #fff; }
.val:hover h3, .val:focus-visible h3 { color: #fff; }
.val:hover p, .val:focus-visible p { color: #C6D3F0; }
@media (max-width: 1100px) { .vals { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) {
  .idm-panel { grid-template-columns: 1fr; gap: 24px; }
  .idm-visual { height: 340px; }
  .idm-text p:not(.idm-lead) { text-align: left; }
  .idm-h2 { font-size: 28px; }
  .idm-steps { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 4px 16px 6px; }
  .idm-step { flex: none; }
  .idm-tone { padding: 22px 24px; }
  .idm-banner { height: 110px; }
}
@media (max-width: 600px) { .vals { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .idm-step .dot::after { display: none; } }
.val h3 { font-size: 20px; white-space: nowrap; }
@media (max-width: 1280px) { .val h3 { white-space: normal; } }
@media (max-width: 960px) { .idm-visual { overflow: hidden; border-radius: 20px; } }
@media (max-width: 600px) {
  .idm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; overflow: visible; margin: 18px 0 6px; padding: 0; }
  .idm-step { flex-direction: column; justify-content: center; text-align: center; gap: 6px; padding: 10px 6px; border-radius: 16px; font-size: 12px; line-height: 1.2; }
}

/* Identidad de marca · navegación por barras numeradas */
.idm-bars { display: grid; grid-template-columns: repeat(3, minmax(0, 150px)); gap: 10px; margin: 18px 0 6px; }
.idm-bar { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 0; text-decoration: none; cursor: pointer; }
.idm-bar .ln { width: 100%; height: 5px; border-radius: 3px; background: #C9CFDA; margin-top: 15px; transition: background .3s; }
.idm-bar .dot { position: absolute; top: 0; left: 50%; translate: -50% 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; background: #fff; color: var(--muted); border: 2px solid #C9CFDA; transition: all .3s; }
.idm-bar:not(.on) .dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--cyan); opacity: 0; animation: idmPulse 2.2s ease-out infinite; }
.idm-bar:nth-child(3):not(.on) .dot::after { animation-delay: .7s; }
.idm-bar .lbl { margin-top: 26px; font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; transition: color .3s; }
.idm-bar:hover .ln { background: var(--claro); } .idm-bar:hover .dot { border-color: var(--cyan); color: var(--azul3); } .idm-bar:hover .lbl { color: var(--azul3); }
.idm-bar.on .ln { background: var(--azul3); }
.idm-bar.on .dot { background: var(--cyan); border-color: var(--cyan); color: #fff; box-shadow: 0 0 0 5px rgba(0,180,240,.22); }
.idm-bar.on .lbl { color: var(--navy); }
.idm-bar:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 8px; }
.idm-lead { margin-top: 18px; }
@media (max-width: 600px) { .idm-bars { grid-template-columns: repeat(3, 1fr); } .idm-bar .lbl { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .idm-bar .dot::after { display: none; } }

/* Identidad de marca · tono de voz y valores (estilo ilustrado) */
.idm-tone { margin-top: 40px; background: #C8D8EE; color: var(--navy); border-radius: 24px; padding: 36px 44px; display: grid; grid-template-columns: 1fr 260px; align-items: center; gap: 24px; }
.idm-tone::after { display: none; }
.idm-tone .label { color: var(--azul3); }
.idm-tone h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 52px); line-height: 1.05; margin-top: 10px; color: var(--navy); }
.idm-tone h2 span { color: var(--cyan); }
.tone-ilus svg, .val-ilus svg { width: 100%; height: auto; display: block; }
.vals { grid-template-columns: 1fr 1fr; gap: 20px; }
.val { background: #E7EDF6; border-radius: 24px; padding: 34px 28px 34px 36px; display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 16px; align-items: center; border: 1.5px solid transparent; transition: background .3s, border-color .3s, transform .3s, box-shadow .3s; }
.val h3 { font-family: var(--font-display); font-weight: 700; font-size: 38px; line-height: 1.02; color: var(--navy); white-space: normal; margin: 0; transition: color .3s; }
.val h3 i { font-style: normal; color: var(--cyan); }
.val p { font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 14px; }
.val-ilus { transition: transform .4s cubic-bezier(.2,.9,.3,1.3); }
.val:hover, .val:focus-visible { background: #DDF3FC; border-color: var(--cyan); transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,97,142,.14); outline: none; }
.val:hover h3, .val:focus-visible h3 { color: var(--azul3); }
.val:hover p, .val:focus-visible p { color: var(--ink, #2b3350); }
.val:hover .val-ilus, .val:focus-visible .val-ilus { transform: scale(1.06) rotate(-2deg); }
@media (max-width: 1280px) { .val { grid-template-columns: minmax(0,1fr) 160px; } .val h3 { font-size: 32px; } }
@media (max-width: 1100px) { .vals { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .idm-tone { grid-template-columns: 1fr; padding: 28px 24px; } .tone-ilus { max-width: 200px; } }
@media (max-width: 600px) { .val { grid-template-columns: 1fr; padding: 26px 22px; } .val-ilus { order: -1; max-width: 170px; } .val h3 { font-size: 30px; } .vals { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .idm-values { margin-top: 64px; } }
/* Identidad de marca · imágenes reales (desde Penpot) */
.idm-visual { height: auto; display: grid; place-items: center; overflow: visible; border-radius: 0; }
.idm-img { width: 100%; max-width: 495px; height: auto; display: block; animation: idmImgIn .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes idmImgIn { from { opacity: 0; transform: translateX(40px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .idm-img { animation: none; } }
@media (max-width: 960px) { .idm-visual { height: auto; overflow: visible; } .idm-img { max-width: 420px; } }
@media (max-width: 600px) { .pager { gap: 12px; } .pager a { min-width: 0; flex: 1 1 0; } .pager a > span:not(.circle), .pager a > div { min-width: 0; } .pager strong { overflow-wrap: anywhere; } }
/* Identidad de marca · banner real (desde Penpot, 1098×140) */
.idm-banner { height: auto; aspect-ratio: 2196 / 280; background: #A9B4D0 url(../assets/idm/banner.jpg) center / cover no-repeat; animation: idmBanIn .8s ease-out both; }
.idm-banner::before, .idm-banner::after { display: none; }
@keyframes idmBanIn { from { opacity: 0; background-position: 60% center; } to { opacity: 1; background-position: center; } }
@media (max-width: 700px) { .idm-banner { aspect-ratio: auto; height: 96px; background-position: 30% center; animation: none; } }
@media (prefers-reduced-motion: reduce) { .idm-banner { animation: none; } }
/* ---------- 08 · Uso multimedia ---------- */
.um-meta { display: flex; gap: 24px; margin: 18px 0 26px; }
.um-meta > div { display: flex; flex-direction: column; gap: 4px; }
.um-meta > div + div { padding-left: 24px; border-left: 1px solid var(--line, #dce3ee); }
.um-meta small { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--azul3); }
.um-meta span { font-size: 14px; font-weight: 500; color: var(--navy); }
.um-banner { aspect-ratio: 2196 / 280; border-radius: 20px; background: linear-gradient(90deg, var(--navy), #22306e 60%, var(--azul3)) center / cover no-repeat; display: grid; place-items: center; color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: 1px; margin-bottom: 40px; overflow: hidden; animation: idmBanIn .8s ease-out both; }
.um-banner.has-img span { display: none; }
.um-body { max-width: 720px; }
.um-desc { font-size: 14px; line-height: 1.65; color: var(--muted, #5b6275); text-align: justify; margin-top: 18px; }
.um-h3 { font-family: var(--font-display); font-weight: 600; font-size: 26px; color: var(--navy); margin-top: 48px; }
.um-intro { font-size: 14px; color: var(--muted, #5b6275); margin-top: 10px; }
.um-block { margin-top: 28px; opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.um-block.in { opacity: 1; transform: none; }
.um-chip { display: inline-block; padding: 7px 16px; border-radius: 999px; background: #e6f4fa; color: var(--azul3); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.um-video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--azul3)); }
.um-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; opacity: 0; pointer-events: none; }
.um-video.ready video { opacity: 1; pointer-events: auto; }
.um-video.ready .um-ph { display: none; }
.um-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; text-align: center; padding: 16px; }
.um-ph b { font-size: 14px; font-weight: 600; margin-top: 10px; }
.um-ph small { font-size: 12px; opacity: .7; word-break: break-all; }
.um-play { width: 72px; height: 72px; border-radius: 50%; background: var(--cyan); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(0,180,240,.55); animation: umPulse 2.2s ease-out infinite; }
.um-play svg { width: 22px; height: 26px; margin-left: 5px; }
@keyframes umPulse { 0% { box-shadow: 0 0 0 0 rgba(0,180,240,.55); } 70% { box-shadow: 0 0 0 18px rgba(0,180,240,0); } 100% { box-shadow: 0 0 0 0 rgba(0,180,240,0); } }
.um-dl { margin-top: 36px; }
@media (max-width: 700px) { .um-banner { aspect-ratio: auto; height: 96px; } .um-h3 { font-size: 22px; } .um-play { width: 56px; height: 56px; } .um-meta { gap: 16px; } .um-meta > div + div { padding-left: 16px; } .um-dl { white-space: normal; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .um-block { opacity: 1; transform: none; transition: none; } .um-play { animation: none; } }
/* Uso multimedia · sin banner (ajuste del usuario en Penpot) */
.um-meta { margin-bottom: 40px; }
.um-body { max-width: none; }
.um-desc { max-width: 1037px; }
.um-block { max-width: 720px; }
/* Uso multimedia · icono flotante al 10% detrás del párrafo descriptivo */
.um-intro-wrap { position: relative; isolation: isolate; }
.um-intro-wrap > :not(.um-float) { position: relative; z-index: 1; }
.um-float { position: absolute; z-index: 0; right: 0; top: 10px; width: 260px; opacity: .1; pointer-events: none; animation: umFloat 6s ease-in-out infinite; }
.um-float svg { width: 100%; height: auto; display: block; }
@keyframes umFloat { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-16px) rotate(3deg); } }
@media (max-width: 700px) { .um-float { width: 150px; top: 0; } }
@media (prefers-reduced-motion: reduce) { .um-float { animation: none; } }
/* Recursos · tarjeta Multimedia */
.res-mm .prev svg { height: 100%; width: auto; max-width: 92%; }
/* Uso multimedia · posición del icono flotante según Penpot (x 730/1098, y = altura del eyebrow) */
.um-top { position: relative; isolation: isolate; }
.um-top > :not(.um-float) { position: relative; z-index: 1; }
.um-top .um-float { left: 66.5%; right: auto; top: -4px; }
@media (max-width: 960px) { .um-top .um-float { left: auto; right: 0; top: 0; width: 170px; } }
@media (max-width: 700px) { .um-top .um-float { width: 120px; top: -10px; } }
/* ---------- 09 · Mascota › Matriz · filtros liquid glass + cuadros ---------- */
.mx-stage { position: relative; margin-top: 8px; padding: 22px; border-radius: 24px; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, rgba(0,97,142,.06), rgba(0,180,240,.05)); }
.mx-blob { position: absolute; z-index: -1; border-radius: 999px; filter: blur(2px); transform: rotate(-18deg); animation: mxDrift 14s ease-in-out infinite alternate; }
.mx-blob.b1 { width: 340px; height: 64px; left: 4%; top: 6px; background: linear-gradient(90deg, #00618E, #00B4F0); opacity: .55; }
.mx-blob.b2 { width: 280px; height: 56px; left: 38%; top: 34px; background: linear-gradient(90deg, #141E51, #00618E); opacity: .45; animation-duration: 18s; }
.mx-blob.b3 { width: 260px; height: 52px; left: 66%; top: 4px; background: linear-gradient(90deg, #00B4F0, #2EE6F0); opacity: .5; animation-duration: 16s; }
@keyframes mxDrift { from { translate: -24px 0; } to { translate: 28px 6px; } }
.mx-filters { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.mx-glass { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 20px; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, rgba(0,180,240,.30), rgba(0,97,142,.22) 55%, rgba(20,30,81,.18));
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -10px 18px rgba(0,97,142,.18), 0 10px 24px rgba(0,97,142,.18);
  color: #fff; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s; overflow: hidden; }
.mx-glass::before { content: ""; position: absolute; inset: 1px 12px auto; height: 45%; border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0)); pointer-events: none; }
.mx-glass::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-18deg); transition: left .7s ease; pointer-events: none; }
.mx-glass:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -10px 18px rgba(0,97,142,.22), 0 14px 30px rgba(0,97,142,.26); }
.mx-glass:hover::after { left: 120%; }
.mx-glass.on { background: linear-gradient(135deg, rgba(0,180,240,.55), rgba(0,97,142,.45) 55%, rgba(20,30,81,.38)); }
.mx-gl { position: relative; font-size: 12px; font-weight: 500; color: rgba(255,255,255,.88); text-shadow: 0 1px 2px rgba(20,30,81,.35); }
.mx-glass select { position: relative; appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(20,30,81,.35); outline: none; cursor: pointer; padding-right: 4px; }
.mx-glass select option { color: var(--ink); background: #fff; }
.mx-glass svg { position: relative; width: 12px; height: 8px; color: #fff; pointer-events: none; }
.mx-glass:focus-within { outline: 2px solid var(--aqua, #2EE6F0); outline-offset: 2px; }
.mx-count { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--azul3); background: rgba(255,255,255,.7); padding: 6px 14px; border-radius: 999px; }
.mx-head, .mx-row { display: grid; grid-template-columns: 1.15fr 1fr .85fr 1.7fr; gap: 12px; }
.mx-head { margin: 24px 0 10px; padding: 0 20px; font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--azul3); }
.mx-grid { display: grid; gap: 12px; }
.mx-row { animation: mxIn .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes mxIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.mx-cell { background: #fff; border-radius: 16px; padding: 18px 20px; min-height: 76px; display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); box-shadow: var(--card-shadow); border: 1px solid transparent; transition: transform .25s, box-shadow .25s; }
.mx-row:hover .mx-cell { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(20,30,81,.10); }
.mx-cell small { display: none; }
.mx-tipo b { font-size: 14px; font-weight: 600; color: var(--ink); }
.mx-st { justify-content: center; font-weight: 600; }
.mx-st b { font-size: 13px; font-weight: 700; }
.mx-st i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; flex: none; }
.mx-st.no { background: #FBE1E2; border-color: #F3B7B9; color: var(--bad); } .mx-st.no i { background: var(--bad); }
.mx-st.mod { background: #D6EEF9; border-color: #A9DBF1; color: var(--azul3); } .mx-st.mod i { background: var(--azul3); }
.mx-st.yes { background: #DDF3E6; border-color: #A9DDBE; color: var(--ok); } .mx-st.yes i { background: var(--ok); }
.mx-empty { background: #fff; border-radius: 16px; padding: 28px; text-align: center; color: var(--muted2); box-shadow: var(--card-shadow); }
@media (max-width: 900px) {
  .mx-head { display: none; }
  .mx-row { grid-template-columns: 1fr 1fr; background: rgba(255,255,255,.5); padding: 10px; border-radius: 20px; }
  .mx-cell { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; min-height: 0; }
  .mx-cell small { display: block; font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--azul3); }
  .mx-st { flex-direction: row; align-items: center; flex-wrap: wrap; } .mx-st small { width: 100%; color: inherit; }
  .mx-row > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .mx-stage { padding: 14px; } .mx-glass { height: 44px; flex: 1 1 100%; justify-content: space-between; } .mx-glass select { flex: 1; text-align: right; } .mx-count { margin-left: 0; } .mx-row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .mx-blob, .mx-row { animation: none; } .mx-glass::after { display: none; } }
.mx-glass { width: 270px; justify-content: space-between; background: linear-gradient(135deg, rgba(0,180,240,.46), rgba(0,97,142,.42) 55%, rgba(20,30,81,.34)); }
.mx-glass select { flex: 1; min-width: 0; text-overflow: ellipsis; }
.mx-glass.on { background: linear-gradient(135deg, rgba(0,180,240,.66), rgba(0,97,142,.6) 55%, rgba(20,30,81,.5)); }
@media (max-width: 600px) { .mx-glass { width: auto; } }
@media (max-width: 900px) { .mx-st { justify-content: flex-start; } }
.um-desc + .um-desc { margin-top: 23px; }
/* Uso multimedia · ajustes del usuario en Penpot: frase destacada e icono más grande al 7% */
.um-lead { font-size: 18px; font-weight: 700; color: #1C92CA; line-height: 1.65; margin-top: 16px; }
.um-lead + .um-desc { margin-top: 0; }
.um-top .um-float { width: 313px; opacity: .07; left: 66%; top: -7px; }
@media (max-width: 960px) { .um-top .um-float { left: auto; right: 0; top: 0; width: 190px; } }
@media (max-width: 700px) { .um-top .um-float { width: 130px; top: -10px; } }
/* Construcción de identidad · relato de la chispa */
.ci-intro { margin-top: 14px; }
.ci-intro .um-lead { margin-top: 0; }
.ci-intro p:not(.um-lead) { font-size: 15px; line-height: 1.65; color: var(--muted); text-align: justify; }
.ci-intro p:not(.um-lead) + p { margin-top: 24px; }
.id-card p + p { margin-top: 20px; }
.ci-intro .um-lead + p { margin-top: 6px; }
/* Mascota › Simbolismo · fondo IA animado */
.symb { background: radial-gradient(ellipse at 50% 55%, #10308a 0%, #0b1a5c 45%, #070f3a 100%); }
.symb-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .55; mix-blend-mode: screen; pointer-events: none; animation: symbPan 30s ease-in-out infinite alternate; }
@keyframes symbPan { from { transform: scale(1.04) translateX(-1%); } to { transform: scale(1.1) translateX(1.5%); } }
.symb-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .symb-bg { animation: none; } }
/* Portada · misma animación de partículas y estrellas fugaces */
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* Simbolismo · tarjetas liquid glass azul oscuro */
.symb .tag-card { background: linear-gradient(135deg, rgba(20,30,81,.55), rgba(0,97,142,.35)); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -8px 16px rgba(0,180,240,.08), 0 10px 26px rgba(4,10,40,.35); overflow: hidden; }
.symb .tag-card::before { content: ""; position: absolute; left: 10px; right: 10px; top: 1px; height: 40%; border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0)); pointer-events: none; }
.symb .tag-card:hover { border-color: rgba(46,230,240,.55); }
.symb .tag-card.open { background: #fff; border-color: transparent; }
.symb .tag-card.open::before { display: none; }
/* Mascota › Historia · intro de partículas */
.story { position: relative; isolation: isolate; background: radial-gradient(ellipse at 30% 55%, #13307f 0%, #101c5a 50%, #0b1444 100%); }
.story-bg-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.story > :not(.story-bg-fx) { position: relative; z-index: 1; }
.story .spark-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.story.anim .img img.masc { opacity: 0; filter: blur(8px) brightness(1.5); transform: scale(.97); transition: opacity .8s ease, filter .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.story.reveal .img img.masc { opacity: 1; filter: none; transform: none; }
.story.anim .seq { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.story.anim .seq.in { opacity: 1; transform: none; }
.story .img img.masc { animation: float 5s ease-in-out 3s infinite; }
/* Mascota › Personalidad · color pastel por personalidad */
.trait[data-k="divertido"]  { --tb: #E9F8F6; --tb2: #D3F1EC; --ta: #2AA89D; --tg: rgba(64,201,188,.45); }
.trait[data-k="sobrio"]     { --tb: #EAF4FC; --tb2: #D6EAFA; --ta: #3E97D6; --tg: rgba(98,176,236,.45); }
.trait[data-k="explorador"] { --tb: #F2EEFB; --tb2: #E4DCF7; --ta: #8467C9; --tg: rgba(155,128,224,.45); }
.trait[data-k="amistoso"]   { --tb: #FCEDED; --tb2: #F8DADA; --ta: #D9605F; --tg: rgba(235,120,120,.45); }
.traits .trait { background: var(--tb); border-color: transparent; }
.traits .trait .n { background: #fff; color: var(--ta); }
.traits .trait h3 { color: var(--ink); }
.traits .trait:hover, .traits .trait.on, .traits .trait:focus-visible { background: linear-gradient(180deg, var(--tb) 0%, var(--tb2) 100%); border-color: var(--ta); box-shadow: 0 10px 28px var(--tg); }
.traits .trait.on .n { background: var(--ta); color: #fff; }
.trait-img[data-k="divertido"]  .trait-glow { background: radial-gradient(circle, rgba(64,201,188,.45) 0%, rgba(42,168,157,.22) 45%, rgba(20,30,81,0) 72%); }
.trait-img[data-k="sobrio"]     .trait-glow { background: radial-gradient(circle, rgba(98,176,236,.45) 0%, rgba(62,151,214,.22) 45%, rgba(20,30,81,0) 72%); }
.trait-img[data-k="explorador"] .trait-glow { background: radial-gradient(circle, rgba(155,128,224,.45) 0%, rgba(132,103,201,.22) 45%, rgba(20,30,81,0) 72%); }
.trait-img[data-k="amistoso"]   .trait-glow { background: radial-gradient(circle, rgba(235,120,120,.45) 0%, rgba(217,96,95,.22) 45%, rgba(20,30,81,0) 72%); }
/* Historia · títulos de los bloques en el mismo cian de ORIGEN */
.story .blk b { color: var(--cyan); }
.story .btn.btn-light { background: var(--cyan); color: #fff; border-color: var(--cyan); }
.story .btn.btn-light:hover { background: #009FD6; color: #fff; }
/* Derechos · banner con la foto completa (sin cortar cabezas) */
.rights-banner { height: auto; aspect-ratio: 1553 / 416; }
.rights-banner img { object-position: center top; }


/* ==========================================================================
   12 · Uso en Marketing  ·  13 · Uso en Desarrollo  (secciones internas)
   ========================================================================== */
.menu a.locked { padding-right: 36px; white-space: nowrap; }
.menu .lock-ico { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: inline-flex; opacity: .75; }
.menu .lock-ico svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu a.locked { color: rgba(255,255,255,.82); }
.menu a.locked.active .lock-ico { opacity: 1; }

.why { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; padding: 36px 40px; align-items: center;
  background: linear-gradient(135deg, #fff 55%, var(--soft)); }
.why h2 { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--navy); margin: 10px 0 12px; line-height: 1.15; }
.why p { font-size: 14px; line-height: 1.7; color: var(--muted); text-align: justify; margin: 0; }
.why-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.why-points li { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.why-points .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0,180,240,.14), rgba(0,97,142,.10)); color: var(--azul3); }
.why-points .ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.why-points b { display: block; font-size: 14px; color: var(--navy); }
.why-points span { font-size: 12px; color: var(--muted); }

.rc-grid { margin-top: 14px; }
.rc-card { padding: 12px 12px 18px; display: flex; flex-direction: column; }
.rc-card .prev { height: 170px; background: linear-gradient(160deg, #EEF3FA, #DDE7F3); }
.rc-card .h4 { margin: 16px 6px 0; }
.rc-card .small { margin: 6px 6px 0; line-height: 1.5; flex: 1; }
.rc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 16px 6px 0; }
.rc-fmt { font-size: 11px; font-weight: 600; letter-spacing: 1px; color: var(--azul3); }
.rc-fmt.soon { color: var(--muted2); letter-spacing: 0; font-weight: 500; }
.access-ok { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 14px; border-radius: 16px; background: var(--ok-bg); color: var(--ok); font-size: 12px; font-weight: 600; }
.access-ok svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Miniaturas de recursos */
.mk { position: relative; }
.mk b { display: block; height: 4px; border-radius: 2px; background: #D3DCE8; margin-top: 5px; }
.mk b.s { width: 60%; }
.mk b.t { height: 6px; background: var(--navy); width: 70%; margin-top: 10px; }
.mk-broch { display: flex; transform: rotate(-4deg); filter: drop-shadow(0 8px 14px rgba(20,30,81,.18)); }
.mk-broch i { display: flex; flex-direction: column; width: 74px; height: 112px; padding: 10px 9px; background: #fff; }
.mk-broch .p1 { background: linear-gradient(180deg, #fff 62%, var(--cyan) 62%, var(--azul2)); border-radius: 4px 0 0 4px; }
.mk-broch .p1 img { width: 100%; margin-top: 6px; }
.mk-broch .p2 { border-left: 1px dashed #C9D3E1; border-radius: 0 4px 4px 0; }
.mk-broch .p2 .iso { width: 26px; margin: auto auto 0; }
.mk-broch.dark .p1 { background: linear-gradient(180deg, var(--navy) 62%, var(--cyan) 62%, var(--azul2)); }
.mk-broch.dark .p1 b { background: rgba(255,255,255,.35); }
.mk-slide { width: 190px; aspect-ratio: 16 / 9; background: #fff; border-radius: 6px; display: flex; overflow: hidden; box-shadow: 0 8px 16px rgba(20,30,81,.16); }
.mk-slide .bar { width: 30%; background: linear-gradient(160deg, var(--navy), var(--azul2) 60%, var(--cyan)); }
.mk-slide .sl { flex: 1; padding: 10px 12px; display: flex; flex-direction: column; }
.mk-slide .logo { width: 62px; }
.mk-slide .dots { display: flex; gap: 4px; margin-top: auto; }
.mk-slide .dots em { width: 16px; height: 10px; border-radius: 2px; background: var(--soft); }
.mk-slide .dots em:first-child { background: var(--cyan); }
.mk-doc { width: 96px; height: 132px; background: #fff; border-radius: 4px; padding: 10px 11px; box-shadow: 0 8px 16px rgba(20,30,81,.16); overflow: hidden; }
.mk-doc .logo { width: 52px; display: block; }
.mk-doc .band { position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: linear-gradient(90deg, var(--navy), var(--cyan)); }
.mk-tender .seal { position: absolute; right: 8px; bottom: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--cyan); }
.mk-tender .seal svg { width: 15px; height: 15px; fill: none; stroke: var(--aqua); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.mk-cat { width: 150px; background: #fff; border-radius: 6px; padding: 10px; box-shadow: 0 8px 16px rgba(20,30,81,.16); }
.mk-cat .logo { width: 60px; display: block; }
.mk-cat .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.mk-cat .tiles i { height: 34px; border-radius: 4px; background: linear-gradient(135deg, var(--azul2), var(--cyan)); }
.mk-cat .tiles i:nth-child(2) { background: linear-gradient(135deg, var(--navy), var(--azul3)); }
.mk-cat .tiles i:nth-child(3) { background: linear-gradient(135deg, var(--verdoso), var(--claro)); }
.mk-cat .tiles i:nth-child(4) { background: linear-gradient(135deg, var(--cyan), var(--aqua)); }

/* Pantalla de acceso restringido */
.lock-card { max-width: 620px; margin-left: auto; margin-right: auto; padding: 44px 48px 36px; text-align: center; display: flex; flex-direction: column; align-items: center;
  background: radial-gradient(circle at 50% 0%, var(--soft), #fff 60%); }
.lock-badge { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(150deg, var(--navy), var(--azul2) 60%, var(--cyan)); box-shadow: 0 10px 24px rgba(20,30,81,.25), 0 0 0 8px rgba(0,180,240,.10); }
.lock-badge svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lock-title { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--navy); margin: 8px 0 10px; line-height: 1.2; }
.lock-text { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0 0 24px; }
.lock-form { display: flex; gap: 10px; width: 100%; max-width: 440px; }
.lock-input { flex: 1; min-width: 0; height: 44px; border: 1.5px solid var(--line); border-radius: 22px; padding: 0 20px; font: inherit; font-size: 14px; color: var(--navy); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.lock-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0,180,240,.15); }
.lock-form .btn { height: 44px; gap: 6px; }
.lock-form .btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lock-error { color: var(--bad); font-size: 13px; margin: 12px 0 0; }
.lock-help { font-size: 13px; color: var(--muted); margin: 20px 0 0; }
.lock-help a { color: var(--azul3); font-weight: 600; }
.shake { animation: shake .35s ease; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

@media (max-width: 1180px) { .rc-grid.g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .why { grid-template-columns: 1fr; padding: 28px 24px; gap: 24px; } .rc-grid.g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .why p { text-align: left; } .rc-grid.g4, .rc-grid.g3 { grid-template-columns: 1fr; } .lock-card { padding: 32px 22px 28px; } .lock-form { flex-direction: column; } .why h2 { font-size: 23px; } }
@media (max-height: 900px) and (min-width: 961px) { .menu { gap: 4px; } .menu a { height: 36px; } }

/* Flipbook · Brochure de marcas creadas */
.mk-flip { display: flex; position: relative; filter: drop-shadow(0 8px 14px rgba(20,30,81,.18)); }
.mk-flip .pg { width: 80px; height: 108px; background: #fff; padding: 10px 9px; display: flex; flex-direction: column; }
.mk-flip .pg.l { border-radius: 4px 0 0 4px; transform: perspective(300px) rotateY(14deg); transform-origin: right center; background: linear-gradient(90deg, #fff 80%, #e9eef6); }
.mk-flip .pg.r { border-radius: 0 4px 4px 0; transform: perspective(300px) rotateY(-14deg); transform-origin: left center; background: linear-gradient(270deg, #fff 80%, #e9eef6); }
.mk-flip .logo { width: 52px; margin-bottom: 6px; }
.mk-flip .tile { display: block; border-radius: 3px; }
.mk-flip .t1 { height: 30px; background: linear-gradient(135deg, var(--azul2), var(--cyan)); }
.mk-flip .t2 { height: 22px; margin-top: 5px; background: linear-gradient(135deg, var(--verdoso), var(--claro)); }
.mk-flip .t3 { height: 38px; background: linear-gradient(135deg, var(--navy), var(--azul3)); }
.mk-flip .curl { position: absolute; right: -2px; bottom: -2px; width: 18px; height: 18px; background: linear-gradient(135deg, #dfe6f1 50%, transparent 50%); border-radius: 0 0 4px 0; }
.rc-btns { display: flex; gap: 8px; flex-wrap: nowrap; }
.rc-foot.two { flex-direction: column; align-items: flex-start; gap: 8px; }
.rc-view { border: 1.5px solid var(--navy); color: var(--navy); background: #fff; gap: 6px; }
.rc-view svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rc-view:hover { background: var(--soft); }
.rc-note { margin-top: 28px; }

/* Descargar fuente seleccionada · Tipografía */
.font-dl { height: 48px; padding: 0 26px; margin-top: 16px; font-size: 14px; gap: 10px; border-radius: 24px; box-shadow: 0 8px 18px rgba(20,30,81,.22); cursor: pointer; white-space: nowrap; }
.font-dl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.font-dl b { font-weight: 700; color: var(--aqua); margin-left: -4px; }
.font-dl:hover { background: var(--azul2); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(20,30,81,.3); }
.font-dl:active { transform: translateY(0); }
@media (max-width: 640px) { .font-dl { width: 100%; justify-content: center; } }

/* Intro animada de la portada */
.hero.intro .hero-mascot { opacity: 0; animation: none; }
.hero.intro h1 > span, .hero.intro p.sub .w, .hero.intro p.claim .w, .hero.intro .btn-cyan, .hero.intro .alt { opacity: 0; }
.hero p.sub .w, .hero p.claim .w { display: inline-block; }
