/* =========================================================
   Burgos Estudio — estilos
   Tokens de color en :root; modo claro en [data-theme="light"]
   ========================================================= */

:root {
  --bg: #0a0a0c;
  --bg-2: #111115;
  --surface: #16161b;
  --surface-2: #1d1d24;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f3f3ef;
  --muted: #9a9aa3;
  --accent: #ff7a45;
  --accent-ink: #140803;      /* texto sobre el acento */
  --accent-text: #ff7a45;     /* acento usado como texto */
  --accent-2: #ff3d7f;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .65);
  --mesh-a: rgba(255, 122, 69, .20);
  --mesh-b: rgba(255, 61, 127, .16);

  --f-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --r: 20px;
  --r-sm: 12px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f6f5f0;
  --bg-2: #efeee7;
  --surface: #ffffff;
  --surface-2: #f3f2ec;
  --line: rgba(10, 10, 12, .08);
  --line-2: rgba(10, 10, 12, .16);
  --text: #0e0e11;
  --muted: #5d5d66;
  --accent: #ff7a45;
  --accent-ink: #140803;
  --accent-text: #c2410c;
  --accent-2: #e11d63;
  --shadow: 0 30px 70px -25px rgba(20, 20, 40, .25);
  --mesh-a: rgba(255, 122, 69, .26);
  --mesh-b: rgba(255, 61, 127, .14);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.35em; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px rgba(255, 122, 69, .55); }
