/* Macrobit Soluciones SAS: hoja de estilos del sitio */
:root {
  --font: "Manrope", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ink: #0a0e15;
  --ink-2: #141b27;
  --paper: #f3f4f0;
  --white: #ffffff;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  --radius: 26px;
  --bad: #ff6464;
  --acc-d: #55a9f5;
  --acc-l: #0068b3;
  --wa: #25d366;
  color-scheme: light;
}
.c-marca { --acc-d: #55a9f5; --acc-l: #0068b3; }
.c-redes { --acc-d: #4be3a5; --acc-l: #00794f; }
.c-servidores { --acc-d: #ffc04d; --acc-l: #8a5600; }
.c-nube { --acc-d: #62c6ff; --acc-l: #00659a; }
.c-web { --acc-d: #ff9270; --acc-l: #bb3f18; }
.c-ia { --acc-d: #bda8ff; --acc-l: #6442d0; }
.c-seguridad { --acc-d: #ff6f91; --acc-l: #bb1c49; }
.c-peritajes { --acc-d: #cfe04d; --acc-l: #596400; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55;
  font-weight: 500; color: #12161d; background: var(--white);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--acc-l); outline-offset: 3px; border-radius: 4px; }
.t-dark :focus-visible { outline-color: var(--acc-d); }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* Superficies */
.t-dark { background: var(--ink); color: #f1f3ef; --acc: var(--acc-d); --muted: #a6afbc; --n-bg: #161e2b; --n-line: #2e3a4c; --n-text: #e9edf2; --wire: #3d4c62; --card: #151c28; --hair: #262f3e; }
.t-light { background: var(--paper); color: #12161d; --acc: var(--acc-l); --muted: #565e6b; --n-bg: #fff; --n-line: #d3d7d0; --n-text: #1b2029; --wire: #b0b7c1; --card: #fff; --hair: #dcdfd8; }
.t-white { background: var(--white); color: #12161d; --acc: var(--acc-l); --muted: #565e6b; --n-bg: #f3f4f0; --n-line: #d3d7d0; --n-text: #1b2029; --wire: #b0b7c1; --card: #f3f4f0; --hair: #e3e5df; }

/* Navegación global */
.gnav { border-bottom: 1px solid rgba(0, 0, 0, .08); background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); color: #1d232c; position: relative; z-index: 50; font-size: 13.5px; }
.is-home .gnav { position: sticky; top: 0; }
.gnav__in { display: flex; align-items: stretch; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 42px; width: auto; display: block; }
.gnav__list { display: flex; align-items: stretch; gap: 2px; }
.gnav__list > li { display: flex; }
.gnav__list > li > a { display: flex; align-items: center; padding: 0 12px; color: #3e4552; font-weight: 600; transition: color .2s; }
.gnav__list > li > a:hover, .gnav__list > li > a[aria-current] { color: var(--acc-l); }
.fly { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid #e6e8e3; box-shadow: 0 24px 40px rgba(10, 14, 21, .12); padding: 34px 0 44px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.fly__in { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.fly__t { font-size: 12.5px; color: #5f6773; margin-bottom: 8px; }
.fly__cat { font-size: 26px; font-weight: 700; letter-spacing: -.025em; color: #12161d; line-height: 1.15; display: block; }
.fly__links { columns: 2; column-gap: 40px; }
.fly__links a { display: block; font-size: 17px; font-weight: 600; color: #12161d; padding: 6px 0; break-inside: avoid; }
.fly__links a:hover { color: var(--acc-l); }
@media (hover: hover) { .has-fly:hover .fly { opacity: 1; visibility: visible; transform: none; } }
.has-fly:focus-within .fly { opacity: 1; visibility: visible; transform: none; }
.burger { display: none; background: none; border: 0; color: #12161d; font: inherit; font-size: 16px; font-weight: 700; min-height: 44px; margin: auto -8px auto 0; padding: 0 8px; cursor: pointer; }

/* Navegación local */
.lnav { position: sticky; top: 0; z-index: 40; background: rgba(243, 244, 240, .86); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid rgba(0, 0, 0, .08); --acc: var(--acc-l); }
.lnav__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; }
.lnav__t { font-size: 19px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.lnav__r { display: flex; align-items: center; gap: 20px; min-width: 0; }
.lnav__links { display: flex; gap: 20px; font-size: 13.5px; color: #3e4552; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.lnav__links::-webkit-scrollbar { display: none; }
.lnav__links a { padding: 6px 0; }
.lnav__links a:hover { color: var(--acc); }
.lnav__links a[aria-current] { color: var(--acc); font-weight: 700; }

/* Botones y enlaces */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border-radius: 999px; background: var(--acc); color: #06120d; font-weight: 700; font-size: 16px; border: 0; cursor: pointer; font-family: inherit; transition: filter .2s, transform .2s; }
.t-light .btn, .t-white .btn { color: #fff; }
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn--s { min-height: 32px; padding: 0 14px; font-size: 13px; color: #fff; white-space: nowrap; }
.go { color: var(--acc); font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.go::after { content: "›"; margin-left: 6px; font-size: 1.25em; line-height: 1; transition: transform .2s; }
.go:hover::after { transform: translateX(3px); }
.acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px; }

.btn.btn--wa { background: var(--wa); color: #06120d; gap: 9px; }
.btn--wa svg { width: 20px; height: 20px; flex: none; }
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--wa); color: #06120d; font-weight: 800; box-shadow: 0 10px 28px rgba(10, 14, 21, .28); transition: transform .2s; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }

/* Héroe */
.hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); text-align: center; overflow: hidden; }
.eyebrow { color: var(--acc); font-weight: 700; font-size: clamp(16px, 1.6vw, 20px); letter-spacing: -.01em; margin-bottom: 12px; }
h1 { font-size: clamp(2.4rem, 5.8vw, 4.5rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 800; max-width: 17em; margin-inline: auto; text-wrap: balance; }
.lede { color: var(--muted); font-size: clamp(1.15rem, 2.1vw, 1.55rem); line-height: 1.32; letter-spacing: -.015em; font-weight: 600; max-width: 34em; margin: 20px auto 28px; text-wrap: balance; }
.hero__art { margin: clamp(32px, 5vw, 60px) auto 0; width: min(100%, 760px); }
.hero__art--iso { width: min(100%, 560px); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.chips a { --acc: var(--acc-d); border: 1px solid #2c3647; border-radius: 999px; padding: 9px 16px; font-size: 14.5px; font-weight: 700; color: #e6e9ee; display: inline-flex; gap: 9px; align-items: center; transition: border-color .2s; }
.chips a::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--acc); }
.chips a:hover { border-color: var(--acc); }

/* Secciones */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec__h { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.07; letter-spacing: -.035em; font-weight: 800; max-width: 18em; text-wrap: balance; }
.sec__h--c { text-align: center; margin-inline: auto; }
.sec__p { color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.38; font-weight: 600; margin-top: 14px; max-width: 34em; }
.sec__p--c { text-align: center; margin-inline: auto; }

/* Mosaico de categorías */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 12px; background: var(--white); }
.tile { border-radius: var(--radius); padding: clamp(40px, 5vw, 64px) clamp(20px, 3vw, 44px) clamp(28px, 3vw, 40px); text-align: center; display: flex; flex-direction: column; overflow: hidden; }
.tile--w { grid-column: 1 / -1; }
.tile h2, .tile h3.tt { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.tile p { color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.25rem); line-height: 1.35; font-weight: 600; margin: 10px auto 8px; max-width: 26em; text-wrap: balance; }
.tile .art { margin: auto auto 0; padding-top: 28px; width: min(100%, 560px); }
.tile--w .art { width: min(100%, 700px); }

/* Tarjetas de características */
.grid6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: clamp(32px, 5vw, 56px); }
.card { background: var(--card); border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); grid-column: span 2; display: flex; flex-direction: column; min-height: 250px; }
.card--4 { grid-column: span 4; }
.card--3 { grid-column: span 3; }
.card .ic { width: 42px; height: 42px; color: var(--acc); margin-bottom: auto; }
.card h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.14; letter-spacing: -.025em; font-weight: 800; margin-top: 44px; text-wrap: balance; }
.card--4 h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); max-width: 14em; }
.card p { color: var(--muted); margin-top: 8px; font-weight: 500; max-width: 32em; }

/* Lista de usos */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.uses li { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.26; letter-spacing: -.02em; font-weight: 700; padding: 22px 0; border-top: 1px solid var(--hair); }
.uses li:last-child { border-bottom: 1px solid var(--hair); }

/* Preguntas frecuentes */
.faq { margin-top: clamp(28px, 4vw, 48px); max-width: 860px; }
.faq details { border-top: 1px solid var(--hair); }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-size: clamp(1.08rem, 1.8vw, 1.35rem); font-weight: 700; letter-spacing: -.018em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5em; line-height: 1; font-weight: 500; color: var(--acc); flex: none; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding: 0 40px 24px 0; }

/* Relacionados y directorio */
.rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
.rel a { background: var(--card); border-radius: 20px; padding: 26px; display: block; transition: transform .25s; }
.rel a:hover { transform: translateY(-3px); }
.rel .ic { width: 30px; height: 30px; color: var(--acc); margin-bottom: 26px; }
.rel h3 { font-size: 1.28rem; letter-spacing: -.02em; line-height: 1.18; font-weight: 800; }
.rel p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
.dir { padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--hair); margin-top: clamp(32px, 4vw, 48px); }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: clamp(32px, 5vw, 56px); counter-reset: s; }
.steps li { border-top: 2px solid var(--acc); padding-top: 18px; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); color: var(--acc); font-size: 15px; font-weight: 800; }
.steps h3 { font-size: 1.4rem; letter-spacing: -.025em; font-weight: 800; margin-top: 18px; }
.steps p { color: var(--muted); margin-top: 6px; }

/* Llamado final */
.cta { text-align: center; }
.cta .sec__h { margin-inline: auto; }
.cta .lede { margin-bottom: 26px; }

/* Contacto */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.way { background: var(--card); border-radius: 20px; padding: 26px; display: block; }
.way span { color: var(--muted); font-size: 15px; display: block; margin-bottom: 4px; }
.way--wa b { color: #0a7a3b; }
.way b { font-size: clamp(1.2rem, 2.4vw, 1.6rem); letter-spacing: -.02em; font-weight: 800; color: var(--acc); overflow-wrap: anywhere; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 700; }
.f--w { grid-column: 1 / -1; }
.f input, .f select, .f textarea { font: inherit; font-weight: 500; font-size: 17px; padding: 13px 14px; border-radius: 12px; border: 1px solid #c3c8c0; background: #fff; color: #12161d; width: 100%; }
.f textarea { min-height: 150px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 2px solid var(--acc); outline-offset: 0; border-color: transparent; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.chk input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--acc); }
.chk a { color: var(--acc); font-weight: 700; text-decoration: underline; }
.form__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.note { color: var(--muted); font-size: 14.5px; grid-column: 1 / -1; }

/* Documento legal */
.legal { max-width: 780px; margin-inline: auto; }
.legal h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.16; letter-spacing: -.025em; font-weight: 800; margin: 48px 0 12px; text-wrap: balance; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.12rem; letter-spacing: -.012em; font-weight: 800; margin: 22px 0 6px; }
.legal p { margin: 10px 0; color: #333a45; }
.legal ul { list-style: disc; padding-left: 22px; margin: 10px 0; color: #333a45; }
.legal li { margin: 6px 0; }
.legal a { color: var(--acc); font-weight: 700; }
.pend { background: #fff0b3; color: #4a3a00; padding: 1px 6px; border-radius: 5px; font-weight: 700; }

/* Pie de página */
.migas { background: var(--paper); color: #565e6b; font-size: 13.5px; padding-top: 28px; }
.migas + .foot { padding-top: 0; }
.foot { background: var(--paper); color: #565e6b; font-size: 13.5px; padding: 28px 0 92px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; padding-bottom: 18px; border-bottom: 1px solid #d9dcd5; margin-bottom: 28px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: #99a0a9; }
.crumbs a:hover { text-decoration: underline; }
.foot__cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 20px; }
.foot__t { display: block; font-weight: 800; color: #12161d; margin-bottom: 8px; }
.foot__cols li { padding: 4px 0; }
.foot__cols a:hover { color: #12161d; text-decoration: underline; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; border-top: 1px solid #d9dcd5; margin-top: 30px; padding-top: 18px; }
.foot__base a { font-weight: 700; color: #12161d; }
.foot__base div { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* Diagramas */
.dg { width: 100%; height: auto; overflow: visible; }
.dg text { font-family: var(--font); font-size: 20px; font-weight: 700; letter-spacing: -.01em; fill: var(--n-text); text-anchor: middle; }
.dg .zl { font-size: 16px; fill: var(--muted); }
.dg .z { fill: none; stroke: var(--n-line); stroke-width: 1.5; stroke-dasharray: 3 7; stroke-linecap: round; }
.dg .n rect { fill: var(--n-bg); stroke: var(--n-line); stroke-width: 1.5; }
.dg .ni { fill: none; stroke: var(--n-text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dg .e rect { stroke: var(--acc); stroke-width: 2.5; }
.dg .e .ni { stroke: var(--acc); }
.dg .b rect { stroke: var(--bad); stroke-width: 2; }
.dg .b .ni { stroke: var(--bad); }
.dg .w { fill: none; stroke: var(--wire); stroke-width: 2; }
.dg .fl { fill: none; stroke: var(--acc); stroke-width: 2.5; stroke-dasharray: 5 11; stroke-linecap: round; animation: flow 1.15s linear infinite; }
.dg .bl { fill: none; stroke: var(--bad); stroke-width: 2.5; stroke-dasharray: 5 11; stroke-linecap: round; animation: flow 1.15s linear infinite; }
.dg .xc { fill: var(--bad); }
.dg .xm { stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
@keyframes flow { to { stroke-dashoffset: -32; } }

/* Pila isométrica */
.iso { width: 100%; height: auto; }
.iso .pl { animation: bob 7s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); }
.iso .dim { opacity: .2; }
@keyframes bob { 50% { transform: translateY(-7px); } }

/* Aparición al desplazar */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .burger { display: flex; align-items: center; }
  .gnav__list { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; padding: 8px var(--gutter) 24px; gap: 0; height: calc(100dvh - 64px); overflow-y: auto; }
  .gnav.open .gnav__list { display: flex; }
  .gnav__list > li > a { font-size: 26px; font-weight: 700; letter-spacing: -.025em; color: #12161d; padding: 12px 0; }
  .fly { display: none; }
}
@media (max-width: 960px) {
  .foot__cols { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .lnav__links { display: none; }
  .lnav.has-links .lnav__in { flex-wrap: wrap; padding-top: 8px; gap: 2px 16px; }
  .lnav.has-links .lnav__links { display: flex; order: 3; width: 100%; padding-bottom: 6px; min-height: 40px; align-items: center; }
  .lnav.has-links .lnav__r { display: contents; }
}
@media (max-width: 720px) {
  .tiles { grid-template-columns: 1fr; padding: 8px; gap: 8px; }
  .card, .card--3, .card--4 { grid-column: 1 / -1; min-height: 0; }
  .card h3, .card--4 h3 { margin-top: 28px; font-size: 1.45rem; }
  .split, .rel, .ways, .form { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot { padding-bottom: 92px; }
  .logo img { height: 36px; }
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
  .form__acts .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
@media (max-width: 480px) {
  .lnav .btn--s { display: none; }
}
