/* BOIX — luz de día. Inspiración: claridad Apple (blancos, grises suaves, tipografía firme,
   vidrio líquido) + el cobalto de BOIX. Formas redondeadas y orgánicas, nada rígido. */
:root {
  --bg: #fbfbfd;
  --bg-2: #f5f5f7;
  --white: #ffffff;
  --text: #0a1640;
  --text-2: #5a6280;
  --line: rgba(0, 0, 0, 0.08);
  --cobalt: #1438c8;
  --cobalt-2: #0f2c9f;
  --electric: #1f4bff;
  --azulb: #203397;
  --noche: #0a1640;
  --papel: #f3f1ea;
  --violet: #4f6bff;
  --sky: #dce4f5;
  --lilac: #e8ecf7;
  --mint: #dce4f5;
  --peach: #f3f1ea;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.85);
  --shadow: 0 1px 2px rgba(10, 22, 64, 0.05), 0 12px 40px rgba(20, 56, 200, 0.09);

  --display: "Poppins", "Geist", -apple-system, "Segoe UI", system-ui, sans-serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: max(clamp(16px, 4vw, 48px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(16px, 4vw, 48px), env(safe-area-inset-right, 0px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--cobalt); color: #fff; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 4px; border-radius: 8px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--cobalt); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.display { font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.grad, .grad .word-in { background-image: linear-gradient(100deg, var(--cobalt) 10%, var(--violet) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-right: 0.04em; }
.grad:has(.word-in) { background-image: none; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: flex-end; gap: 0.07em; font-weight: 800; line-height: 0.8; letter-spacing: -0.05em; }
.logo .dot { width: 0.24em; height: 0.24em; border-radius: 50%; background: var(--cobalt); margin-bottom: 0.03em; flex: none; }

/* ---------- cursor punto ---------- */
.cursor-dot {
  position: fixed; left: 0; top: 0;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--cobalt);
  pointer-events: none;
  z-index: 100;
  opacity: 0.9;
  transition: width 0.3s ease, height 0.3s ease, margin 0.3s ease, opacity 0.3s;
  display: none;
}
.cursor-dot.is-big { width: 46px; height: 46px; margin: -23px 0 0 -23px; opacity: 0.18; }
@media (pointer: fine) { .cursor-dot { display: block; } }

/* ---------- nav (vidrio líquido) ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.nav { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 12px); left: 0; right: 0; z-index: 50; padding-left: var(--gutter); padding-right: var(--gutter-r); pointer-events: none; }
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  pointer-events: auto;
  transition: background 0.3s ease;
}
.nav.is-scrolled .nav-inner { background: rgba(255, 255, 255, 0.78); }
.nav .logo { font-size: 30px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 9px 16px; border-radius: 999px; font-size: 14px; color: var(--text-2); transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--text); background: rgba(0, 0, 0, 0.04); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500; font-size: 15px;
  border: 0; cursor: pointer; white-space: nowrap;
  will-change: transform;
  transition: background 0.25s, box-shadow 0.25s;
}
.btn-primary { background: var(--cobalt); color: #fff; box-shadow: 0 8px 24px rgba(20, 56, 200, 0.28); }
.btn-primary:hover { background: var(--cobalt-2); }
.btn-dark { background: var(--text); color: #fff; }
.btn-glass { background: var(--glass); color: var(--text); border: 1px solid var(--glass-border); box-shadow: var(--shadow); backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6); }
.btn .arrow { display: inline-block; transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(3px); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: clamp(660px, 94svh, 940px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
  background:
    radial-gradient(50% 45% at 78% 35%, #cddcff, transparent 70%),
    radial-gradient(40% 40% at 20% 80%, #e7defe, transparent 70%),
    radial-gradient(35% 35% at 60% 90%, #d6f5ea, transparent 70%),
    var(--bg);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: -1; background: linear-gradient(to bottom, rgba(251, 251, 253, 0), var(--bg)); }
.hero-inner { width: 100%; padding-block: 140px 80px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 40px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text); background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); }
.hero h1 { font-size: clamp(48px, 7.6vw, 120px); font-weight: 700; letter-spacing: -0.055em; line-height: 0.96; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.word { display: inline-block; }
.word-in { display: inline-block; will-change: transform; }
.hero-sub { max-width: 540px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--text-2); }
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 6px; }
.stat b { display: block; font-size: 32px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stat span { font-size: 14px; color: var(--text-2); }

.hero-mark { position: relative; justify-self: end; width: min(100%, 420px); aspect-ratio: 1; }
.hero-mark .glass-b {
  position: absolute; inset: 6% 18% 6% 4%;
  border-radius: 48px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.3));
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 80px rgba(20, 56, 200, 0.16), inset 0 1px 0 #fff;
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: clamp(180px, 22vw, 320px); line-height: 0.8; letter-spacing: -0.06em;
  color: var(--cobalt);
  user-select: none;
}
.hero-mark .orb {
  position: absolute; right: 4%; bottom: 10%;
  width: 28%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #ffffff 0%, #9aa6ff 22%, var(--cobalt) 58%, #1621a8 100%);
  box-shadow: 0 24px 60px rgba(20, 56, 200, 0.45), inset -8px -12px 24px rgba(0, 0, 40, 0.25);
  will-change: transform;
}
.float-card {
  position: absolute; left: -8%; bottom: 2%;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 20px;
  background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  font-size: 13px; line-height: 1.3; color: var(--text-2);
  animation: floaty 6s ease-in-out infinite;
}
.float-card img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.float-card b { display: block; font-size: 14px; color: var(--text); }
.float-card.two { left: auto; right: -6%; top: -2%; bottom: auto; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-block: 120px 64px; }
  .hero-mark { justify-self: center; width: min(80%, 340px); }
  .float-card { left: -12%; }
  .float-card.two { right: -12%; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding-block: 20px; }
.marquee-band { overflow: hidden; padding-block: 16px; background: var(--cobalt); color: #fff; transform: rotate(-1.5deg); margin-inline: -20px; }
.marquee-band.soft { background: var(--sky); color: var(--cobalt); transform: rotate(1deg); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-band.soft .marquee-track { animation-direction: reverse; }
.marquee-item { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font-weight: 600; font-size: clamp(20px, 2.4vw, 32px); letter-spacing: -0.03em; white-space: nowrap; }
.marquee-item .sep { width: 10px; height: 10px; border-radius: 50%; background: currentColor; opacity: 0.5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- secciones ---------- */
.section { position: relative; padding-block: clamp(80px, 11vw, 150px); }
.section.tint { background: var(--bg-2); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 860px; }
.h2 { font-weight: 700; letter-spacing: -0.05em; line-height: 1.02; font-size: clamp(38px, 5.4vw, 76px); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--text-2); max-width: 640px; }

/* ---------- puertas ---------- */
.doors { display: flex; gap: 18px; margin-top: 56px; min-height: 600px; }
.door {
  position: relative; flex: 1 1 0; min-width: 0;
  border-radius: 40px; overflow: hidden;
  padding: 40px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  isolation: isolate;
  transition: flex-grow 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
  box-shadow: var(--shadow);
}
.doors:hover .door { flex-grow: 0.82; }
.doors .door:hover, .doors .door:focus-within { flex-grow: 1.3; box-shadow: 0 30px 80px rgba(20, 56, 200, 0.18); }
.door-studio { background: radial-gradient(120% 90% at 100% 100%, #6f7bff 0%, var(--cobalt) 45%, #1f2bd6 100%); color: #fff; }
.door-solutions { background: radial-gradient(90% 70% at 90% 90%, #c7f0e1 0%, transparent 60%), radial-gradient(80% 60% at 10% 10%, #e3ebff 0%, transparent 60%), #fff; border: 1px solid var(--line); }
.door-top { display: flex; flex-direction: column; gap: 12px; max-width: 440px; position: relative; z-index: 2; }
.door-feel { font-size: 15px; font-weight: 500; opacity: 0.8; }
.door-quote { font-weight: 700; font-size: clamp(38px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.05em; }
.door-bottom { display: flex; flex-direction: column; gap: 14px; max-width: 360px; position: relative; z-index: 2; }
.door-name { font-weight: 700; font-size: 24px; letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 10px; }
.door-name .go { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; background: rgba(255, 255, 255, 0.22); }
.door-solutions .door-name .go { background: var(--cobalt); color: #fff; }
.door-desc { font-size: 16px; opacity: 0.88; }
.door-solutions .door-desc { color: var(--text-2); opacity: 1; }
.door .mock-wrap { position: absolute; right: -10px; bottom: -80px; z-index: 1; transform: rotate(-7deg); transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.door:hover .mock-wrap { transform: rotate(-2deg) translateY(-34px); }
.door-solutions .mock-wrap { transform: rotate(6deg); }
.door-solutions:hover .mock-wrap { transform: rotate(1deg) translateY(-34px); }
.door-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.both {
  margin-top: 18px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: 18px 18px 18px 30px;
  border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.both p { font-size: 17px; color: var(--text-2); }
.both b { color: var(--text); font-weight: 600; }
@media (max-width: 900px) {
  .doors { flex-direction: column; min-height: 0; }
  .door { min-height: 560px; padding: 30px; }
  .doors:hover .door, .doors .door:hover { flex-grow: 1; }
  .door .mock-wrap { transform: rotate(-7deg) scale(0.82); transform-origin: bottom right; bottom: -100px; }
  .door-solutions .mock-wrap { transform: rotate(6deg) scale(0.82); }
  .both { border-radius: 28px; }
}

/* ---------- celular ---------- */
.phone {
  width: 280px; aspect-ratio: 9 / 18.8;
  border-radius: 48px; padding: 9px;
  background: linear-gradient(145deg, #3a3a40, #121214);
  box-shadow: 0 40px 80px rgba(16, 24, 64, 0.28), inset 0 0 0 1.5px rgba(255, 255, 255, 0.18);
  position: relative;
}
.phone::before { content: ""; position: absolute; top: 19px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 20px; background: #000; z-index: 3; }
.screen { width: 100%; height: 100%; border-radius: 40px; overflow: hidden; position: relative; background: #fff; color: var(--text); }

.feed { padding: 54px 10px 10px; display: flex; flex-direction: column; gap: 10px; height: 100%; }
.feed-head { display: flex; align-items: center; gap: 10px; padding: 0 4px; }
.feed-avatar { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--cobalt); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--cobalt); flex: none; }
.feed-meta { display: flex; flex-direction: column; font-size: 11px; line-height: 1.3; min-width: 0; color: var(--text-2); }
.feed-meta b { font-size: 13px; color: var(--text); }
.feed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.tile { aspect-ratio: 4 / 5; display: flex; align-items: flex-end; padding: 6px; font-weight: 800; font-size: 10.5px; line-height: 0.98; letter-spacing: -0.03em; overflow: hidden; position: relative; border-radius: 4px; }
.t-cobalt { background: var(--cobalt); color: #fff; }
.t-sky { background: var(--sky); color: var(--cobalt); }
.t-lilac { background: var(--lilac); color: #4a2fd1; }
.t-mint { background: var(--mint); color: #0d6b4b; }
.t-dark { background: var(--text); color: #fff; }
.t-grad { background: linear-gradient(180deg, var(--sky), var(--cobalt)); color: #fff; }
.tile svg { position: absolute; inset: 0; margin: auto; width: 58%; height: 58%; }

.chat { display: flex; flex-direction: column; height: 100%; background: #f2f3f7; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 52px 14px 12px; background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid var(--line); }
.chat-head img { width: 38px; height: 38px; border-radius: 50%; flex: none; }
.chat-head b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.chat-head small { font-size: 11px; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34c759; }
.chat-body { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 7px; overflow: hidden; justify-content: flex-end; }
.msg { max-width: 84%; padding: 9px 13px; font-size: 13px; line-height: 1.36; border-radius: 18px; animation: pop 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
.msg.c { align-self: flex-end; background: var(--cobalt); color: #fff; border-bottom-right-radius: 6px; }
.msg.a { align-self: flex-start; background: #fff; color: var(--text); border-bottom-left-radius: 6px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.msg.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #a1a1aa; animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: 0.15s; }
.msg.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 50% { opacity: 0.35; transform: translateY(-2px); } }
@keyframes pop { from { transform: translateY(8px) scale(0.96); opacity: 0; } }
.chat-input { margin: 0 10px 14px; padding: 10px 14px; border-radius: 999px; background: #fff; font-size: 12px; color: var(--text-2); border: 1px solid var(--line); }

/* ---------- manifiesto ---------- */
.manifesto p { font-weight: 700; font-size: clamp(34px, 5vw, 74px); line-height: 1.08; letter-spacing: -0.05em; max-width: 1120px; }
.manifesto .hl { color: var(--cobalt); }
.manifesto .word { margin-right: 0.24em; }

/* ---------- paseo por la plaza ---------- */
.walk {
  --step: max(78vw, 720px);
  --ground: 24%;
  position: relative;
  height: 100svh; min-height: 640px;
  overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #e3edff 0%, #f1f5ff 55%, #fbfbfd 100%);
}
.walk.native { overflow-x: auto; overflow-y: hidden; }
.walk.native .punto { display: none; }
.cloud { position: absolute; height: 34px; border-radius: 999px; background: #fff; z-index: 0; opacity: 0.95; animation: drift 50s ease-in-out infinite alternate; }
.cloud::before, .cloud::after { content: ""; position: absolute; border-radius: 50%; background: #fff; }
.cloud::before { width: 50%; height: 170%; left: 14%; bottom: 25%; }
.cloud::after { width: 36%; height: 130%; right: 12%; bottom: 30%; }
@keyframes drift { to { transform: translateX(-140px); } }
.walk-hud { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 96px); left: 0; right: 0; z-index: 5; padding-left: var(--gutter); padding-right: var(--gutter-r); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; pointer-events: none; }
.walk.native .walk-hud { position: sticky; left: 0; }
.walk-title { font-size: clamp(30px, 3.4vw, 50px); margin-top: 6px; }
.walk-progress { width: min(240px, 40vw); height: 4px; border-radius: 4px; background: rgba(20, 56, 200, 0.12); overflow: hidden; }
.walk-progress i { display: block; height: 100%; width: 100%; background: var(--cobalt); border-radius: 4px; transform-origin: left; transform: scaleX(0); }

.walk-far, .walk-track { position: absolute; top: 0; bottom: 0; left: 0; width: calc(6 * var(--step) + 100vw); will-change: transform; }
.walk-far { z-index: 1; }
.walk-track { z-index: 2; }
.skyline { position: absolute; left: 0; right: 0; bottom: var(--ground); height: 220px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%221200%22%20height%3D%22220%22%20viewBox%3D%220%200%201200%20220%22%3E%3Cpath%20d%3D%22M0%20220V160q100-50%20220-24t240%206q130-44%20260-14t260%202q120-30%20220%206V220z%22%20fill%3D%22%23dbe6ff%22/%3E%3Cg%20fill%3D%22%23cdd9fb%22%3E%3Crect%20x%3D%2290%22%20y%3D%2296%22%20width%3D%2264%22%20height%3D%22124%22%20rx%3D%2212%22/%3E%3Crect%20x%3D%22164%22%20y%3D%2264%22%20width%3D%2250%22%20height%3D%22156%22%20rx%3D%2212%22/%3E%3Crect%20x%3D%22224%22%20y%3D%22116%22%20width%3D%2284%22%20height%3D%22104%22%20rx%3D%2212%22/%3E%3Crect%20x%3D%22560%22%20y%3D%2286%22%20width%3D%2274%22%20height%3D%22134%22%20rx%3D%2212%22/%3E%3Crect%20x%3D%22644%22%20y%3D%22126%22%20width%3D%2256%22%20height%3D%2294%22%20rx%3D%2212%22/%3E%3Crect%20x%3D%22930%22%20y%3D%2274%22%20width%3D%2258%22%20height%3D%22146%22%20rx%3D%2212%22/%3E%3Crect%20x%3D%22998%22%20y%3D%22106%22%20width%3D%2288%22%20height%3D%22114%22%20rx%3D%2212%22/%3E%3C/g%3E%3C/svg%3E") repeat-x left bottom / 1200px 220px; }
.walk-ground { position: absolute; left: 0; right: 0; bottom: 0; height: var(--ground); background: linear-gradient(180deg, #eaeefa, #f6f7fb); border-top: 1px solid rgba(20, 56, 200, 0.14); }
.walk-ground::before { content: ""; position: absolute; left: 0; right: 0; top: 36%; height: 2px; background: repeating-linear-gradient(90deg, rgba(20, 56, 200, 0.14) 0 40px, transparent 40px 84px); }
.deco > * { position: absolute; bottom: var(--ground); max-width: none; }
.tree { width: 150px; height: 220px; }
.lamp { width: 30px; height: 180px; }
.bench { width: 130px; height: 56px; }
.fountain { width: 240px; height: 120px; }
.bike { width: 110px; height: 64px; }

.walk-intro, .walk-end { position: absolute; top: 46%; transform: translateY(-50%); width: min(540px, 82vw); display: flex; flex-direction: column; gap: 16px; }
.walk-intro { left: max(16px, 6vw); }
.walk-intro .display, .walk-end .display { font-size: clamp(36px, 4.4vw, 62px); }
.walk-end { left: calc(6 * var(--step) + 12vw); }
.hint { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.hint i { width: 36px; height: 2px; border-radius: 2px; background: var(--cobalt); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }

.station { position: absolute; bottom: var(--ground); left: calc(var(--s) * var(--step)); width: 130px; height: 170px; }
.person-av { position: absolute; left: 0; bottom: 30px; width: 130px; height: 130px; border-radius: 50%; box-shadow: 0 20px 40px rgba(16, 24, 64, 0.16); animation: hover 4s ease-in-out infinite; border: 4px solid #fff; background: #fff; }
.station:nth-of-type(odd) .person-av { animation-delay: -2s; }
.person-shadow { position: absolute; left: 25px; bottom: 0; width: 80px; height: 12px; border-radius: 50%; background: rgba(16, 24, 64, 0.12); animation: shadowp 4s ease-in-out infinite; }
.station:nth-of-type(odd) .person-shadow { animation-delay: -2s; }
@keyframes hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes shadowp { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.85); opacity: 0.7; } }
.bubble {
  position: absolute; bottom: calc(100% + 14px); left: -20px;
  width: min(380px, 80vw);
  padding: 22px 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow), inset 0 1px 0 #fff;
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  display: flex; flex-direction: column; gap: 8px;
  transform-origin: 60px 100%;
  transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.4s, box-shadow 0.4s, background 0.4s;
  opacity: 0.55; transform: scale(0.92) translateY(6px);
}
.station.is-active .bubble, .walk.native .bubble { opacity: 1; transform: none; box-shadow: 0 30px 70px rgba(20, 56, 200, 0.18), inset 0 1px 0 #fff; background: rgba(255, 255, 255, 0.88); }
.st-tag { font-size: 13px; font-weight: 600; color: var(--cobalt); }
.st-quote { font-weight: 700; font-size: clamp(21px, 2vw, 25px); line-height: 1.12; letter-spacing: -0.035em; }
.st-name { font-size: 13px; color: var(--text-2); }
.st-fix { margin-top: 6px; padding: 12px 14px; border-radius: 16px; background: rgba(20, 56, 200, 0.07); font-size: 14.5px; line-height: 1.45; }
.st-fix b { font-weight: 600; color: var(--cobalt); }

.punto { position: absolute; z-index: 4; left: 30vw; bottom: calc(var(--ground) - 2px); width: 66px; height: 92px; }
.punto-body {
  position: absolute; left: 0; top: 0; width: 66px; height: 66px; border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #ffffff 0%, #9aa6ff 20%, var(--cobalt) 56%, #1621a8 100%);
  box-shadow: 0 14px 30px rgba(20, 56, 200, 0.4);
}
.eye { position: absolute; top: 21px; width: 14px; height: 17px; border-radius: 50%; background: #fff; overflow: hidden; }
.eye.l { left: 27px; } .eye.r { left: 44px; }
.eye i { position: absolute; top: 5px; left: 5px; width: 8px; height: 9px; border-radius: 50%; background: var(--text); }
.mouth { position: absolute; left: 34px; top: 44px; width: 15px; height: 7px; border-radius: 0 0 16px 16px; background: #fff; transition: all 0.3s; }
.punto.is-happy .mouth { height: 10px; width: 19px; left: 32px; }
.leg { position: absolute; top: 60px; width: 6px; height: 28px; border-radius: 4px; background: var(--text); transform-origin: top center; }
.leg.l { left: 23px; } .leg.r { left: 38px; }
.shadow { position: absolute; left: 10px; bottom: -4px; width: 46px; height: 8px; border-radius: 50%; background: rgba(16, 24, 64, 0.16); }
.punto.is-walking .leg.l { animation: legA 0.42s ease-in-out infinite; }
.punto.is-walking .leg.r { animation: legB 0.42s ease-in-out infinite; }
.punto.is-walking .punto-body { animation: bob 0.42s ease-in-out infinite; }
.punto.is-back { transform: scaleX(-1); }
.punto:not(.is-walking) .punto-body { animation: breathe 2.6s ease-in-out infinite; }
@keyframes legA { 0%, 100% { transform: rotate(24deg); } 50% { transform: rotate(-24deg); } }
@keyframes legB { 0%, 100% { transform: rotate(-24deg); } 50% { transform: rotate(24deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04, 0.97); } }

@media (max-width: 760px) {
  .walk { --step: max(92vw, 520px); }
  .punto { left: 8vw; }
  .station { width: 100px; height: 140px; }
  .person-av { width: 100px; height: 100px; }
  .person-shadow { left: 18px; width: 64px; }
  .bubble { left: -96px; width: min(310px, calc(100vw - 40px)); padding: 18px 20px; }
  .tree { width: 110px; height: 160px; }
  .fountain { width: 180px; height: 90px; }
  .walk-hud { top: calc(env(safe-area-inset-top, 0px) + 84px); }
}
@media (max-height: 760px) and (min-width: 761px) {
  .bubble { width: 340px; padding: 16px 20px; }
  .st-quote { font-size: 20px; }
  .walk-hud { top: calc(env(safe-area-inset-top, 0px) + 84px); }
}

/* ---------- studio ---------- */
.studio-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); gap: 40px; align-items: end; }
.formula { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.formula span { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.formula .op { border: 0; background: none; padding: 0 2px; color: var(--text-2); }
.formula .res { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
@media (max-width: 900px) { .studio-top { grid-template-columns: minmax(0, 1fr); } }

.stack { margin-top: 64px; display: flex; flex-direction: column; gap: 22px; }
.stack-card {
  position: sticky; top: calc(108px + var(--i) * 16px);
  min-height: 380px;
  border-radius: 40px;
  padding: clamp(28px, 4vw, 54px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end;
  transform-origin: center top;
  overflow: hidden; isolation: isolate;
  box-shadow: 0 -10px 40px rgba(16, 24, 64, 0.06);
  will-change: transform;
}
.stack-card .tag { align-self: start; grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; font-weight: 600; }
.stack-card h3 { font-weight: 700; font-size: clamp(42px, 6vw, 92px); letter-spacing: -0.055em; line-height: 0.95; }
.stack-card p { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; max-width: 440px; justify-self: end; }
.stack-card .blob { position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; z-index: -1; opacity: 0.5; animation: morph 14s ease-in-out infinite; }
@keyframes morph { 0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: rotate(0); } 50% { border-radius: 63% 37% 41% 59% / 58% 61% 39% 42%; transform: rotate(20deg); } }
.sc-cobalt { background: var(--cobalt); color: #fff; } .sc-cobalt .blob { background: #6f7bff; }
.sc-white { background: #fff; color: var(--text); border: 1px solid var(--line); } .sc-white .tag { color: var(--cobalt); } .sc-white p { color: var(--text-2); } .sc-white .blob { background: var(--sky); }
.sc-sky { background: var(--sky); color: #121a7a; } .sc-sky .blob { background: #fff; }
.sc-lilac { background: var(--lilac); color: #2d1a8f; } .sc-lilac .blob { background: #fff; }
.sc-dark { background: var(--text); color: #fff; } .sc-dark .blob { background: var(--cobalt); opacity: 0.6; }
.sc-mint { background: var(--mint); color: #0b4d37; } .sc-mint .blob { background: #fff; }
@media (max-width: 760px) {
  .stack-card { grid-template-columns: minmax(0, 1fr); min-height: 340px; top: calc(92px + var(--i) * 10px); border-radius: 32px; }
  .stack-card p { justify-self: start; }
}

.mock-row-wrap { overflow: hidden; margin-top: clamp(80px, 10vw, 140px); padding-block: 40px; }
.mock-row { display: flex; gap: 28px; align-items: center; width: max-content; padding-left: var(--gutter); will-change: transform; }
.mock-cap { margin-top: 20px; color: var(--text-2); font-size: 14px; }
.tablet { width: 520px; max-width: 80vw; aspect-ratio: 4 / 3; border-radius: 32px; padding: 12px; background: linear-gradient(145deg, #3a3a40, #121214); box-shadow: 0 40px 80px rgba(16, 24, 64, 0.22); transform: rotate(-3deg); flex: none; }
.tablet .scr { width: 100%; height: 100%; border-radius: 22px; background: var(--cobalt); color: #fff; position: relative; overflow: hidden; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.tablet .scr .big { font-weight: 800; font-size: clamp(30px, 4vw, 50px); line-height: 0.95; letter-spacing: -0.05em; }
.tablet .scr svg { position: absolute; right: 24px; bottom: 20px; width: 120px; }
.poster { width: 300px; max-width: 70vw; aspect-ratio: 3 / 4.2; border-radius: 14px; background: linear-gradient(180deg, #f1f4ff 0%, var(--sky) 40%, var(--cobalt) 100%); box-shadow: 0 40px 80px rgba(16, 24, 64, 0.2); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; color: #fff; transform: rotate(3deg); flex: none; }
.poster .mono { color: var(--cobalt); }
.poster svg { width: 55%; }
.browser { width: 560px; max-width: 84vw; aspect-ratio: 16 / 10.5; border-radius: 18px; background: #fff; color: var(--text); overflow: hidden; box-shadow: 0 40px 80px rgba(16, 24, 64, 0.18); border: 1px solid var(--line); transform: rotate(-2deg); flex: none; display: flex; flex-direction: column; }
.browser .bar { display: flex; gap: 6px; padding: 12px 14px; background: var(--bg-2); align-items: center; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d2d2d7; }
.browser .bar span { margin-left: 12px; flex: 1; padding: 4px 10px; border-radius: 8px; background: #fff; font-size: 11px; color: var(--text-2); }
.browser .page { flex: 1; padding: 28px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: center; }
.browser .page b { font-weight: 800; font-size: 32px; line-height: 0.98; letter-spacing: -0.045em; display: block; }
.browser .page .btnm { display: inline-block; margin-top: 14px; padding: 8px 16px; border-radius: 999px; background: var(--cobalt); color: #fff; font-size: 12px; }
.browser .page .ph { aspect-ratio: 1; border-radius: 28px; background: radial-gradient(circle at 30% 30%, #fff, var(--lilac) 40%, #9b8bff); }

/* ---------- solutions ---------- */
.demo { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 0.9fr) auto minmax(0, 1fr); gap: 40px; align-items: center; }
.demo-left { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.05); align-self: flex-start; }
.tab { min-height: 42px; padding: 9px 18px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--text-2); transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.tab:hover { color: var(--text); }
.tab[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.agent-card { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.agent-card img { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.agent-card b { font-weight: 700; font-size: 24px; letter-spacing: -0.035em; display: block; line-height: 1.1; }
.agent-card span { font-size: 14px; color: var(--text-2); }
.demo-note { font-size: 14px; color: var(--text-2); }
.demo-phone { justify-self: center; }
.demo-right { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.compare { padding: 20px 22px; border-radius: 24px; display: flex; flex-direction: column; gap: 6px; }
.compare .k { font-size: 13px; font-weight: 600; }
.compare p { font-size: 16px; line-height: 1.45; }
.cmp-before { border: 1.5px dashed rgba(0, 0, 0, 0.14); color: var(--text-2); }
.cmp-after { background: var(--cobalt); color: #fff; }
.cmp-owner { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.cmp-owner .k { color: var(--cobalt); }
@media (max-width: 1080px) { .demo { grid-template-columns: minmax(0, 1fr) auto; } .demo-right { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .demo { grid-template-columns: minmax(0, 1fr); } .demo-right { grid-template-columns: minmax(0, 1fr); } .demo-phone .phone { width: 270px; } }

.bento { margin-top: clamp(80px, 10vw, 130px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cell {
  position: relative; border-radius: 30px; padding: 28px; min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  overflow: hidden; isolation: isolate;
  --mx: 50%; --my: 50%;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cell:hover { transform: translateY(-4px); }
.cell::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.3s; background: radial-gradient(240px circle at var(--mx) var(--my), rgba(20, 56, 200, 0.1), transparent 70%); }
.cell:hover::before { opacity: 1; }
.cell h3 { font-weight: 700; font-size: 23px; letter-spacing: -0.035em; line-height: 1.1; }
.cell p { font-size: 15px; color: var(--text-2); margin-top: 6px; }
.cell .ico { width: 46px; height: 46px; border-radius: 15px; background: var(--sky); display: flex; align-items: center; justify-content: center; }
.cell .ico svg { width: 22px; height: 22px; stroke: var(--cobalt); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cell.wide { grid-column: span 2; }
.cell.tall { grid-row: span 2; }
.cell.hot { background: radial-gradient(120% 90% at 100% 0%, #6f7bff, var(--cobalt) 50%, var(--cobalt-2)); color: #fff; border-color: transparent; }
.cell.hot p { color: rgba(255, 255, 255, 0.88); }
.cell.hot .ico { background: rgba(255, 255, 255, 0.18); }
.cell.hot .ico svg { stroke: #fff; }
.cell.hot::before { background: radial-gradient(240px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.2), transparent 70%); }
.cell.soft { background: var(--mint); border-color: transparent; }
.cell.soft p { color: #24604b; }
.cell.soft .ico { background: #fff; }
.agents-row { display: flex; }
.agents-row img { width: 58px; height: 58px; border-radius: 50%; border: 3px solid var(--cobalt); background: #fff; }
.agents-row img + img { margin-left: -14px; }
.mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; }
.mini-bars i { flex: 1; border-radius: 8px 8px 3px 3px; background: var(--sky); }
.mini-bars i.on { background: var(--cobalt); }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cell.tall { grid-row: auto; } }
@media (max-width: 560px) { .bento { grid-template-columns: minmax(0, 1fr); } .cell.wide { grid-column: auto; } }

.custom {
  margin-top: 16px; border-radius: 40px;
  padding: clamp(30px, 5vw, 64px);
  background: radial-gradient(80% 120% at 100% 0%, #e9e3ff, transparent 60%), radial-gradient(70% 100% at 0% 100%, #d6f5ea, transparent 60%), #fff;
  border: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.custom h3 { font-weight: 700; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -0.05em; line-height: 1.02; max-width: 700px; }
.custom p { color: var(--text-2); margin-top: 14px; max-width: 600px; }

/* ---------- método ---------- */
.steps { margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.step .n { width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: var(--cobalt); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.step:last-child { background: var(--cobalt); color: #fff; border-color: transparent; }
.step:last-child .n { background: rgba(255, 255, 255, 0.2); color: #fff; }
.step:last-child p { color: rgba(255, 255, 255, 0.88); }
.step h3 { font-weight: 700; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.04em; margin-top: 18px; }
.step p { color: var(--text-2); font-size: 16px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- contacto ---------- */
.contact { position: relative; overflow: hidden; padding-block: clamp(100px, 13vw, 180px) clamp(70px, 8vw, 110px); }
.contact::before { content: ""; position: absolute; width: 900px; height: 700px; left: 50%; top: 30%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 56, 200, 0.16), rgba(123, 92, 255, 0.08) 50%, transparent); pointer-events: none; }
.contact .wrap { position: relative; }
.contact-big { font-weight: 800; font-size: clamp(76px, 16vw, 250px); line-height: 0.85; letter-spacing: -0.07em; display: flex; align-items: flex-end; gap: 0.04em; flex-wrap: wrap; }
.contact-big .dot { width: 0.2em; height: 0.2em; border-radius: 50%; background: radial-gradient(circle at 30% 28%, #fff, #9aa6ff 22%, var(--cobalt) 60%); margin-bottom: 0.06em; flex: none; box-shadow: 0 10px 30px rgba(20, 56, 200, 0.4); }
.contact-grid { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.contact-cta { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.contact-cta .btn { min-height: 60px; padding: 18px 30px; font-size: 17px; }
.contact-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.c-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 20px 24px; border-radius: 24px; background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); }
.c-row .lbl { color: var(--text-2); display: block; margin-bottom: 2px; font-size: 13px; font-weight: 500; }
.c-row .val { font-weight: 700; font-size: clamp(19px, 2vw, 24px); letter-spacing: -0.03em; overflow-wrap: anywhere; user-select: all; }
.c-row .links { display: flex; flex-wrap: wrap; gap: 6px 18px; user-select: auto; }
.c-row .links a { color: var(--cobalt); }
.c-row .links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.copy { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 0; background: rgba(0, 0, 0, 0.05); cursor: pointer; font-size: 13px; font-weight: 500; color: var(--text); }
.copy:hover { background: rgba(0, 0, 0, 0.09); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.footer { background: var(--bg-2); padding-block: 40px calc(36px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.footer-word { font-weight: 800; font-size: clamp(90px, 25vw, 400px); line-height: 0.8; letter-spacing: -0.08em; color: transparent; -webkit-text-stroke: 1.5px rgba(20, 56, 200, 0.22); user-select: none; margin-bottom: 28px; white-space: nowrap; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; color: var(--text-2); font-size: 13px; }
.footer-row .logo { font-size: 28px; color: var(--text); }
.credits { margin-top: 18px; font-size: 12px; color: var(--text-2); }
.credits a { text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee-track { animation: none; }
  .cursor-dot { display: none; }
}

/* =====================================================================
   v3 · Identidad BOIX: marca madre clara, Studio descontracturado (papel +
   cobalto + olas), Solutions corporativo (noche + vidrio + líneas).
   Tipografía display: Poppins. Logo: B geométrica con punto-ojo.
   ===================================================================== */
h1, .h2, .h3, .display, .door-quote, .door-name, .stack-card h3, .st-quote, .contact-big, .marquee-item,
.cell h3, .step h3, .custom h3, .footer-word, .walk-title, .agent b, .stat-num, .demo2-title, .stat b {
  font-family: var(--display);
}
.hero h1 { font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.h2 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; }
.h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; font-size: clamp(28px, 3.4vw, 46px); }
.display { font-weight: 600; letter-spacing: -0.035em; }
.door-quote, .stack-card h3 { font-weight: 600; letter-spacing: -0.04em; }
.contact-big, .footer-word { font-weight: 700; letter-spacing: -0.05em; }
.grad, .grad .word-in { background-image: linear-gradient(100deg, var(--cobalt) 10%, var(--electric) 90%); }

/* logo */
.bmark { width: 1em; height: 1em; display: inline-block; color: currentColor; flex: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cobalt); }
.brand .bmark { font-size: 30px; }
.brand-word { font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.28em; color: var(--text); }
.nav .brand-word { display: none; }
@media (min-width: 1100px) { .nav .brand-word { display: inline; } }

/* nav móvil */
.nav-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(10, 22, 64, 0.06); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.3s, top 0.3s; }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav-inner { padding: 6px 6px 6px 16px; flex-wrap: wrap; border-radius: 30px; }
  .nav-cta { min-height: 44px; padding: 10px 16px; font-size: 14px; }
  .nav-links { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 4px 10px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 14px; font-size: 17px; color: var(--text); border-radius: 16px; }
  .nav .nav-inner:has(.nav-links.open) { background: rgba(255, 255, 255, 0.95); }
}

/* hero */
.hero-mark .glass-b { background: linear-gradient(145deg, rgba(255,255,255,0.32), rgba(255,255,255,0.08)); border-color: rgba(255,255,255,0.6); color: #fff; box-shadow: 0 30px 80px rgba(10, 22, 64, 0.25), inset 0 1px 0 rgba(255,255,255,0.8); }
.hero-mark .glass-b .bmark { font-size: clamp(150px, 18vw, 250px); }
.hero-bo { position: absolute; right: -4%; bottom: -6%; width: 46%; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.hero-bo .bo-svg { width: 100%; aspect-ratio: 220 / 190; height: auto; }
.hero-bo-say { padding: 8px 14px; border-radius: 16px 16px 4px 16px; background: #fff; box-shadow: var(--shadow); font-size: 14px; font-weight: 600; color: var(--text); margin-right: 20%; animation: floaty 5s ease-in-out infinite; }
.hero-bo .tail { transform-box: fill-box; transform-origin: 90% 90%; animation: wag 0.5s ease-in-out infinite alternate; }
@keyframes wag { from { transform: rotate(-10deg); } to { transform: rotate(14deg); } }
@media (max-width: 900px) {
  .hero-inner { gap: 28px; padding-block: 112px 40px; }
  .hero-mark { width: min(78%, 320px); }
  .hero-bo { width: 48%; right: -10%; }
  .float-card { left: -14%; bottom: auto; top: 6%; }
}

/* puertas: Studio descontracturado, Solutions corporativo */
.door-studio { background: radial-gradient(120% 90% at 100% 100%, #3d5cf0 0%, var(--cobalt) 50%, #0f2c9f 100%); }
.door-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 55%; z-index: 0; }
.door-smile { position: absolute; top: 30px; right: 30px; width: 70px; height: 70px; z-index: 2; transform: rotate(12deg); }
.door-solutions { background: radial-gradient(90% 70% at 90% 100%, rgba(31, 75, 255, 0.35), transparent 60%), var(--noche); border: 0; color: #fff; }
.door-solutions .door-desc { color: rgba(255, 255, 255, 0.78); }
.door-solutions .door-name .go { background: #fff; color: var(--noche); }
.door-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.t-paper { background: var(--papel); color: var(--cobalt); font-weight: 600 !important; }
.t-mark { display: flex; align-items: center; justify-content: center; color: #fff; }
.t-mark .bmark { font-size: 30px; }
.t-wave { background: radial-gradient(circle at 30% 120%, #fff 0 38%, transparent 39%), radial-gradient(circle at 80% -20%, #fff 0 40%, transparent 41%), var(--cobalt); }
.tile { font-family: var(--display); letter-spacing: -0.02em; }
.feed-avatar { color: var(--cobalt); }
.feed-avatar .bmark { font-size: 24px; }
@media (max-width: 900px) {
  .door { min-height: 520px; }
  .door-top { max-width: 72%; }
  .door .mock-wrap { right: -40px; bottom: -150px; }
  .door-smile { width: 52px; height: 52px; top: 22px; right: 22px; }
}
@media (max-width: 560px) {
  .door { min-height: 540px; padding: 26px; }
  .door-top { max-width: 100%; }
  .door-bottom { max-width: 64%; }
  .door .mock-wrap { transform: rotate(-7deg) scale(0.62); right: -60px; bottom: -150px; }
  .door-solutions .mock-wrap { transform: rotate(6deg) scale(0.62); }
}

/* marquee en Poppins */
.marquee-item { font-weight: 600; letter-spacing: -0.02em; }

/* ---------- Bo, el perro ---------- */
.bo-svg { display: block; overflow: visible; }
.bo-walker { position: absolute; z-index: 4; left: 26vw; bottom: calc(var(--ground) - 6px); width: 132px; height: 114px; }
.bo-walker .bo-svg { width: 100%; height: 100%; }
.bo-walker.is-back .bo-svg { transform: scaleX(-1); }
.leg { transform-box: fill-box; transform-origin: 50% 8%; }
.bo-walker .tail { transform-box: fill-box; transform-origin: 90% 90%; animation: wag 0.6s ease-in-out infinite alternate; }
.bo-walker .ear { transform-box: fill-box; transform-origin: 40% 100%; }
.bo-walker.is-walking .leg-fr, .bo-walker.is-walking .leg-bl { animation: stepA 0.4s ease-in-out infinite; }
.bo-walker.is-walking .leg-fl, .bo-walker.is-walking .leg-br { animation: stepB 0.4s ease-in-out infinite; }
.bo-walker.is-walking .head, .bo-walker.is-walking .body { animation: boBob 0.4s ease-in-out infinite; }
.bo-walker.is-walking .ear { animation: earFlap 0.4s ease-in-out infinite; }
.bo-walker.is-walking .tail { animation-duration: 0.25s; }
.bo-walker.is-happy .tail { animation-duration: 0.18s; }
@keyframes stepA { 0%, 100% { transform: rotate(18deg); } 50% { transform: rotate(-18deg); } }
@keyframes stepB { 0%, 100% { transform: rotate(-18deg); } 50% { transform: rotate(18deg); } }
@keyframes boBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes earFlap { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-5deg); } }
.walk .punto { display: none; }
.walk.native .bo-walker { display: none; }
.walk-far, .walk-track { width: calc(7 * var(--step) + 100vw); }
.walk-end { left: calc(7 * var(--step) + 12vw); }
.person-av { border-radius: 50%; background: #fff; }
.walk-card { display: none; }
@media (max-width: 760px) {
  .bo-walker { left: 4vw; width: 104px; height: 90px; }
  /* en el celular el texto de cada persona se muestra en una tarjeta fija */
  .station .bubble { display: none; }
  .walk.native .station .bubble { display: flex; }
  .walk-card {
    display: flex; flex-direction: column; gap: 8px;
    position: absolute; z-index: 6;
    left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px));
    top: calc(env(safe-area-inset-top, 0px) + 190px);
    padding: 18px 20px; border-radius: 24px;
    background: rgba(255, 255, 255, 0.9); border: 1px solid var(--glass-border); box-shadow: 0 20px 50px rgba(20, 56, 200, 0.16);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    transition: opacity 0.35s, transform 0.35s;
  }
  .walk-card:empty { opacity: 0; transform: translateY(10px); pointer-events: none; }
  .walk.native .walk-card { display: none; }
  .walk-intro { top: auto; bottom: calc(var(--ground) + 140px); transform: none; }
  .walk-intro .display { font-size: 32px; }
  .walk-intro .lead { font-size: 16px; }
  .walk { min-height: 600px; }
}

/* ---------- Studio: papel, olas, descontracturado ---------- */
.studio { background: var(--papel); padding-top: clamp(110px, 13vw, 180px); }
.studio-wave { position: absolute; top: -1px; left: 0; width: 100%; height: clamp(50px, 7vw, 110px); }
.word-pop { color: var(--cobalt); }
.studio .formula span { background: rgba(255, 255, 255, 0.7); }
.sc-paper { background: #fff; color: var(--text); border: 1px solid var(--line); }
.sc-paper .tag { color: var(--cobalt); }
.sc-paper p { color: var(--text-2); }
.sc-paper .blob { background: var(--cobalt); opacity: 0.9; border-radius: 0; width: 100%; height: 140px; right: 0; top: auto; bottom: -40px; animation: none; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 140' preserveAspectRatio='none'%3E%3Cpath d='M0 60C60 20 120 90 200 60S330 10 400 50V140H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 140' preserveAspectRatio='none'%3E%3Cpath d='M0 60C60 20 120 90 200 60S330 10 400 50V140H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.sc-dark { background: var(--noche); }
.sc-sky { background: var(--sky); color: var(--noche); }
.sc-white .blob { background: var(--sky); }
.sc-cobalt .blob { background: #4b68f0; }
.stack-card { box-shadow: 0 -12px 40px rgba(10, 22, 64, 0.08); }
.shot { margin: 0; flex: none; width: clamp(220px, 26vw, 340px); aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px rgba(10, 22, 64, 0.16); background: var(--sky); }
.shot:nth-child(odd) { transform: rotate(-2deg) translateY(10px); }
.shot:nth-child(even) { transform: rotate(2deg); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) { .shot { width: 62vw; border-radius: 22px; } }

/* ---------- Solutions: noche, vidrio, líneas ---------- */
.sol { background: var(--noche); color: #fff; overflow: hidden; }
.sol-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sol .wrap { position: relative; }
.sol .eyebrow { color: #9fb3ff; }
.sol .lead { color: rgba(255, 255, 255, 0.74); }
.grad-light { background-image: linear-gradient(100deg, #9fb3ff, #ffffff); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.sol-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px; align-items: center; }
.sol-photo { margin: 0; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 520px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.12); }
.sol-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .sol-top { grid-template-columns: minmax(0, 1fr); } .sol-photo { max-height: 380px; aspect-ratio: 16 / 11; } }
.layers { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.layers li { position: relative; padding: 18px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); font-size: 15px; font-weight: 500; line-height: 1.3; }
.layers li span { display: block; font-size: 12px; color: #9fb3ff; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.layers li em { display: block; font-style: normal; font-size: 12px; color: rgba(255, 255, 255, 0.55); margin-top: 4px; }
.layers li + li::before { content: ""; position: absolute; left: -11px; top: 50%; width: 10px; height: 1px; background: rgba(255, 255, 255, 0.3); }
@media (max-width: 1000px) { .layers { grid-template-columns: repeat(3, minmax(0, 1fr)); } .layers li::before { display: none; } }
@media (max-width: 560px) { .layers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* demos por rubro */
.demo2 { margin-top: clamp(64px, 9vw, 110px); }
.demo2-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.demo2-title { font-size: clamp(30px, 3.4vw, 46px); margin-top: 10px; }
.tabs2 { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs2::-webkit-scrollbar { display: none; }
.tab2 { flex: none; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 0; background: transparent; color: rgba(255, 255, 255, 0.72); font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background 0.25s, color 0.25s; }
.tab2:hover { color: #fff; }
.tab2[aria-pressed="true"] { background: #fff; color: var(--noche); }
.stage { margin-top: 28px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: stretch; }
.stage-phone { display: flex; align-items: center; justify-content: center; padding: 10px 20px; }
.stage-phone .phone { width: 290px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), inset 0 0 0 1.5px rgba(255, 255, 255, 0.2); }
.stage-panel { min-width: 0; display: flex; flex-direction: column; border-radius: 28px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); overflow: hidden; }
.panel-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.panel-bar .dots { display: flex; gap: 6px; } .panel-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.panel-bar b { font-weight: 600; font-size: 15px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-tag { font-size: 12px; color: rgba(255, 255, 255, 0.6); padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); white-space: nowrap; }
.panel-body { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 14px; min-height: 420px; }
.panel-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.agent-chip { display: flex; align-items: center; gap: 12px; }
.agent-chip img { width: 46px; height: 46px; border-radius: 50%; }
.agent-chip b { display: block; font-family: var(--display); font-weight: 600; font-size: 17px; }
.agent-chip span { font-size: 13px; color: rgba(255, 255, 255, 0.65); }
.btn-glass-dark { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.16); min-height: 44px; }
.btn-glass-dark:hover { background: rgba(255, 255, 255, 0.14); }
.btn-white { background: #fff; color: var(--noche); }
/* bloques del panel */
.p-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); font-size: 14px; transition: background 0.4s, border-color 0.4s; }
.p-row .t { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 52px; }
.p-row .d { flex: 1; min-width: 0; color: rgba(255, 255, 255, 0.82); }
.p-row .d small { display: block; color: rgba(255, 255, 255, 0.55); font-size: 12px; margin-top: 2px; }
.p-row.is-new { background: rgba(31, 75, 255, 0.28); border-color: rgba(159, 179, 255, 0.5); animation: rowIn 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2); }
@keyframes rowIn { from { transform: translateY(8px); opacity: 0; } }
.pill-s { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.8); }
.pill-s.ok { background: #ffffff; color: var(--noche); }
.pill-s.busy { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.45); }
.pill-s.cob { background: var(--electric); color: #fff; }
.p-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.p-card { padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.p-card .k { font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.p-card .v { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.p-card.is-new { border-color: rgba(159, 179, 255, 0.5); background: rgba(31, 75, 255, 0.22); }
.p-label { font-size: 12px; color: rgba(255, 255, 255, 0.55); text-transform: uppercase; letter-spacing: 0.08em; }
.p-steps { display: flex; gap: 6px; flex-wrap: wrap; }
.p-steps span { font-size: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.5); transition: all 0.4s; }
.p-steps span.on { background: #fff; color: var(--noche); font-weight: 600; }
.p-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.p-table th { text-align: left; font-weight: 500; color: rgba(255, 255, 255, 0.55); font-size: 12px; padding: 0 8px 8px; }
.p-table td { padding: 10px 8px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-variant-numeric: tabular-nums; }
.p-table td.r, .p-table th.r { text-align: right; }
.p-table tr.is-new td { background: rgba(31, 75, 255, 0.22); animation: rowIn 0.5s; }
.p-stock { display: grid; grid-template-columns: 70px repeat(3, minmax(0, 1fr)); gap: 6px; font-size: 13px; }
.p-stock > div { padding: 10px 6px; border-radius: 12px; text-align: center; background: rgba(255, 255, 255, 0.05); font-variant-numeric: tabular-nums; transition: background 0.4s; }
.p-stock > .h { background: none; color: rgba(255, 255, 255, 0.55); font-size: 12px; }
.p-stock > div.is-new { background: var(--electric); color: #fff; font-weight: 600; }
.p-cal { display: grid; grid-template-columns: 64px repeat(3, minmax(0, 1fr)); gap: 6px; font-size: 13px; }
.p-cal > div { padding: 10px 6px; border-radius: 12px; text-align: center; background: rgba(255, 255, 255, 0.05); }
.p-cal > .h { background: none; color: rgba(255, 255, 255, 0.55); font-size: 12px; }
.p-cal > .busy { background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.5); }
.p-cal > .pend { background: rgba(31, 75, 255, 0.35); color: #fff; }
.p-cal > .ok { background: #fff; color: var(--noche); font-weight: 600; }
.insight { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 18px 22px; border-radius: 20px; background: rgba(255, 255, 255, 0.04); border: 1px dashed rgba(255, 255, 255, 0.2); font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.insight b { color: #fff; font-weight: 600; }
.insight a { font-size: 13px; color: #9fb3ff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .stage { grid-template-columns: minmax(0, 1fr); }
  .stage-phone { padding: 0; }
  .stage-phone .phone { width: min(280px, 78vw); }
  .panel-body { min-height: 0; padding: 16px; }
}
@media (max-width: 560px) {
  .tabs2 { border-radius: 22px; }
  .p-grid2 { grid-template-columns: minmax(0, 1fr); }
  .p-row { padding: 10px 12px; }
}

/* agentes */
.agents { margin-top: clamp(80px, 10vw, 130px); }
.agent-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.agent { padding: 20px; border-radius: 26px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-direction: column; gap: 4px; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s; }
.agent:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.09); }
.agent img { width: 76px; height: 76px; border-radius: 50%; margin-bottom: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); }
.agent b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.agent span { font-size: 13px; color: #9fb3ff; font-weight: 500; }
.agent p { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin-top: 6px; }
.rules { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rules li { padding: 10px 16px; border-radius: 999px; font-size: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.85); display: inline-flex; align-items: center; gap: 8px; }
.rules li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9fb3ff; flex: none; }
@media (max-width: 1000px) { .agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .agent { padding: 16px; } .agent img { width: 60px; height: 60px; } }

/* bento en noche */
.sol .cell { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); box-shadow: none; color: #fff; }
.sol .cell p { color: rgba(255, 255, 255, 0.7); }
.sol .cell .ico { background: rgba(255, 255, 255, 0.1); }
.sol .cell .ico svg { stroke: #fff; }
.sol .cell::before { background: radial-gradient(240px circle at var(--mx) var(--my), rgba(159, 179, 255, 0.18), transparent 70%); }
.sol .cell.hot { background: radial-gradient(120% 90% at 100% 0%, #3d5cf0, var(--cobalt) 55%, #0f2c9f); }
.sol .cell.soft { background: var(--sky); color: var(--noche); }
.sol .cell.soft p { color: var(--text-2); }
.sol .cell.soft .ico { background: #fff; } .sol .cell.soft .ico svg { stroke: var(--cobalt); }
.sol .mini-bars i { background: rgba(255, 255, 255, 0.16); } .sol .mini-bars i.on { background: #fff; }
.cell-note { font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.cell-photo { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; }
.cell-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-cell { padding: 0; min-height: 240px; }
.photo-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sol .custom { background: radial-gradient(80% 120% at 100% 0%, rgba(31, 75, 255, 0.45), transparent 60%), rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.12); }
.sol .custom p { color: rgba(255, 255, 255, 0.72); }

/* datos */
.stats-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat-card { padding: 26px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.stat-card:nth-child(2) { background: var(--cobalt); color: #fff; border-color: transparent; }
.stat-card:nth-child(2) p, .stat-card:nth-child(2) a { color: rgba(255, 255, 255, 0.85); }
.stat-num { font-weight: 600; font-size: clamp(44px, 4.6vw, 64px); letter-spacing: -0.04em; line-height: 1; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.stat-card:nth-child(2) .stat-num { color: #fff; }
.stat-num small { font-size: 0.4em; letter-spacing: 0; }
.stat-card p { font-size: 15px; color: var(--text-2); flex: 1; }
.stat-card a { font-size: 12.5px; color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stats-grid { grid-template-columns: minmax(0, 1fr); } }

/* nosotros */
.nos { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.nos-photo { margin: 0; border-radius: 36px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px rgba(10, 22, 64, 0.18); }
.nos-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nos-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.promise { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.promise li { padding: 16px 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); font-size: 16px; color: var(--text-2); }
.promise li b { color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .nos { grid-template-columns: minmax(0, 1fr); gap: 32px; } .nos-photo { aspect-ratio: 16 / 11; } }

/* contacto */
.contact-bo { width: 150px; margin-top: 8px; }
.contact-bo .bo-svg { width: 100%; aspect-ratio: 220 / 190; height: auto; }
.contact-bo .tail { transform-box: fill-box; transform-origin: 90% 90%; animation: wag 0.45s ease-in-out infinite alternate; }
.contact-big .dot { background: var(--cobalt); box-shadow: none; -webkit-mask: radial-gradient(circle at 40% 40%, transparent 0 22%, #000 24%); mask: radial-gradient(circle at 40% 40%, transparent 0 22%, #000 24%); }
.footer-row .brand .bmark { font-size: 26px; }
.footer-word { -webkit-text-stroke: 1.5px rgba(20, 56, 200, 0.22); }

/* utilidades responsive generales */
@media (max-width: 560px) {
  .section { padding-block: 72px; }
  .h2 { font-size: clamp(32px, 9vw, 44px); }
  .lead { font-size: 17px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 60px); }
  .hero-sub { font-size: 17px; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
  .stack-card { min-height: 300px; padding: 26px; }
  .stack-card h3 { font-size: clamp(34px, 10vw, 46px); }
  .both { padding: 20px; }
  .both .btn { width: 100%; justify-content: center; }
  .contact-big { font-size: 22vw; }
  .marquee-item { font-size: 20px; }
  .custom { border-radius: 28px; }
  .custom .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}

/* ajustes de encastre */
.door-quote { font-size: clamp(34px, 3.6vw, 54px); max-width: 64%; }
.door .mock-wrap { bottom: -130px; right: -30px; }
.door-studio .door-top { max-width: none; }
.door-quote { max-width: 72%; }
.hero-bo-say { white-space: nowrap; }
@media (max-width: 900px) {
  .door-quote { max-width: 100%; }
  .door { min-height: 0; padding-bottom: 0; justify-content: flex-start; }
  .door-bottom { max-width: 100%; }
  .door .mock-wrap, .door-solutions .mock-wrap { position: relative; right: auto; bottom: auto; align-self: center; margin: 8px 0 -200px; transform: rotate(-4deg) scale(0.86); transform-origin: top center; }
  .door-solutions .mock-wrap { transform: rotate(4deg) scale(0.86); }
  .door:hover .mock-wrap { transform: rotate(-2deg) scale(0.86); }
  .door { height: auto; flex: none; }
}
@media (max-width: 560px) {
  .door { padding: 26px 22px 0; }
  .door .mock-wrap, .door-solutions .mock-wrap { margin: 4px 0 -240px; transform: rotate(-4deg) scale(0.78); }
  .door-solutions .mock-wrap { transform: rotate(4deg) scale(0.78); }
  .stage-phone .phone { width: min(250px, 70vw); }
  .stage-phone .chat-body .msg { font-size: 12.5px; }
}
.studio .formula .res { background: var(--cobalt); color: #fff; }
@media (min-width: 901px) {
  .door-quote { max-width: 56%; font-size: clamp(32px, 3.3vw, 50px); }
  .door .mock-wrap { transform-origin: bottom right; transform: rotate(-7deg) scale(0.86); right: -24px; bottom: -110px; }
  .door:hover .mock-wrap { transform: rotate(-2deg) scale(0.86) translateY(-30px); }
  .door-solutions .mock-wrap { transform: rotate(6deg) scale(0.86); }
  .door-solutions:hover .mock-wrap { transform: rotate(1deg) scale(0.86) translateY(-30px); }
}
@media (min-width: 901px) { .door-bottom { max-width: 52%; } .door-desc { font-size: 15px; } }

/* ---------- v4: correcciones de experiencia ---------- */
/* agentes: 6, tarjeta horizontal */
.agent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.agent { flex-direction: row; align-items: flex-start; gap: 16px; }
.agent img { flex: none; margin: 0; }
.agent > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.agent em { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, 0.5); margin-top: 8px; }
@media (max-width: 1000px) { .agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .agent-grid { grid-template-columns: minmax(0, 1fr); } .agent img { width: 64px; height: 64px; } }

/* fotos del bento: sin posicionamiento absoluto (evita que se superpongan en Safari) */
.photo-cell { padding: 0; min-height: 0; aspect-ratio: 4 / 5; display: block; }
.photo-cell img { position: static; display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) { .photo-cell { aspect-ratio: 4 / 3; } }

/* saltar el paseo */
.skip { align-self: flex-start; font-size: 14px; font-weight: 500; color: var(--cobalt); text-decoration: underline; text-underline-offset: 4px; padding: 10px 0; }

/* contacto: que "Hablemos." entre siempre en una línea */
.contact-big { flex-wrap: nowrap; white-space: nowrap; font-size: clamp(64px, 15vw, 240px); }

/* tarjeta "Webs": la ola ya no tapa el texto */
.sc-paper { padding-bottom: clamp(110px, 12vw, 150px); }
.sc-paper .blob { height: 96px; bottom: -6px; }

@media (max-width: 760px) {
  /* paseo: suelo más bajo, personas más chicas y tarjeta compacta para que nada se tape */
  .walk { --ground: 11%; }
  .walk-ground::before { top: 50%; }
  .person-av { width: 84px; height: 84px; bottom: 22px; border-width: 3px; }
  .station { width: 84px; height: 110px; }
  .person-shadow { left: 14px; width: 56px; }
  .bo-walker { width: 96px; height: 83px; }
  .walk-card { top: calc(env(safe-area-inset-top, 0px) + 176px); padding: 16px 18px; gap: 6px; }
  .walk-card .st-quote { font-size: 20px; }
  .walk-card .st-fix { font-size: 14px; padding: 10px 12px; }
  .tree { width: 90px; height: 132px; }
  .walk-intro { bottom: calc(var(--ground) + 130px); }

  /* servicios de Studio: lista simple en el celular, sin apilado */
  .stack { gap: 14px; margin-top: 40px; }
  .stack-card h3 { font-size: clamp(30px, 9vw, 40px); }
  .sc-paper { padding-bottom: 110px; }
}
@media (max-width: 760px) {
  .walk-card { top: auto; bottom: calc(var(--ground) + 136px); }
}

/* =====================================================================
   v5 · Inicio editorial: blanco, vidrio, fotos de marca que flotan.
   Tipografía combinada: Poppins bold + Instrument Serif cursiva.
   Sin etiquetas sobre los títulos. Sin color hueso: blanco y gris frío.
   ===================================================================== */
:root { --papel: #f5f5f7; --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif; }
.eyebrow { display: none !important; }
.it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--cobalt); padding-right: 0.04em; }
.it-light { color: #b9c6ff; }
.manifesto .it { color: var(--cobalt); }

/* hero */
.hx { min-height: clamp(700px, 100svh, 1000px); align-items: stretch; background: #fff; }
.hx .hero-canvas { opacity: 0.9; }
.hx::after { height: 22%; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fbfbfd); }
.hx-grain { position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: 0.18; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.22  0 0 0 0 0.78  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, 3%); } 80% { transform: translate(3%, 1%); } 100% { transform: translate(0, 0); } }
.hx-inner { position: relative; z-index: 2; width: 100%; padding-block: 150px 70px; display: flex; flex-direction: column; justify-content: center; gap: 34px; }
.hx-title { font-family: var(--display); font-weight: 700; font-size: clamp(50px, 8.6vw, 142px); line-height: 0.92; letter-spacing: -0.055em; color: var(--noche); max-width: 1000px; }
.hx-title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hx-title .it { font-size: 1.08em; letter-spacing: -0.03em; line-height: 0.85; }
.hx-glass { display: flex; flex-direction: column; gap: 20px; max-width: 520px; padding: 24px; border-radius: 30px; background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 20px 60px rgba(20, 56, 200, 0.12), inset 0 1px 0 #fff; backdrop-filter: blur(24px) saturate(1.8); -webkit-backdrop-filter: blur(24px) saturate(1.8); }
.hx-glass p { font-size: 18px; line-height: 1.5; color: var(--text-2); }
.hx-glass p b { color: var(--noche); font-weight: 600; }
.hx-photos { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hp { position: absolute; margin: 0; border-radius: 26px; overflow: hidden; background: #fff; padding: 8px; border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 30px 70px rgba(10, 22, 64, 0.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translate3d(var(--px, 0px), var(--py, 0px), 0) rotate(var(--r, 0deg)); transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); will-change: transform; }
.hp img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 19px; }
.hp1 { --r: 5deg; right: 6%; top: 15%; width: clamp(200px, 20vw, 300px); aspect-ratio: 4 / 5; }
.hp2 { --r: -7deg; right: 26%; top: 54%; width: clamp(150px, 14vw, 210px); aspect-ratio: 4 / 5; }
.hp3 { --r: -3deg; right: 31%; top: 9%; width: clamp(120px, 10vw, 160px); aspect-ratio: 4 / 5; opacity: 0.92; }
.hp4 { --r: 8deg; right: 4%; top: 62%; width: clamp(140px, 12vw, 190px); aspect-ratio: 4 / 5; }
.hx-chip { --r: -2deg; right: 17%; top: 47%; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 22px; background: rgba(255, 255, 255, 0.7); font-size: 13px; color: var(--text-2); line-height: 1.3; }
.hx-chip img { width: 40px; height: 40px; border-radius: 50%; padding: 0; }
.hx-chip b { display: block; color: var(--noche); font-size: 14px; }
.hx-bo { position: absolute; right: 13%; bottom: 3%; width: 150px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.hx-bo .bo-svg { width: 100%; aspect-ratio: 220 / 190; height: auto; }
.hx-bo .tail { transform-box: fill-box; transform-origin: 90% 10%; animation: wag 0.5s ease-in-out infinite alternate; }
.hx-bo .hero-bo-say { margin-right: 30%; }
@media (max-width: 1100px) {
  .hp3 { display: none; }
  .hp2 { right: 30%; }
}
@media (max-width: 900px) {
  .hx-inner { padding-block: 116px 40px; gap: 26px; }
  .hx-photos { position: relative; inset: auto; height: 300px; order: 2; margin-top: -10px; }
  .hx { flex-direction: column; }
  .hp1 { right: auto; left: 6%; top: 10px; width: 46vw; max-width: 230px; }
  .hp2 { right: 8%; left: auto; top: 40px; width: 36vw; max-width: 180px; }
  .hp4 { display: none; }
  .hx-chip { right: 6%; top: 210px; }
  .hx-bo { position: relative; right: auto; bottom: auto; align-self: flex-end; width: 120px; margin-top: -20px; }
  .hx-glass { padding: 20px; }
}
@media (max-width: 560px) {
  .hx-title { font-size: clamp(44px, 13vw, 64px); }
  .hx-glass p { font-size: 16px; }
  .hx-photos { height: 260px; }
}
@media (prefers-reduced-motion: reduce) { .hx-grain { animation: none; } }

/* Studio sin hueso: blanco con gris frío */
.studio { background: var(--papel); }
.studio-wave path { fill: #fbfbfd; }
.t-paper { background: #eef1f8; }
.hx-title { font-size: clamp(48px, 7.2vw, 118px); max-width: min(62vw, 900px); }
.hp3 { display: none; }
.hx-glass { max-width: 590px; }
.hx-grain { opacity: 0.1; }
@media (max-width: 900px) { .hx-title { max-width: none; } }

/* =====================================================================
   v6 · Revisión de UX: tipografía, escala, color de acento y paseo vivo
   ===================================================================== */
:root {
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --coral: #ff6b4a;   /* llamado de atención */
  --ok: #14b87a;      /* confirmaciones */
  --sun: #ffb020;
}
/* tipografía: cursiva suave con más cuerpo, escala más contenida */
.it { font-family: var(--serif); font-style: italic; font-weight: 500; font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -0.035em; }
.hx-title { font-size: clamp(44px, 6.4vw, 100px); line-height: 0.96; letter-spacing: -0.05em; }
.hx-title .it { font-size: 1em; line-height: 0.9; }
.h2 { font-size: clamp(34px, 4.4vw, 62px); line-height: 1.05; }
.h3 { font-size: clamp(28px, 3vw, 42px); }
.stack-card h3 { font-size: clamp(36px, 4.8vw, 72px); }
.door-quote { font-size: clamp(30px, 3vw, 46px); }
.manifesto p { font-size: clamp(30px, 4.2vw, 60px); }
.contact-big { font-size: clamp(60px, 13vw, 200px); }
.lead { max-width: 600px; }

/* acento coral en BOIX 360 */
.both .btn-dark { background: var(--coral); color: #fff; }
.both .btn-dark:hover { background: #f2553a; }

/* ---------- paseo vivo ---------- */
.walk { --sky-a: #e3edff; --sky-b: #fbfbfd; background: linear-gradient(180deg, var(--sky-a) 0%, var(--sky-b) 78%); transition: background 0.2s linear; }
.sun { position: absolute; z-index: 0; width: 96px; height: 96px; border-radius: 50%; left: var(--sun-x, 12%); top: var(--sun-y, 30%); background: radial-gradient(circle at 40% 40%, #fff6d6, var(--sun) 60%, #ff8a1a); box-shadow: 0 0 90px 30px rgba(255, 176, 32, 0.35); }
.walk-meta { display: flex; align-items: center; gap: 14px; }
.walk-count { font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.walk-count b { font-family: var(--display); font-size: 22px; color: var(--noche); }
.paws { position: absolute; left: 12vw; right: 6vw; bottom: calc(var(--ground) * 0.55); height: 22px; opacity: 0.22; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='22' viewBox='0 0 120 22'><g fill='%231438c8'><ellipse cx='10' cy='15' rx='5' ry='4'/><circle cx='5' cy='8' r='2'/><circle cx='10' cy='6' r='2'/><circle cx='15' cy='8' r='2'/><ellipse cx='66' cy='9' rx='5' ry='4'/><circle cx='61' cy='3' r='2'/><circle cx='66' cy='1.5' r='2'/><circle cx='71' cy='3' r='2'/></g></svg>") repeat-x left center / 120px 22px; }

.station .person-av { border-color: #fff; transition: border-color 0.4s, transform 0.4s; }
.station.is-active .person-av { border-color: var(--acc); animation: hover 4s ease-in-out infinite, pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.4); }
.prop { position: absolute; left: 140px; bottom: 0; width: 70px; height: 70px; transform-origin: 50% 100%; transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.4); }
.station.is-active .prop { transform: scale(1.15) rotate(-6deg); }
.steam { animation: steam 2s ease-in-out infinite; }
@keyframes steam { 50% { transform: translateY(-4px); opacity: 0.4; } }
.st-hi { position: absolute; left: 70px; bottom: 170px; padding: 6px 12px; border-radius: 14px 14px 14px 4px; background: var(--acc); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; transform: scale(0.6) translateY(8px); transform-origin: 0 100%; transition: all 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.4); z-index: 3; }
.station.is-active .st-hi { opacity: 1; transform: none; }
.bubble { border-top: 4px solid var(--acc); }
.st-tag { color: var(--acc) !important; }
.st-fix { background: color-mix(in srgb, var(--acc) 10%, #fff); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.st-fix p { font-size: 14.5px; line-height: 1.45; color: var(--text); }
.st-fix-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; }
.st-fix-head b { font-weight: 600; color: var(--text-2); }
.st-check { width: 20px; height: 20px; border-radius: 50%; background: var(--acc); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.st-who { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 999px; background: #fff; font-weight: 600; color: var(--noche); box-shadow: 0 2px 8px rgba(10, 22, 64, 0.08); }
.st-who img { width: 22px; height: 22px; border-radius: 50%; }
.st-who-b { padding-left: 8px; color: var(--cobalt); }
.st-who-b .bmark { font-size: 14px; }
.station.is-active .st-fix, .walk-card .st-fix { animation: fixIn 0.55s 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
@keyframes fixIn { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
.walk-card { border-top: 4px solid var(--acc, var(--cobalt)); }

/* Bo festeja */
.bo-burst { position: absolute; left: 50%; top: 0; width: 0; height: 0; pointer-events: none; }
.bo-burst i { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--acc, var(--coral)); opacity: 0; }
.bo-burst i:nth-child(2) { background: var(--sun); } .bo-burst i:nth-child(4) { background: var(--cobalt); }
.bo-burst i:nth-child(1) { --bx: -50px; --by: -40px; } .bo-burst i:nth-child(2) { --bx: -20px; --by: -64px; } .bo-burst i:nth-child(3) { --bx: 14px; --by: -70px; } .bo-burst i:nth-child(4) { --bx: 44px; --by: -50px; } .bo-burst i:nth-child(5) { --bx: 60px; --by: -20px; }
.bo-walker.celebrate .bo-burst i { animation: burst 0.8s cubic-bezier(0.2, 0.8, 0.3, 1) both; }
.bo-walker.celebrate .bo-svg { animation: boJump 0.6s cubic-bezier(0.3, 1.4, 0.5, 1); }
@keyframes burst { 0% { opacity: 1; transform: translate(0, 0) scale(0.4); } 100% { opacity: 0; transform: translate(var(--bx), var(--by)) scale(1); } }
@keyframes boJump { 0%, 100% { translate: 0 0; } 40% { translate: 0 -26px; } }
.bo-walker.is-back .bo-svg { transform: scaleX(-1); }

@media (max-width: 760px) {
  .sun { width: 60px; height: 60px; }
  .prop { left: 92px; width: 50px; height: 50px; }
  .st-hi { left: 40px; bottom: 112px; font-size: 12px; }
  .walk-count b { font-size: 18px; }
  .paws { bottom: calc(var(--ground) * 0.4); }
}

/* ---------- fotos del bento: alto explícito (Safari en iPhone) ---------- */
.photo-cell { aspect-ratio: auto !important; height: 300px; }
@media (max-width: 1000px) { .photo-cell { height: 260px; } }
@media (max-width: 560px) { .photo-cell { height: 58vw; } }

/* ---------- celular ---------- */
@media (max-width: 900px) {
  .sol-photo { max-height: 260px; aspect-ratio: 16 / 10; }
  .hx-bo { display: none; }
  .hx-photos { height: 210px; margin-top: 0; }
  .hp1 { width: 40vw; max-width: 200px; left: 4%; top: 0; }
  .hp2 { width: 32vw; max-width: 160px; right: 6%; top: 26px; }
  .hx-chip { right: auto; left: 30%; top: 150px; }
}
@media (max-width: 760px) {
  /* recuperar el apilado de las tarjetas de Studio, más suave */
  .stack-card { position: sticky !important; top: calc(84px + var(--i) * 10px) !important; min-height: 280px; }
}
@media (max-width: 760px) { .sun { --sun-y-base: 0; top: calc(var(--sun-y, 30%) + 14%); } }
.walk-ground::before { display: none; }
.paws { bottom: calc(var(--ground) * 0.5); }
@media (min-width: 761px) { .sun { top: calc(var(--sun-y, 22%) - 6%); } }
@media (min-width: 761px) { .sun { top: var(--sun-y, 40%); } }
@media (max-width: 760px) { .sun { top: calc(var(--sun-y, 40%) - 4%); } }
.hx-title { font-size: clamp(44px, 5.8vw, 92px); }

/* ---------- v7 ---------- */
/* inicio: fotos dentro del flujo; en escritorio siguen flotando a la derecha */
.hx-inner { position: static; }
.hx-title, .hx-glass { position: relative; z-index: 2; }
@media (max-width: 900px) {
  .hx-inner { position: relative; padding-block: 104px 32px; gap: 0; }
  .hx-title { margin-bottom: 8px; }
  .hx-photos { position: relative; inset: auto; height: 190px; margin: 0 0 -46px; z-index: 1; order: 0; }
  .hp1 { left: 2%; top: 4px; width: 38vw; max-width: 190px; }
  .hp2 { right: 4%; left: auto; top: 22px; width: 31vw; max-width: 150px; }
  .hx-chip { left: auto; right: 2%; top: 4px; transform: rotate(3deg); }
  .hx-glass { background: rgba(255, 255, 255, 0.62); }
}

/* fondos con fotos de marca */
.has-bgp { position: relative; overflow: hidden; isolation: isolate; }
.bgp { position: absolute; inset: -12% 0; z-index: -1; pointer-events: none; }
.bgp-img { position: absolute; inset: -30px; background-size: cover; background-position: center; transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(1.05); transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); animation: kenburns 28s ease-in-out infinite alternate; }
@keyframes kenburns { to { background-position: 60% 40%; } }
.bgp-light::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251, 251, 253, 0.9), rgba(251, 251, 253, 0.8) 50%, rgba(251, 251, 253, 0.94)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bgp-dark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 64, 0.94), rgba(10, 22, 64, 0.86) 40%, rgba(10, 22, 64, 0.97)); }
.bgp-light .bgp-img { filter: saturate(1.1); }
.studio .bgp-top { inset: -12% 0 auto; height: 900px; }
.studio .bgp-top::after { background: linear-gradient(180deg, rgba(245, 245, 247, 0.84), rgba(245, 245, 247, 0.9) 60%, #f5f5f7); }
.contact.has-bgp::before { z-index: 0; }
@media (prefers-reduced-motion: reduce) { .bgp-img { animation: none; } }

/* botón flotante */
.fab { position: fixed; z-index: 70; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 12px 20px 12px 16px; border-radius: 999px; background: var(--coral); color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 14px 34px rgba(255, 107, 74, 0.4); opacity: 0; transform: translateY(20px) scale(0.9); pointer-events: none; transition: opacity 0.35s, transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.3); }
.fab.show { opacity: 1; transform: none; pointer-events: auto; }
.fab svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 901px) { .fab { display: none; } }

/* paseo en el celular: nada se tapa */
@media (max-width: 760px) {
  .walk { --ground: 9%; }
  .walk-hud { top: calc(env(safe-area-inset-top, 0px) + 80px); }
  .walk-title { font-size: 26px; }
  .walk-card { top: calc(env(safe-area-inset-top, 0px) + 170px); bottom: auto; padding: 14px 16px; gap: 4px; border-radius: 22px; }
  .walk-card .st-quote { font-size: 18px; line-height: 1.15; }
  .walk-card .st-name { font-size: 12px; }
  .walk-card .st-fix { margin-top: 4px; padding: 10px 12px; gap: 6px; }
  .walk-card .st-fix p { font-size: 13.5px; }
  .station .st-hi { display: none; }
  .person-av { width: 76px; height: 76px; bottom: 18px; }
  .station { width: 76px; height: 96px; }
  .prop { left: 84px; width: 44px; height: 44px; }
  .bo-walker { width: 88px; height: 76px; }
  .sun { width: 48px; height: 48px; }
  .walk-intro { bottom: calc(var(--ground) + 116px); }
  .walk-intro .display { font-size: 28px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .walk-card .st-name { display: none; }
  .walk-card .st-tag { font-size: 12px; }
  .walk-card { top: calc(env(safe-area-inset-top, 0px) + 160px); }
}
.bgp { overflow: hidden; }
.hx-bo { right: 21%; }
@media (max-width: 900px) {
  .hp2 { right: 6%; top: 0; }
  .hx-chip { right: auto; left: 30%; top: 116px; z-index: 3; }
}
.studio .bgp-top { -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
@media (max-width: 900px) { .hx-chip { display: none; } }

/* ---------- v8: correcciones en celular real ---------- */
/* WhatsApp: verde, siempre visible, en todos los tamaños */
.fab { background: #17924c; color: #fff; box-shadow: 0 14px 34px rgba(23, 146, 76, 0.38); opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { background: #127a3f; }
@media (min-width: 901px) { .fab { display: inline-flex; right: max(28px, env(safe-area-inset-right, 0px)); bottom: calc(28px + env(safe-area-inset-bottom, 0px)); } }
.walk-count b { color: var(--coral); }

/* inicio en celular: fotos pegadas al titular y completas */
@media (max-width: 900px) {
  .hx { min-height: 0; }
  .hx-inner { justify-content: flex-start; padding-block: 104px 40px; }
  .hp { transition: none; }
  .hx-photos { height: 200px; margin: 18px 0 -18px; }
  .hp1 { top: 0; }
  .hp2 { top: 16px; }
}

/* foto de Solutions en celular: vertical y entera */
@media (max-width: 900px) {
  .sol-photo { aspect-ratio: 4 / 5; max-height: none; width: min(78%, 320px); margin: 8px auto 0; justify-self: center; }
}

/* paseo en celular: la tarjeta aparece solo frente a cada persona, cerca del suelo */
@media (max-width: 760px) {
  .walk-card { top: auto; bottom: calc(var(--ground) + 112px); }
  .walk-card .st-name { display: none; }
  .walk-intro { top: calc(env(safe-area-inset-top, 0px) + 190px); bottom: auto; transform: none; }
  .walk-title { font-size: 24px; }
  .walk-hud { flex-direction: row; align-items: center; }
  .walk-meta { width: 100%; }
}

/* ---------- v9: naranja como color de acción, firma, rubros ---------- */
.it-acc { color: var(--coral) !important; }
.btn-acc { background: var(--coral); color: #fff; box-shadow: 0 10px 26px rgba(255, 107, 74, 0.32); }
.btn-acc:hover { background: #f2553a; }
.pill-s.cob { background: var(--coral); color: #fff; }
.p-cal > .pend { background: rgba(255, 107, 74, 0.32); color: #fff; }
.p-row.is-new { background: rgba(255, 107, 74, 0.18); border-color: rgba(255, 140, 110, 0.5); }
.stat-card:nth-child(3) .stat-num { color: var(--coral); }

/* portada más sobria: menos orbe */
.hx .hero-canvas { opacity: 0.75; }
.hx-grain { opacity: 0.06; }

/* firma en lugar del efecto de palabras */
.quote { margin: 0; max-width: 1000px; display: flex; flex-direction: column; gap: 28px; }
.quote p { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.8vw, 54px); line-height: 1.1; letter-spacing: -0.04em; color: var(--noche); }
.quote-by { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--text-2); }
.quote-by b { display: block; color: var(--noche); font-weight: 600; font-size: 16px; }
.quote-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--cobalt); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.quote-mark .bmark { font-size: 24px; }

/* dirección */
.c-row .sub { display: block; font-size: 14px; color: var(--text-2); margin-top: 4px; }
a.copy { display: inline-flex; align-items: center; }

/* enlaces por rubro */
.rubros { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.rubros span { color: rgba(255, 255, 255, 0.6); margin-right: 4px; }
.rubros a { padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; transition: background 0.2s, border-color 0.2s; }
.rubros a:hover { background: rgba(255, 107, 74, 0.18); border-color: var(--coral); }

/* ---------- páginas por rubro ---------- */
.rb .nav-inner { padding-left: 18px; }
.rb-hero { padding-block: 150px 40px; background: radial-gradient(60% 80% at 90% 0%, color-mix(in srgb, var(--acc) 14%, #fff), transparent 70%), #fff; }
.rb-hero .wrap { display: flex; flex-direction: column; gap: 22px; }
.rb-crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--text-2); }
.rb-crumbs a { color: var(--cobalt); }
.rb-title { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6vw, 84px); line-height: 1; letter-spacing: -0.05em; max-width: 960px; color: var(--noche); }
.rb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rb-card { padding: clamp(24px, 3vw, 40px); border-radius: 32px; display: flex; flex-direction: column; gap: 18px; }
.rb-pains { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.rb-pains ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.rb-pains li { padding: 14px 16px 14px 44px; border-radius: 16px; background: var(--papel); position: relative; color: var(--text-2); }
.rb-pains li::before { content: "×"; position: absolute; left: 16px; top: 12px; font-weight: 700; color: var(--coral); }
.rb-fix { background: var(--cobalt); color: #fff; }
.rb-fix ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.rb-fix li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.1); }
.rb-n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--acc); color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.rb-demo-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.rb-demo-copy { display: flex; flex-direction: column; gap: 20px; }
.rb-demo .phone { width: 280px; }
.rb-stat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; max-width: 900px; }
.rb-stat .stat-num { color: var(--coral); }
.rb-stat p { font-size: 20px; line-height: 1.45; }
.rb-stat a { font-size: 13px; color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }
.rb-faqs { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.rb-faq { padding: 18px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); margin-bottom: 10px; }
.rb-faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.rb-faq summary::after { content: "+"; color: var(--coral); font-size: 22px; line-height: 1; }
.rb-faq[open] summary::after { content: "−"; }
.rb-faq p { margin-top: 10px; color: var(--text-2); }
.rb-cta { display: flex; flex-direction: column; gap: 20px; }
.rb-others { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; margin-top: 12px; }
.rb-others span { color: var(--text-2); }
.rb-others a { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.rb-others a:hover { border-color: var(--coral); color: var(--coral); }
@media (max-width: 860px) {
  .rb-grid, .rb-faqs, .rb-demo-in, .rb-stat { grid-template-columns: minmax(0, 1fr); }
  .rb-demo .phone { justify-self: center; width: min(270px, 76vw); }
  .rb-hero { padding-block: 120px 24px; }
  .rb .nav .btn { min-height: 44px; padding: 10px 16px; font-size: 14px; }
}

/* las tarjetas de Studio vuelven a apilarse: overflow:clip no rompe el "sticky" */
.has-bgp { overflow: clip; }
.quote-by a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }
.rb .hero-ctas .btn { white-space: normal; text-align: center; }
.rb-hero .wrap { position: relative; }
.rb-hero-av { position: absolute; right: var(--gutter-r); top: 40px; width: clamp(220px, 22vw, 320px); }
.rb-hero-av img { width: 100%; border-radius: 50%; border: 8px solid #fff; box-shadow: 0 30px 70px rgba(10, 22, 64, 0.18); animation: hover 5s ease-in-out infinite; }
.rb-hero-chip { position: absolute; left: -30px; bottom: 10px; display: flex; flex-direction: column; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.85); border: 1px solid #fff; box-shadow: var(--shadow); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: 13px; color: var(--text-2); }
.rb-hero-chip b { color: var(--noche); font-size: 16px; }
@media (max-width: 1100px) { .rb-hero-av { display: none; } }

/* ---------- contacto: íconos que redirigen + formulario ---------- */
.contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; }
.icon-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
.il { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--shadow); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: transform 0.25s, border-color 0.25s; min-width: 0; }
.il:hover { transform: translateY(-3px); border-color: var(--cobalt); }
.il-ico { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--cobalt); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.il-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.il-wa .il-ico { background: #17924c; }
.il-in { font-family: var(--display); font-weight: 700; font-size: 19px; }
.il-txt { display: flex; flex-direction: column; min-width: 0; font-size: 13px; color: var(--text-2); line-height: 1.3; }
.il-txt b { font-size: 15px; color: var(--noche); font-weight: 600; }
.il-txt { overflow-wrap: anywhere; }
.cform { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 34px); border-radius: 30px; background: rgba(255, 255, 255, 0.72); border: 1px solid #fff; box-shadow: 0 24px 60px rgba(20, 56, 200, 0.12); backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6); }
.cform-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 4px; }
.cform-head b { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: var(--noche); }
.cform-head span { color: var(--text-2); font-size: 15px; }
.cf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cf { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-2); min-width: 0; }
.cf input, .cf select, .cf textarea { font: inherit; font-size: 16px; color: var(--noche); padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(10, 22, 64, 0.12); background: #fff; min-height: 46px; width: 100%; }
.cf textarea { resize: vertical; min-height: 84px; }
.cf input:focus, .cf select:focus, .cf textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(20, 56, 200, 0.15); }
.cf input.bad { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.15); }
.cf-chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chips legend { font-size: 13px; font-weight: 500; color: var(--text-2); margin-bottom: 8px; padding: 0; }
.cf-chips label { cursor: pointer; }
.cf-chips input { position: absolute; opacity: 0; pointer-events: none; }
.cf-chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(10, 22, 64, 0.12); background: #fff; font-size: 14px; color: var(--noche); transition: all 0.2s; }
.cf-chips input:checked + span { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.cf-chips input:focus-visible + span { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.cf-send { align-self: flex-start; min-height: 50px; padding: 14px 28px; font-size: 16px; }
.cf-send:disabled { opacity: 0.6; cursor: wait; }
.cf-status { font-size: 14px; min-height: 1em; color: var(--text-2); }
.cf-status.ok { color: #17924c; font-weight: 600; }
.cf-status.err { color: #d4402a; }
.cf-status a { text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .cf-row { grid-template-columns: minmax(0, 1fr); } .icon-links { grid-template-columns: minmax(0, 1fr); } .cf-send { width: 100%; justify-content: center; } }
@media (max-width: 560px) {
  .icon-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .il { flex-direction: column; text-align: center; gap: 8px; padding: 14px 6px; }
  .il-txt { font-size: 0; }
  .il-txt b { font-size: 13px; }
  .contact-bo { display: none; }
}

/* palabras en cursiva sobre fondo noche: que se lean */
.sol .it:not(.it-acc), .sc-dark .it:not(.it-acc), .door-solutions .it:not(.it-acc) { color: #9fb3ff; }

/* ---------- demo del sistema ---------- */
.sysdemo { margin-top: clamp(72px, 9vw, 120px); display: flex; flex-direction: column; gap: 28px; }
.laptop { max-width: 1040px; width: 100%; margin: 0 auto; }
.lt-screen { border-radius: 22px 22px 0 0; padding: 12px 12px 0; background: linear-gradient(145deg, #3a3a40, #17171b); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45), inset 0 0 0 1.5px rgba(255, 255, 255, 0.14); }
.lt-base { height: 16px; margin: 0 -4%; border-radius: 0 0 18px 18px; background: linear-gradient(180deg, #c9ccd6, #8e93a3); }
.app { display: grid; grid-template-columns: 190px minmax(0, 1fr); min-height: 440px; border-radius: 12px 12px 0 0; overflow: hidden; background: #f6f7fb; color: var(--noche); font-size: 14px; }
.app-side { background: #fff; border-right: 1px solid #e6e9f3; padding: 18px 12px; display: flex; flex-direction: column; gap: 18px; }
.app-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--cobalt); padding: 0 8px; }
.app-brand .bmark { font-size: 20px; }
.app-brand span { color: var(--noche); font-size: 14px; }
.app-nav { display: flex; flex-direction: column; gap: 2px; }
.app-tab { text-align: left; border: 0; background: transparent; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--text-2); cursor: pointer; min-height: 40px; }
.app-tab:hover { background: #f2f4fa; color: var(--noche); }
.app-tab[aria-selected="true"] { background: rgba(20, 56, 200, 0.08); color: var(--cobalt); font-weight: 600; }
.app-note { margin-top: auto; font-size: 11px; color: var(--text-2); padding: 0 8px; }
.app-main { padding: 22px; min-width: 0; }
.app-view { display: flex; flex-direction: column; gap: 16px; }
.app-view.in { animation: viewIn 0.4s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } }
.app-h { display: flex; flex-direction: column; gap: 2px; }
.app-h b { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.app-h span { font-size: 13px; color: var(--text-2); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpis.k3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi { background: #fff; border: 1px solid #e6e9f3; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kpi span { font-size: 12px; color: var(--text-2); }
.kpi b { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi em { font-style: normal; font-size: 11.5px; color: var(--text-2); }
.kpi em.up { color: #17924c; }
.kpi.warn { border-color: rgba(255, 107, 74, 0.45); background: #fff6f3; }
.kpi.warn b { color: #d4402a; }
.app-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; }
.panel-w { background: #fff; border: 1px solid #e6e9f3; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pw-t { font-size: 12px; font-weight: 600; color: var(--text-2); }
.spark { width: 100%; height: 110px; display: block; }
.spark-x { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-2); }
.todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.todo li { display: flex; gap: 8px; align-items: flex-start; }
.dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex: none; }
.dot.c { background: #d4402a; } .dot.o { background: var(--coral); } .dot.g { background: #17924c; }
.tbl-w { overflow-x: auto; background: #fff; border: 1px solid #e6e9f3; border-radius: 14px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 460px; }
.tbl th { text-align: left; font-weight: 500; font-size: 12px; color: var(--text-2); padding: 10px 12px; border-bottom: 1px solid #e6e9f3; }
.tbl td { padding: 10px 12px; border-bottom: 1px solid #f0f2f8; font-variant-numeric: tabular-nums; }
.tbl .r { text-align: right; }
.ch { font-size: 12px; padding: 3px 8px; border-radius: 999px; background: #f2f4fa; white-space: nowrap; }
.ch.wa { background: rgba(23, 146, 76, 0.1); color: #127a3f; }
.st { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.st.ok { background: rgba(23, 146, 76, 0.1); color: #127a3f; }
.st.pend { background: rgba(255, 107, 74, 0.12); color: #c43c22; }
.bar { display: block; width: 100%; min-width: 80px; height: 8px; border-radius: 8px; background: #eef1f8; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 8px; background: var(--cobalt); }
.bar i.lo { background: var(--coral); }
.app-tip { font-size: 12.5px; color: var(--text-2); background: #fff; border: 1px dashed #d6dbea; border-radius: 12px; padding: 10px 12px; }
.crm-card { background: #fff; border: 1px solid #e6e9f3; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.crm-top { display: flex; gap: 12px; align-items: center; }
.crm-top b { display: block; font-size: 16px; }
.crm-top span { font-size: 12.5px; color: var(--text-2); }
.av { width: 42px; height: 42px; border-radius: 50%; background: var(--sky); color: var(--cobalt); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.kpis.sm .kpi b { font-size: 16px; }
.tl { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid #e6e9f3; display: grid; gap: 10px; font-size: 13px; color: var(--text-2); }
.tl b { color: var(--noche); margin-right: 6px; font-weight: 600; }
.routes { display: grid; gap: 10px; }
.route { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid #e6e9f3; border-radius: 14px; padding: 12px 14px; }
.rt-i { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; flex: 1; min-width: 0; align-items: center; }
.rt-i b { font-size: 15px; }
.rt-i > span:not(.bar) { font-size: 12px; color: var(--text-2); text-align: right; }
.rt-i .bar { grid-column: 1 / -1; }
.rt-i em { grid-column: 1 / -1; font-style: normal; font-size: 12px; color: var(--text-2); }
.sysdemo-cap { text-align: center; font-size: 13px; color: rgba(255, 255, 255, 0.55); }
@media (max-width: 760px) {
  .app { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .app-side { border-right: 0; border-bottom: 1px solid #e6e9f3; padding: 12px; gap: 10px; }
  .app-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 4px; }
  .app-nav::-webkit-scrollbar { display: none; }
  .app-tab { white-space: nowrap; flex: none; }
  .app-note { display: none; }
  .app-main { padding: 14px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis.k3 { grid-template-columns: minmax(0, 1fr); }
  .app-cols { grid-template-columns: minmax(0, 1fr); }
  .lt-screen { padding: 8px 8px 0; border-radius: 16px 16px 0 0; }
  .lt-base { height: 10px; }
}

[hidden] { display: none !important; }

/* ---------- BOIX 360 ---------- */
.b360-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 40px; background: radial-gradient(70% 90% at 100% 0%, rgba(255, 107, 74, 0.16), transparent 60%), radial-gradient(70% 90% at 0% 100%, rgba(20, 56, 200, 0.12), transparent 60%), #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.b360-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.b360-badge { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--coral); }
.b360-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.b360-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 22px; background: var(--papel); }
.b360-list b { display: block; font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--noche); }
.b360-list span { font-size: 15px; color: var(--text-2); }
.b360-n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--cobalt); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.b360-eq { background: var(--noche) !important; }
.b360-eq b { color: #fff !important; } .b360-eq span { color: rgba(255, 255, 255, 0.75) !important; }
.b360-eq .b360-n { background: var(--coral); }
@media (max-width: 860px) { .b360-card { grid-template-columns: minmax(0, 1fr); border-radius: 30px; } }
.hx-title { font-size: clamp(42px, 5.4vw, 84px); max-width: min(64vw, 960px); }
@media (max-width: 900px) { .hx-title { font-size: clamp(38px, 10.5vw, 56px); max-width: none; } }

/* ---------- piezas de una solución y rubros, como tarjetas ---------- */
.layers-head { margin-top: clamp(64px, 8vw, 100px); display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.layers2 { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lay { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 26px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s, border-color 0.3s; }
.lay:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.1); border-color: rgba(159, 179, 255, 0.5); }
.lay-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.lay-ico { width: 48px; height: 48px; border-radius: 16px; background: var(--cobalt); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(20, 56, 200, 0.4); }
.lay-ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.layers2 li:nth-child(4) .lay-ico { background: #17924c; box-shadow: 0 10px 24px rgba(23, 146, 76, 0.4); }
.layers2 li:nth-child(6) .lay-ico { background: var(--coral); box-shadow: 0 10px 24px rgba(255, 107, 74, 0.4); }
.lay-n { font-family: var(--display); font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.4); font-variant-numeric: tabular-nums; }
.lay b { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.lay-d { font-size: 15px; color: rgba(255, 255, 255, 0.72); flex: 1; }
.lay-cta { margin-top: 8px; font-size: 14px; font-weight: 600; color: #9fb3ff; }
.lay:hover .lay-cta { color: #fff; }
.rubros2 { margin-top: clamp(56px, 7vw, 90px); display: flex; flex-direction: column; gap: 24px; }
.rub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.rub { display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 14px; border-radius: 22px; background: #fff; color: var(--noche); border-left: 5px solid var(--acc); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); min-width: 0; }
.rub:hover { transform: translateY(-4px); }
.rub img { width: 52px; height: 52px; border-radius: 50%; flex: none; border: 2px solid var(--acc); }
.rub-t { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.rub-t b { font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 1.2; }
.rub-t span { font-size: 13px; color: var(--text-2); line-height: 1.3; }
.rub-go { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--acc); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
@media (max-width: 900px) { .layers2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .layers2 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .lay { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 16px; }
  .lay-top { margin: 0; }
  .lay-n { display: none; }
  .lay b { flex: 1; font-size: 18px; }
  .lay-d, .lay-cta { flex-basis: 100%; }
  .lay-cta { margin-top: 2px; }
}
@media (min-width: 1101px) {
  .rub-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .rub { flex-direction: column; align-items: flex-start; border-left: 0; border-top: 5px solid var(--acc); padding: 18px; gap: 12px; position: relative; }
  .rub img { width: 60px; height: 60px; }
  .rub-go { position: absolute; top: 18px; right: 18px; }
}
@media (min-width: 561px) and (max-width: 1100px) { .rub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- un solo WhatsApp, cada cliente con su vendedor ---------- */
.route-feat { margin-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 36px; background: radial-gradient(80% 100% at 100% 0%, rgba(123, 92, 255, 0.28), transparent 60%), rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); }
.rf-copy { display: flex; flex-direction: column; gap: 16px; }
.rf-tag { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(123, 92, 255, 0.25); color: #d7ccff; }
.rf-points { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.rf-points li { padding: 12px 14px 12px 40px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); position: relative; font-size: 15px; color: rgba(255, 255, 255, 0.78); }
.rf-points li::before { content: "✓"; position: absolute; left: 14px; top: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--coral); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.rf-points b { color: #fff; font-weight: 600; }
.rf-visual { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 28px; background: #fff; color: var(--noche); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.rf-hub { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: rgba(23, 146, 76, 0.08); }
.rf-hub svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: #17924c; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.rf-hub b { display: block; font-size: 15px; } .rf-hub span { font-size: 13px; color: var(--text-2); }
.rf-rows { display: grid; gap: 10px; }
.rf-row { display: grid; grid-template-columns: minmax(0, 1.3fr) 34px minmax(0, 1fr); align-items: center; gap: 8px; animation: rfIn 0.6s var(--d) both; }
@keyframes rfIn { from { opacity: 0; transform: translateX(-10px); } }
.rf-msg { padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: #f2f4fa; font-size: 13px; line-height: 1.35; min-width: 0; }
.rf-msg b { display: block; font-size: 12px; color: var(--text-2); font-weight: 600; }
.rf-arrow { height: 2px; background: repeating-linear-gradient(90deg, var(--cobalt) 0 6px, transparent 6px 10px); position: relative; animation: dash 1s linear infinite; background-size: 20px 2px; }
.rf-arrow::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: var(--cobalt); }
@keyframes dash { to { background-position: 20px 0; } }
.rf-who { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 14px; border: 1px solid #e6e9f3; min-width: 0; }
.rf-who i { font-style: normal; width: 32px; height: 32px; border-radius: 50%; background: var(--sky); color: var(--cobalt); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.rf-who b { display: block; font-size: 14px; } .rf-who span span, .rf-who > span { font-size: 12px; color: var(--text-2); min-width: 0; }
.rf-handoff { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--noche); color: #fff; }
.rf-hand-ico { width: 34px; height: 34px; border-radius: 50%; background: var(--coral); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.rf-handoff div { flex: 1; min-width: 0; } .rf-handoff b { display: block; font-size: 14px; } .rf-handoff span { font-size: 12.5px; color: rgba(255, 255, 255, 0.75); }
.rf-ok { flex: none; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #17924c; color: #fff !important; }
.rf-note { font-size: 11px; color: var(--text-2); text-align: right; }
@media (max-width: 900px) { .route-feat { grid-template-columns: minmax(0, 1fr); border-radius: 28px; } }
@media (max-width: 460px) {
  .rf-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .rf-arrow { display: none; }
  .rf-who { margin-left: 18px; }
}
@media (prefers-reduced-motion: reduce) { .rf-row, .rf-arrow { animation: none; } }
@media (min-width: 561px) { .icon-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .icon-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Bo visible en cualquier celular ---------- */
.walk.native .bo-walker { display: block; }
@media (max-width: 900px) {
  .hx-inner .hx-title { order: 0; } .hx-photos { order: 1; } .hx-bo { order: 2; } .hx-glass { order: 3; }
  .hx-bo { display: flex !important; position: relative; right: auto; bottom: auto; align-self: center; width: 118px; margin: -54px 0 -26px; z-index: 3; }
  .hx-bo .hero-bo-say { margin-right: 0; align-self: center; font-size: 12px; padding: 6px 10px; }
}
@media (max-width: 560px) {
  .contact-bo { display: block !important; width: 110px; margin: 4px auto 0; }
}