.btn--accent:hover { box-shadow: 0 16px 40px -12px rgba(255, 122, 69, .75); }
.btn--ghost { border-color: var(--line-2); background: color-mix(in srgb, var(--surface) 60%, transparent); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { padding: .6em 1.1em; font-size: .88rem; }
.btn--lg { padding: 1em 1.6em; font-size: 1rem; }
.btn .ico { width: 18px; height: 18px; fill: currentColor; }
.arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arrow, .channel:hover .arrow { transform: translate(3px, -3px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; font-size: 1.05rem; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--f-serif); font-style: italic; font-size: 1.35rem; line-height: 1;
}
.brand__name em { color: var(--muted); }
.nav__links { display: flex; gap: 30px; font-size: .93rem; color: var(--muted); }
.nav__links a { position: relative; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__tools { display: flex; align-items: center; gap: 8px; }
.tool {
  height: 38px; min-width: 38px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 2px;
  transition: border-color .2s, background-color .2s;
}
.tool:hover { border-color: var(--text); }
.lang { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .04em; }
.lang span { color: var(--muted); transition: color .2s; }
.lang__sep { opacity: .4; margin: 0 2px; }
html[lang="es"] .lang [data-lang="es"], html[lang="en"] .lang [data-lang="en"] { color: var(--text); font-weight: 500; }
.theme svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme .i-moon { display: none; }
[data-theme="light"] .theme .i-sun { display: none; }
[data-theme="light"] .theme .i-moon { display: block; }
.burger { display: none; flex-direction: column; gap: 5px; }
.burger span { display: block; width: 16px; height: 1.6px; background: currentColor; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
.mobile {
  display: flex; flex-direction: column; gap: 4px; padding: 12px var(--gutter) 24px;
  background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.mobile[hidden] { display: none; }
.mobile a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
.mobile .btn { margin-top: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 140px 0 0; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.mesh { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.mesh--a { width: 620px; height: 620px; background: var(--mesh-a); top: -180px; right: -120px; animation: drift 18s ease-in-out infinite alternate; }
.mesh--b { width: 540px; height: 540px; background: var(--mesh-b); bottom: -160px; left: -160px; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.12); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; flex: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px;
  padding: 7px 14px 7px 12px; border: 1px solid var(--line-2); border-radius: 999px;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .02em; color: var(--muted);
  background: color-mix(in srgb, var(--surface) 50%, transparent);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); animation: blink 2.4s infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 8px transparent; } }
.hero__title {
  font-size: clamp(2.7rem, 6.4vw, 5.6rem); line-height: .98; letter-spacing: -.045em;
  font-weight: 600; margin: 0 0 26px;
}
.hero__title em { color: var(--accent-text); letter-spacing: -.02em; }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); max-width: 33em; margin: 0 0 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 52px; }
.hero__facts { list-style: none; padding: 26px 0 0; margin: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 32px; border-top: 1px solid var(--line); max-width: 560px; }
.hero__facts li { display: flex; flex-direction: column; gap: 4px; }
.hero__facts strong { font-size: 1.5rem; letter-spacing: -.03em; font-weight: 600; }
.hero__facts span { font-size: .84rem; color: var(--muted); line-height: 1.35; }

/* composición visual */
.hero__visual { position: relative; height: 540px; perspective: 1400px; }
.window {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: var(--shadow); overflow: hidden;
  transform-style: preserve-3d; transition: transform .5s var(--ease);
}
.window__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.window__bar i:first-child { background: #ff5f57; } .window__bar i:nth-child(2) { background: #febc2e; } .window__bar i:nth-child(3) { background: #28c840; }
.window__bar span { margin-left: 10px; font-family: var(--f-mono); font-size: .7rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window--main { position: absolute; top: 30px; left: 0; right: 30px; }

.dash { display: grid; grid-template-columns: 56px 1fr; height: 380px; }
.dash__side { border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.dash__logo { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); margin-bottom: 10px; }
.dash__side span { width: 26px; height: 6px; border-radius: 4px; background: var(--line-2); }
.dash__side span.on { background: var(--text); }
.dash__main { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.dash__head { display: flex; justify-content: space-between; align-items: center; }
.dash__head b { width: 40%; height: 12px; border-radius: 6px; background: var(--text); opacity: .85; }
.dash__head em { width: 70px; height: 22px; border-radius: 999px; background: var(--accent); }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash__kpis div { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: var(--bg-2); }
.dash__kpis small { width: 55%; height: 5px; border-radius: 3px; background: var(--line-2); }
.dash__kpis strong { width: 70%; height: 12px; border-radius: 4px; background: var(--text); opacity: .8; }
.dash__kpis u { display: block; height: 4px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
.dash__kpis u::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--accent); border-radius: 3px; }
.dash__chart { flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 10px 0 0; overflow: hidden; background: var(--bg-2); }
.dash__chart svg { width: 100%; height: 100%; }
.dash__chart .line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.dash__rows { display: grid; gap: 7px; }
.dash__rows span { height: 8px; border-radius: 4px; background: var(--line); }
.dash__rows span:nth-child(2) { width: 80%; } .dash__rows span:nth-child(3) { width: 60%; }

.chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: .85rem; line-height: 1.25;
}
.chip b { display: block; font-weight: 600; }
.chip small { color: var(--muted); font-size: .76rem; }
.chip__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.chip__ico--alt { background: color-mix(in srgb, var(--accent-2) 25%, transparent); }
.chip--a { top: 0; right: -6px; }
.chip--b { bottom: 70px; left: -28px; }
.phone {
  position: absolute; right: -10px; bottom: 0; width: 150px; height: 300px;
  border-radius: 28px; padding: 8px; background: #050506; border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.phone__notch { position: absolute; top: 12px; left: 50%; width: 46px; height: 12px; border-radius: 10px; background: #000; transform: translateX(-50%); z-index: 2; }
.phone__screen { height: 100%; border-radius: 21px; background: var(--surface); padding: 30px 12px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.ph-hero { height: 90px; border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.ph-line { height: 7px; border-radius: 4px; background: var(--text); opacity: .7; }
.ph-line.short { width: 60%; opacity: .3; }
.ph-btn { height: 24px; width: 70%; border-radius: 999px; background: var(--accent); margin: 4px 0; }
.ph-card { height: 34px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); }

.float { animation: float 6s ease-in-out infinite; }
.float--slow { animation-duration: 7.5s; animation-delay: -2s; }
.float--slower { animation-duration: 9s; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* marquee */
.marquee { position: relative; margin-top: 80px; border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2.1rem); padding: 0 28px; white-space: nowrap; color: var(--muted); display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: "✦"; font-style: normal; font-size: .7em; color: var(--accent-text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- secciones ---------- */
.section { padding: clamp(90px, 12vw, 160px) 0; position: relative; }
.section--alt { background: var(--bg-2); }
.sec-head { max-width: 860px; margin-bottom: clamp(48px, 7vw, 90px); }
.kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kicker span:first-child { color: var(--accent-text); }
.kicker span:first-child::after { content: ""; display: inline-block; width: 36px; height: 1px; background: var(--line-2); vertical-align: middle; margin-left: 14px; }
.sec-title { font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 1.03; letter-spacing: -.04em; font-weight: 600; margin: 0 0 22px; }
.sec-title em { color: var(--accent-text); }
.sec-lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--muted); max-width: 40em; margin: 0; }

/* ---------- productos ---------- */
.product {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center;
  padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line);
}
.product:last-child { border-bottom: 1px solid var(--line); }
.product--flip .product__info { order: 2; }
.tag { display: inline-block; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); margin-bottom: 20px; }
.product__name { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.04em; line-height: 1; margin: 0 0 18px; font-weight: 600; }
.product__name em { color: var(--accent-text); }
.product__desc { color: var(--muted); margin: 0 0 24px; max-width: 32em; }
.checks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23140803' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.product__visual { perspective: 1400px; }

.mock { height: 330px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
/* barber */
.mb-hero { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 14px; background: linear-gradient(120deg, #1a1410, #2a1d14); color: #f3e7d7; }
[data-theme="light"] .mb-hero { background: linear-gradient(120deg, #2a1d14, #4a3322); }
.mb-pole { width: 18px; height: 70px; border-radius: 9px; background: repeating-linear-gradient(135deg, #e63946 0 8px, #fff 8px 16px, #1d4ed8 16px 24px, #fff 24px 32px); background-size: 100% 200%; animation: pole 3s linear infinite; }
@keyframes pole { to { background-position: 0 -64px; } }
.mb-hero div { flex: 1; display: grid; gap: 8px; }
.mb-hero b { height: 14px; width: 60%; border-radius: 4px; background: #f3e7d7; }
.mb-hero em { height: 7px; width: 80%; border-radius: 4px; background: rgba(243, 231, 215, .35); }
.mb-hero i { height: 24px; width: 110px; border-radius: 999px; background: #d4a373; }
.mb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mb-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 7px; background: var(--bg-2); }
.mb-card span { font-size: 1.2rem; }
.mb-card b { height: 8px; width: 70%; border-radius: 4px; background: var(--text); opacity: .75; }
.mb-card small { height: 6px; width: 45%; border-radius: 4px; background: #d4a373; }
.mb-slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.mb-slots span { height: 30px; border-radius: 8px; border: 1px solid var(--line-2); }
.mb-slots span.on { background: #d4a373; border-color: #d4a373; }
/* gym */
.mock--gym { background: linear-gradient(160deg, var(--surface), var(--bg-2)); }
.mg-top { display: flex; justify-content: space-between; align-items: center; }
.mg-top b { font-weight: 700; letter-spacing: .3em; font-size: .9rem; }
.mg-top span { width: 80px; height: 24px; border-radius: 999px; background: #e11d48; }
.mg-rings { display: flex; align-items: center; gap: 24px; }
.mg-rings svg { width: 130px; height: 130px; transform: rotate(-90deg); flex: none; }
.r-bg { fill: none; stroke: var(--line-2); stroke-width: 10; }
.r-fg { fill: none; stroke: #e11d48; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: calc(314 * (1 - var(--p))); }
.r-fg--2 { stroke: var(--accent); stroke-dasharray: 226; stroke-dashoffset: calc(226 * (1 - var(--p))); }
.mg-stats { display: grid; gap: 8px; flex: 1; }
.mg-stats b { height: 18px; width: 60%; border-radius: 4px; background: var(--text); opacity: .85; }
.mg-stats small { height: 7px; width: 80%; border-radius: 4px; background: var(--line-2); margin-bottom: 8px; }
.mg-bars { flex: 1; display: flex; align-items: flex-end; gap: 10px; padding-top: 6px; }
.mg-bars span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(to top, #e11d48, #fb7185); opacity: .9; }
/* padel */
.mock--padel { flex-direction: row; gap: 18px; }
.bracket { flex: 1.3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bracket .col { display: flex; flex-direction: column; justify-content: space-around; gap: 10px; }
.bracket span { height: 34px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg-2); position: relative; }
.bracket span::before { content: ""; position: absolute; left: 10px; top: 50%; width: 55%; height: 6px; margin-top: -3px; border-radius: 3px; background: var(--line-2); }
.bracket span.w { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.bracket span.w::before { background: var(--text); opacity: .7; }
.bracket span.gold { background: var(--accent); border-color: var(--accent); }
.bracket span.gold::before { background: var(--accent-ink); opacity: .7; }
.court { flex: 1; border-radius: 12px; background: #1f6fb2; border: 3px solid #e9f1f7; position: relative; }
[data-theme="dark"] .court { background: #1b5f99; }
.court::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; background: #e9f1f7; }
.court::after { content: ""; position: absolute; top: 22%; bottom: 22%; left: 50%; width: 3px; background: #e9f1f7; margin-left: -1.5px; }
.court i { position: absolute; left: 0; right: 0; height: 3px; background: #e9f1f7; }
.court i:first-child { top: 22%; } .court i:last-child { bottom: 22%; }

/* complejos */
.mock--complex { gap: 12px; }
.mc-tabs { display: flex; gap: 8px; }
.mc-tabs span { font-size: .72rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.mc-tabs span.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.mc-grid { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 1fr); gap: 6px; }
.mc-grid span { border-radius: 7px; border: 1px solid var(--line); background: var(--bg-2); }
.mc-grid span.t { background: color-mix(in srgb, var(--text) 14%, transparent); border-color: transparent; }
.mc-grid span.me { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.mc-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mc-chip { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); line-height: 1.2; }
.mc-chip b { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: .8rem; }
.mc-chip--alt b { background: color-mix(in srgb, var(--accent-2) 22%, transparent); }
.mc-chip strong { display: block; font-size: .74rem; font-weight: 600; }
.mc-chip small { font-size: .66rem; color: var(--muted); }

/* ---------- servicios ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.svc {
  position: relative; padding: 30px 26px 34px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s;
}
.svc:hover { transform: translateY(-6px); border-color: var(--line-2); }
.svc__n { font-family: var(--f-mono); font-size: .76rem; color: var(--accent-text); }
.svc h3 { font-size: 1.32rem; letter-spacing: -.025em; margin: 56px 0 10px; font-weight: 600; }
.svc p { margin: 0; color: var(--muted); font-size: .96rem; }
/* luz que sigue al mouse */
.spot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%);
}
.spot:hover::before { opacity: 1; }

.sectors { margin-top: 64px; display: flex; gap: 28px; align-items: baseline; flex-wrap: wrap; }
.sectors__label { margin: 0; font-family: var(--f-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sectors ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sectors li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .92rem; transition: background-color .25s, color .25s, border-color .25s; }
.sectors li:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- proceso ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; border-top: 1px solid var(--line); }
.step { padding: 36px 28px 10px 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--accent); transition: width 1.1s var(--ease); }
.step.is-in::before { width: 100%; }
.step__n { font-family: var(--f-serif); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--accent-text); }
.step h3 { font-size: 1.3rem; margin: 22px 0 10px; letter-spacing: -.02em; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- global ---------- */
.global { background: var(--bg-2); overflow: hidden; }
.global__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.pills { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .92rem; }
.globe { color: var(--text); max-width: 440px; justify-self: center; width: 100%; }
.globe__lines { transform-origin: 200px 200px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.globe__arc { animation: dash 2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.pulse { opacity: .3; transform-origin: 175px 300px; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: .5; } to { transform: scale(2); opacity: 0; } }
.globe__lbl { font-family: var(--f-mono); font-size: 13px; fill: currentColor; }

/* ---------- contacto ---------- */
.contact__box {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(40px, 7vw, 90px);
  background: var(--surface); border: 1px solid var(--line-2);
}
.contact__glow { position: absolute; width: 700px; height: 700px; right: -260px; top: -320px; border-radius: 50%; background: radial-gradient(circle, var(--mesh-a), transparent 65%); pointer-events: none; }
.contact__title { position: relative; font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: 1; letter-spacing: -.045em; font-weight: 600; margin: 0 0 22px; max-width: 14em; }
.contact__title em { color: var(--accent-text); }
.channels { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.channel {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px;
  padding: 20px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--bg-2);
  transition: border-color .25s, transform .3s var(--ease);
}
.channel:hover { border-color: var(--accent); transform: translateY(-3px); }
.channel__ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.channel__ico svg { width: 22px; height: 22px; fill: currentColor; }
.channel__ico svg[fill="none"] { fill: none; }
.channel__txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.channel__txt small { font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.channel__txt b { font-weight: 600; font-size: .98rem; overflow-wrap: anywhere; }
.channel .arrow { color: var(--muted); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0 110px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.footer p { margin: 0; }
.footer .brand { color: var(--text); }

/* ---------- animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.tilt { will-change: transform; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
  .channels { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: inline-flex; }
  .hero { padding-top: 116px; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { height: 440px; max-width: 560px; width: 100%; margin: 0 auto; }
  .product, .global__inner { grid-template-columns: 1fr; }
  .product--flip .product__info { order: 0; }
  .globe { max-width: 320px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .eyebrow { font-size: .64rem; letter-spacing: 0; }
  .hero__facts { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .hero__facts strong { font-size: 1.15rem; }
  .hero__facts span { font-size: .74rem; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__visual { height: 360px; }
  .window--main { right: 0; }
  .dash { height: 290px; grid-template-columns: 44px 1fr; }
  .dash__main { padding: 12px; gap: 10px; }
  .phone { width: 112px; height: 224px; right: -4px; border-radius: 22px; }
  .ph-hero { height: 60px; }
  .chip { font-size: .76rem; padding: 9px 12px 9px 9px; }
  .chip__ico { width: 28px; height: 28px; }
  .chip--a { right: 0; top: -6px; }
  .chip--b { left: -4px; bottom: 40px; }
  .services, .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 8px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); margin-top: 0; }
  .mock { height: 280px; padding: 14px; }
  .mg-rings svg { width: 100px; height: 100px; }
  .contact__box { border-radius: 24px; padding: 36px 20px; }
  .product .btn { width: 100%; }
}

/* Solo se apagan los efectos intrusivos (movimiento continuo grande).
   Hover, fundidos y tilt siguen activos. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation-duration: 120s; }
  .mesh, .globe__lines { animation: none; }
}
