:root {
  --bg: #0b1220;
  --bg-2: #0f1a2e;
  --line: #1e2b44;
  --text: #e6edf7;
  --muted: #93a3bd;
  --accent: #8b5cf6;
  --accent-2: #a78bfa;
  --danger: #f87171;
  --radius: 14px;
  --header: 64px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 650; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--muted); }

.wrap { width: min(1240px, 100% - 48px); margin: 0 auto; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  height: var(--header);
  background: rgba(11, 18, 32, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-row { height: 100%; display: flex; align-items: center; gap: 32px; }
.wordmark { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; font-size: 1.1rem; }
.mark { width: 28px; height: 28px; display: block; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: .93rem; color: var(--muted); }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); box-shadow: 0 2px 0 var(--accent); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang button {
  background: none; border: 0; color: var(--muted); font: 600 .78rem var(--mono);
  padding: 6px 10px; cursor: pointer;
}
.lang button.active { background: var(--line); color: var(--text); }

/* ---------- secciones ---------- */
.screen {
  min-height: calc(100dvh - var(--header));
  display: flex; align-items: center;
  padding: 72px 0;
}
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
.eyebrow {
  font: 600 .78rem var(--mono); text-transform: uppercase; letter-spacing: .14em;
  color: var(--muted); margin-bottom: 14px;
}
.eyebrow.accent { color: var(--accent); }
.lead { font-size: 1.15rem; max-width: 60ch; }
.lead.narrow { max-width: 72ch; }

/* ---------- bruxulabs (primera pantalla: vidriera de la marca) ---------- */
.brand-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100dvh - var(--header));
  display: flex; align-items: center; padding: 40px 0 130px;
  background:
    radial-gradient(640px 640px at 50% 42%, rgba(139, 92, 246, .22), transparent 65%),
    radial-gradient(1200px 600px at 50% 120%, rgba(124, 58, 237, .18), transparent 60%),
    var(--bg);
}
.bh-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.bh-floor {
  position: absolute; left: -25%; right: -25%; bottom: -10%; height: 46%; z-index: -2;
  background-image:
    linear-gradient(rgba(139, 92, 246, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, .22) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(520px) rotateX(62deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
          mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  animation: floor 9s linear infinite;
}
@keyframes floor { to { background-position: 0 64px, 0 0; } }
.bh-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.compass { margin: 0; width: min(46vh, 380px, 78vw); }
.compass svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 0 38px rgba(139, 92, 246, .35)); }
.c-orbit { fill: none; stroke: rgba(167, 139, 250, .45); stroke-width: 1.5; stroke-dasharray: 1 9; transform-origin: 200px 200px; animation: orbit 60s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.c-ring { stroke: rgba(167, 139, 250, .28); stroke-width: 2; }
.c-ring-2 { fill: none; stroke: rgba(139, 92, 246, .35); stroke-dasharray: 2 10; }
.tk { stroke: #2a3550; stroke-width: 1.5; }
.tk-big { stroke: #8b5cf6; stroke-width: 2.5; }
.c-rose { fill: rgba(255, 255, 255, .045); stroke: rgba(255, 255, 255, .10); }
.c-rose-s { fill: rgba(255, 255, 255, .02); }
.c-card { font: 700 19px var(--mono); fill: var(--muted); }
.c-north { fill: #c4b5fd; }
.c-south { fill: #e6edf7; opacity: .85; }
.c-hub { fill: var(--bg); stroke: var(--accent); stroke-width: 3; }
.brand-name {
  display: flex; align-items: center; justify-content: center; gap: .3em; margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 800; letter-spacing: -.045em; text-transform: lowercase;
  background: linear-gradient(180deg, #ffffff 30%, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-name img { width: .9em; height: .9em; filter: drop-shadow(0 6px 24px rgba(139, 92, 246, .45)); }
.btn-glow { position: relative; box-shadow: 0 0 0 1px rgba(196, 181, 253, .35), 0 10px 40px -8px rgba(139, 92, 246, .75); }
.btn-glow:hover { box-shadow: 0 0 0 1px rgba(196, 181, 253, .6), 0 14px 50px -6px rgba(139, 92, 246, .9); }
button.btn { font-family: inherit; cursor: pointer; }
.mail-alt { display: inline-block; margin-top: 16px; font: .9rem var(--mono); color: var(--muted); }
.mail-alt:hover { color: var(--accent-2); }
.h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 700; }

/* ---------- modal de contacto ---------- */
.cmodal { border: 0; padding: 0; background: transparent; color: var(--text); max-width: min(620px, calc(100vw - 32px)); width: 100%; }
.cmodal::backdrop { background: rgba(5, 8, 16, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cmodal[open] { animation: pop .28s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.cm-card {
  position: relative; border-radius: 20px; padding: 30px 30px 22px;
  background: linear-gradient(180deg, rgba(23, 20, 44, .92), rgba(11, 18, 32, .94)) padding-box,
              conic-gradient(from var(--spin, 0deg), #8b5cf6, #22d3ee33, #a78bfa, #8b5cf633, #8b5cf6) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 90px -20px rgba(124, 58, 237, .55);
  animation: spin 8s linear infinite;
}
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --spin: 360deg; } }
.cm-close { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 1.7rem; line-height: 1; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.cm-close:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.cm-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.cm-head h2 { margin: 0 0 4px; font-size: 1.6rem; }
.cm-head p { margin: 0; font-size: .95rem; }
.cm-mark { width: 52px; height: 52px; flex: none; filter: drop-shadow(0 6px 20px rgba(139, 92, 246, .5)); }
.cm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld { position: relative; display: block; margin-bottom: 12px; }
.fld input, .fld textarea {
  width: 100%; font: 1rem var(--font); color: var(--text);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 14px 8px; outline: none; resize: vertical; transition: border-color .15s, box-shadow .15s, background .15s;
}
.fld textarea { min-height: 120px; }
.fld span { position: absolute; left: 15px; top: 15px; font-size: .95rem; color: var(--muted); pointer-events: none; transition: all .15s ease; }
.fld input:focus, .fld textarea:focus { border-color: var(--accent); background: rgba(139, 92, 246, .07); box-shadow: 0 0 0 4px rgba(139, 92, 246, .16); }
.fld input:focus + span, .fld input:not(:placeholder-shown) + span,
.fld textarea:focus + span, .fld textarea:not(:placeholder-shown) + span { top: 6px; font-size: .72rem; letter-spacing: .04em; color: var(--accent-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cm-ts:not(:empty) { margin: 4px 0 10px; }
.cm-status { min-height: 1.4em; margin: 2px 0 10px; font-size: .9rem; }
.cm-status.err { color: var(--danger); }
.cm-send { width: 100%; gap: 10px; }
.cm-send:disabled { opacity: .7; cursor: progress; transform: none; }
.spin { display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: rot .7s linear infinite; }
.cm-send.busy .spin { display: inline-block; }
@keyframes rot { to { transform: rotate(360deg); } }
.cm-done { text-align: center; padding: 10px 0 6px; }
.cm-done svg { width: 64px; height: 64px; margin-bottom: 12px; }
.cm-done circle { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .6s ease forwards; }
.cm-done path { fill: none; stroke: #c4b5fd; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .45s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.cm-done h3 { font-size: 1.3rem; margin-bottom: 6px; }
.cm-alt { text-align: center; margin: 14px 0 0; font: .82rem var(--mono); }
.cm-alt a { color: var(--muted); }
.cm-alt a:hover { color: var(--accent-2); }
@media (max-width: 560px) { .cm-row { grid-template-columns: 1fr; gap: 0; } .cm-card { padding: 24px 18px 18px; } }

/* ---------- modal de demo ---------- */
/* Banderas: fuente "Twemoji Country Flags" (MIT, arte de Twemoji bajo CC-BY 4.0) para Windows, que no trae banderas emoji. */
@font-face { font-family: "Flags"; src: url("/flags.woff2") format("woff2"); font-display: swap;
  unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067, U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F; }
.dmodal { max-width: min(680px, calc(100vw - 32px)); }
.dmodal .cm-card { max-height: calc(100dvh - 32px); overflow-y: auto; }
.dm-label { margin: 4px 0 10px; font-size: .9rem; color: var(--text); font-weight: 600; }
.dm-groups { display: grid; gap: 12px; margin-bottom: 18px; }
.dm-grp-t { margin: 0 0 6px; font: 600 .7rem var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.dm-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.dm-prod { position: relative; cursor: pointer; }
.dm-prod input { position: absolute; opacity: 0; pointer-events: none; }
.dm-box { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 11px 36px 11px 13px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255, 255, 255, .03); transition: border-color .15s, background .15s, box-shadow .15s; position: relative; }
.dm-box b { font-size: .93rem; color: var(--text); font-weight: 600; }
.dm-box small { font-size: .78rem; color: var(--muted); }
.dm-check { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--line);
  fill: none; stroke: transparent; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: all .15s; }
.dm-prod:hover .dm-box { border-color: rgba(139, 92, 246, .5); }
.dm-prod input:focus-visible + .dm-box { box-shadow: 0 0 0 3px rgba(139, 92, 246, .35); }
.dm-prod input:checked + .dm-box { border-color: var(--accent); background: rgba(139, 92, 246, .12); }
.dm-prod input:checked + .dm-box .dm-check { background: var(--accent); border-color: var(--accent); stroke: #fff; }
.dm-phone { position: relative; display: grid; grid-template-columns: auto 104px 1fr; gap: 8px; }
.dm-cc { display: flex; align-items: center; gap: 4px; height: 54px; padding: 0 8px 0 12px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255, 255, 255, .04); color: var(--muted); cursor: pointer; }
.dm-cc:hover, .dm-cc:focus-visible { border-color: var(--accent); outline: none; }
.dm-cc svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.dm-flag { font-family: "Flags", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 1.45rem; line-height: 1; }
.dm-pop { position: absolute; z-index: 5; top: 60px; left: 0; width: min(340px, 100%); border: 1px solid var(--line); border-radius: 12px;
  background: #121a2e; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6); overflow: hidden; }
.dm-search { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); font: .95rem var(--font); padding: 12px 14px; outline: none; }
.dm-list { list-style: none; margin: 0; padding: 4px; max-height: 260px; overflow-y: auto; }
.dm-list li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; cursor: pointer; font-size: .92rem; }
.dm-list li:hover, .dm-list li.on { background: rgba(139, 92, 246, .16); }
.dm-list li.dm-sep { margin-bottom: 4px; box-shadow: 0 5px 0 -4px var(--line); }
.dm-list .dm-flag { font-size: 1.2rem; }
.dm-cn { flex: 1; color: var(--text); }
.dm-cd { font: .82rem var(--mono); color: var(--muted); }
.dmodal textarea { min-height: 84px; }
@media (max-width: 560px) { .dm-phone { grid-template-columns: auto 88px 1fr; } }

/* ---------- hero ---------- */
.hero { background:
  radial-gradient(900px 500px at 85% 20%, rgba(167, 139, 250, .10), transparent 60%),
  radial-gradient(700px 400px at 10% 90%, rgba(139, 92, 246, .08), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.cta-row { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: .96rem;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #ffffff; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--line); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn.disabled { background: var(--line); color: var(--muted); cursor: default; transform: none; }

.diagram { margin: 0; }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram figcaption { font: .82rem var(--mono); color: var(--muted); text-align: center; margin-top: 10px; }
.room { fill: #101b30; stroke: var(--line); stroke-width: 1.5; }
.room-on { stroke: var(--accent); }
.tv { fill: #0b1220; stroke: #33415c; stroke-width: 2; }
.tv-on { fill: url(#g1); fill-opacity: .18; stroke: var(--accent-2); }
.lbl { font: 600 12px var(--mono); fill: var(--muted); letter-spacing: .1em; }
.phone { fill: #131f36; stroke: #3b4a66; stroke-width: 2; }
.phone-screen { fill: #0b1220; }
.qr rect { fill: var(--text); }
.link { fill: none; stroke-width: 2.5; }
.link-ok { stroke: url(#g1); stroke-dasharray: 6 6; animation: flow 1.2s linear infinite; }
.link-no { stroke: #3b4a66; stroke-dasharray: 3 7; }
.block circle { fill: var(--bg); stroke: var(--danger); stroke-width: 2; }
.block path { stroke: var(--danger); stroke-width: 2.2; stroke-linecap: round; }
@keyframes flow { to { stroke-dashoffset: -24; } }

/* ---------- TV de muestra (hero) ---------- */
.tv-frame { fill: #0a0a10; stroke: #2a2540; stroke-width: 2; }
.tv-stand { fill: #1c1830; }
.tv-hotel { font: 700 14px var(--font); fill: var(--text); letter-spacing: .28em; }
.tv-meta { font: 500 12px var(--mono); fill: var(--muted); }
.tv-welcome { font: 700 24px var(--font); fill: var(--text); letter-spacing: -.01em; }
.tv-sub { font: 400 13px var(--font); fill: var(--muted); }
.tile rect:first-child { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .10); }
.tile text { font: 600 11px var(--font); fill: var(--muted); }
.tile circle, .tile path, .tile rect + text + rect, .tile rect:not(:first-child) { fill: var(--muted); }
.tile-on rect:first-child { fill: rgba(139, 92, 246, .18); stroke: var(--accent); }
.tile-on text { fill: var(--text); }
.tile-on circle { fill: url(#g1); }
.card-key { border-color: var(--accent); background: linear-gradient(180deg, rgba(139, 92, 246, .08), transparent); }
.cast-grid { grid-template-columns: 1fr 1.05fr; }

/* ---------- dos columnas ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 16px; height: 9px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg) scale(.8);
}

/* ---------- pasos ---------- */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--bg-2); position: relative; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; right: -16px; top: 46px; width: 12px; height: 2px; background: var(--line);
}
.num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  font: 700 .95rem var(--mono); color: var(--accent); border: 1px solid var(--accent); margin-bottom: 16px;
}

/* ---------- tarjetas ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--bg); }
.card h3 { color: var(--text); }
.card p { margin: 0; font-size: .94rem; }

/* ---------- módulos ---------- */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.module { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.module.live { border-color: var(--accent); background: linear-gradient(180deg, rgba(139, 92, 246, .08), transparent); }
.module p { margin: 0; font-size: .94rem; }
.tag {
  display: inline-block; font: 600 .7rem var(--mono); text-transform: uppercase; letter-spacing: .12em;
  padding: 4px 8px; border-radius: 6px; margin-bottom: 14px;
  color: #ffffff; background: var(--accent);
}
.tag.soon { background: var(--line); color: var(--muted); }

/* ---------- nuestras líneas ---------- */
.lines-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 34px; }
.line-card {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
  background: linear-gradient(180deg, rgba(139, 92, 246, .07), transparent 60%), var(--bg-2);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.line-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 18px 50px -20px rgba(139, 92, 246, .45); }
.line-card h3 { font-size: 2rem; color: var(--text); margin: 6px 0 12px; }
.lc-aud { font: 600 .78rem var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--accent-2); }
.lc-list { list-style: none; padding: 0; margin: 8px 0 22px; display: grid; gap: 10px; }
.lc-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--text); font-size: .94rem; }
.lc-list .tag { margin: 0; }
.lc-list li span { color: var(--muted); font-size: .88rem; text-align: right; }
.lc-go { margin-top: auto; font-weight: 600; color: var(--accent-2); }

/* ---------- dibujo de Updateá ---------- */
.up-halo { fill: rgba(139, 92, 246, .16); }
.up-prod { fill: var(--accent-2); }
.up-prod.sm { fill: rgba(196, 181, 253, .8); }
.up-frame { fill: none; stroke: var(--text); stroke-width: 2; opacity: .7; }
.up-shutter { fill: none; stroke: var(--text); stroke-width: 3; }
.pc-bg { fill: #141a2e; stroke: rgba(255, 255, 255, .10); }
.pc-ln { fill: rgba(255, 255, 255, .14); }
.pc-price { font: 700 12px var(--mono); fill: #ffffff; }
.sign-bg { fill: #f5f3ff; }
.sign-ln { fill: #c4b5fd; }
.sign-title { font: 800 18px var(--font); fill: #5b21b6; letter-spacing: .08em; }
.sign-price { font: 800 38px var(--font); fill: #1e1b4b; letter-spacing: -.02em; }
/* precios vivos: el precio cambia en todas las piezas a la vez */
.pa { animation: live-a 7s ease-in-out infinite; }
.pb { animation: live-b 7s ease-in-out infinite; }
@keyframes live-a { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes live-b { 0%, 42% { opacity: 0; } 50%, 92% { opacity: 1; } 100% { opacity: 0; } }
.piece { animation: pulse-piece 7s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse-piece { 0%, 44%, 56%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

/* ---------- contacto ---------- */
.contact-box { text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact-box .lead { margin-bottom: 30px; }

/* ---------- menú: desplegable de productos ---------- */
.nav { align-items: center; }
.dd { position: relative; }
.dd-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.dd-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dd-btn:hover, .dd:focus-within .dd-btn { color: var(--text); }
.dd-menu {
  position: absolute; top: 100%; right: -16px; min-width: 230px; padding: 8px; margin-top: 14px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: all .15s ease;
}
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: block; padding: 10px 12px; border-radius: 8px; }
.dd-menu a:hover { background: rgba(139, 92, 246, .12); }
.dd-menu b { display: block; color: var(--text); font-weight: 600; }
.dd-menu small { color: var(--muted); font-size: .8rem; }

/* ---------- menú propio de cada producto ---------- */
.has-sub { --sub: 52px; }
html:has(.has-sub) { scroll-padding-top: calc(var(--header) + 52px); }
.has-sub .screen, .has-sub .hero { min-height: calc(100dvh - var(--header) - var(--sub)); }
.subnav {
  position: sticky; top: var(--header); z-index: 9; height: var(--sub);
  background: rgba(15, 26, 46, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.sub-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.sub-name { font-weight: 700; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.sub-name img { width: 22px; height: 22px; }
.sub-links { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: .9rem; color: var(--muted); }
.sub-links a:hover { color: var(--text); }
.btn-sm { padding: 7px 14px; font-size: .86rem; border-radius: 8px; }
.foot a:hover { color: var(--accent-2); }

/* ---------- Updateá: grupos de funciones ---------- */
/* Azimut: suite */
.az-lockup { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.az-lockup img { width: 54px; height: 54px; }
.az-lockup span { font-weight: 650; font-size: 1.9rem; letter-spacing: .26em; color: var(--text); text-transform: uppercase; }
.orb-ring { fill: none; stroke: rgba(230, 237, 247, .12); stroke-width: 2; }
.orb-arc { fill: none; stroke: url(#gaz); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: .14 .86; }
.orb-spin { transform-origin: 240px 212px; animation: orb 6s linear infinite; }
@keyframes orb { to { transform: rotate(360deg); } }
.orb-link { stroke: rgba(167, 139, 250, .35); stroke-width: 1.5; stroke-dasharray: 3 6; }
.orb-core { fill: #0b1220; stroke: rgba(230, 237, 247, .3); stroke-width: 2; }
.orb-north { stroke: #e6edf7; stroke-width: 3; stroke-linecap: round; }
.mk-leg { stroke: #e6edf7; stroke-width: 5; stroke-linecap: round; fill: none; }
.mk-arc { fill: none; stroke: url(#gaz); stroke-width: 4.5; stroke-linecap: round; }
.mk-dot { fill: url(#gaz); }
.orb-node rect { fill: var(--bg-2); stroke: var(--accent); stroke-width: 1.5; }
.orb-node text { font: 700 17px var(--mono); fill: var(--text); letter-spacing: .06em; }
.orb-ic { fill: none; stroke: var(--accent-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.suite-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.suite-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--bg); display: flex; flex-direction: column; }
.suite-card .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(139, 92, 246, .14); display: grid; place-items: center; margin-bottom: 16px; }
.suite-card .ic svg { width: 24px; height: 24px; fill: none; stroke: var(--accent-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.suite-tag { font: 600 .7rem var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--accent-2); }
.suite-card h3 { font-size: 1.35rem; margin: 6px 0 10px; color: var(--text); }
.suite-card ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.suite-card li { position: relative; padding-left: 16px; font-size: .93rem; color: var(--muted); }
.suite-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.suite-card .lc-go { margin-top: auto; padding-top: 18px; color: var(--accent-2); font-weight: 600; font-size: .92rem; }
.flows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.flow { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg-2); }
.flow-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--accent); border-radius: 10px; font: 700 .85rem var(--mono); color: var(--text); }
.chip svg { width: 17px; height: 17px; fill: none; stroke: var(--accent-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flow-arrow { width: 22px; height: 22px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow p { margin: 0; font-size: .95rem; }
@media (max-width: 1100px) { .suite-grid, .flows { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .orb-spin { animation: none; } }
/* Azimut TV: qué gana el hotel */
.gain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.gain-grid .fcard p { margin: 0; color: var(--muted); font-size: .93rem; }
.gain-note { margin: 22px 0 0; font: .85rem var(--mono); color: var(--accent-2); }
@media (max-width: 1100px) { .gain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gain-grid { grid-template-columns: 1fr; } }
/* Updateá: presentación (tiene web propia) */
.up-name { font-size: clamp(3.4rem, 8vw, 6.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 4px 0 14px;
  background: linear-gradient(120deg, #fff, #c4b5fd 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.up-tag { font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--text); font-weight: 600; margin-bottom: 14px; }
.btn.soon { opacity: .6; pointer-events: none; }
/* Nosotros */
#nosotros { position: relative; flex-direction: column; justify-content: center; gap: 44px; padding-bottom: 150px; }
/* Pasar a la lámina siguiente: texto, línea que baja y flecha, al pie de la sección */
.next { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px; }
.next span { font-size: .75rem; font-weight: 700; letter-spacing: .38em; padding-left: .38em; color: var(--muted); text-transform: uppercase; transition: color .35s, letter-spacing .35s, padding-left .35s; }
.next i { position: relative; width: 1.5px; height: 52px; background: var(--line); overflow: hidden; transition: height .4s, background .4s; }
.next i::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: linear-gradient(transparent, var(--accent-2)); animation: next-drip 2.2s ease-in-out infinite; }
.next svg { width: 22px; height: 22px; margin-top: -10px; stroke: var(--text); transition: stroke .3s, transform .3s; }
.next:hover span, .next:focus-visible span { color: var(--text); letter-spacing: .6em; padding-left: .6em; }
.next:hover i, .next:focus-visible i { height: 72px; background: rgba(139, 92, 246, .35); }
.next:hover svg, .next:focus-visible svg { stroke: var(--accent-2); transform: translateY(3px); }
@keyframes next-drip { to { top: 100%; } }
/* Contacto (home): medios de contacto */
.ct-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 18px; justify-content: center; margin-top: 18px; }
.ct-way { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-2); color: var(--text); font: inherit; cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; }
.ct-way:hover, .ct-way:focus-visible { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 16px 40px -18px rgba(139, 92, 246, .6); outline: none; }
.ct-way .ic { width: 48px; height: 48px; border-radius: 12px; background: rgba(139, 92, 246, .14); display: grid; place-items: center; margin-bottom: 6px; }
.ct-way .ic svg { width: 24px; height: 24px; fill: none; stroke: var(--accent-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-way b { font-size: 1.05rem; font-weight: 600; }
.ct-way small { color: var(--muted); font-size: .9rem; }
@media (max-width: 560px) { .ct-ways { grid-template-columns: 1fr; width: 100%; } }

.us { align-items: center; }
.us-title { margin: 6px 0 0; line-height: 1.05; }
.us-big { font-weight: 800; letter-spacing: .02em; background: linear-gradient(120deg, #c4b5fd, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.us-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.us-grid .fcard p { margin: 0; color: var(--muted); font-size: .93rem; }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.fcard { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg); }
.fcard .ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(139, 92, 246, .14); display: grid; place-items: center; margin-bottom: 14px; }
.fcard .ic svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fcard h3 { color: var(--text); margin-bottom: 10px; }
.fcard ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fcard li { position: relative; padding-left: 16px; font-size: .92rem; color: var(--muted); }
.fcard li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
#como .grid { margin-top: 28px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 26px 0; font-size: .85rem; color: var(--muted); }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid, .modules, .fgrid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .sub-links a { display: none; }
  .lang { margin-left: auto; }
  .hero-grid, .two-col, .cast-grid, .lines-grid { grid-template-columns: 1fr; gap: 40px; }
  .screen { min-height: 0; padding: 64px 0; }
}
@media (max-width: 560px) {
  .grid, .modules, .steps, .fgrid, .us-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .next i::after { animation: none; }
  html { scroll-behavior: auto; }
  .link-ok, .bh-floor, .c-orbit, .cm-card, .cmodal[open], .pa, .piece { animation: none; }
  .pb { animation: none; opacity: 0; }
}

/* Títulos de lámina: subrayado fino violeta con brillo */
main section :is(h1.h1, h2)::after {
  content: ""; display: block; width: 64px; height: 2px; margin-top: .38em; border-radius: 2px;
  background: linear-gradient(90deg, #c4b5fd, var(--accent));
  box-shadow: 0 0 10px rgba(139, 92, 246, .85), 0 0 22px rgba(139, 92, 246, .45);
}
.contact-box :is(h1.h1, h2)::after { margin-inline: auto; }
.brand-name { position: relative; padding-bottom: .16em; }
.brand-name::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 96px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #c4b5fd, var(--accent));
  box-shadow: 0 0 10px rgba(139, 92, 246, .85), 0 0 22px rgba(139, 92, 246, .45);
}
