/* ==========================================================================
   Einteractivo · Landing + acceso
   Estética editorial: papel cuadriculado, tinta negra, azul corporativo y
   acentos rojo-violeta del isotipo oficial.
   ========================================================================== */

:root {
  --paper: #f4f1e8;
  --paper-2: #faf8f1;
  --white: #fffdf7;
  --ink: #0c0c0c;
  --ink-2: #242424;
  --muted: #5f5b51;
  --line: rgba(12, 12, 12, .16);
  --line-soft: rgba(12, 12, 12, .09);
  --blue: #032f87;
  --blue-soft: #e7ebf7;
  --accent: #ed3237;
  --accent-soft: #ffd8de;
  --accent-light: #ff8d9a;
  --brand-purple: #7b3f9e;
  --brand-gradient: linear-gradient(135deg, #ed3237 0%, #b83a77 52%, #7b3f9e 100%);
  --highlight: linear-gradient(100deg, #ffb3bd 0%, #efb6d0 50%, #d8c4ef 100%);
  --green: #0a8f4c;
  --mono: ui-monospace, "Cascadia Code", "Cascadia Mono", Consolas, "Courier New", monospace;
  --sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.site,
body.auth-page {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(12, 12, 12, .052) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12, 12, 12, .052) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; }
img, svg { display: block; max-width: 100%; }
.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
a { color: inherit; }
button { font-family: inherit; }

::selection { background: var(--accent-soft); color: var(--ink); }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--mono);
  font-size: 10px;
  transform: translateY(-160%);
  transition: transform .15s;
}
.skip-link:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.mono {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}

.mark {
  position: relative;
  display: inline-block;
  z-index: 0;
  white-space: nowrap;
}
.mark::before {
  content: "";
  position: absolute;
  left: -.035em;
  right: -.045em;
  bottom: .035em;
  height: .31em;
  z-index: -1;
  background: var(--highlight);
  clip-path: polygon(0 14%, 100% 0, 99.2% 90%, .8% 100%);
  transform: rotate(-.8deg);
}

.mark-dark {
  display: inline-block;
  padding: 0 .07em;
  background: var(--highlight);
  color: var(--ink);
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn .icon { width: 16px; height: 16px; }
.btn .arrow { font-size: 16px; line-height: 1; font-weight: 500; }

.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--blue); border-color: var(--blue); box-shadow: 4px 4px 0 var(--ink); }
.btn-outline { background: var(--white); }
.btn-yellow { background: var(--brand-gradient); border-color: var(--accent); color: #fff; }
.btn-yellow:hover { border-color: var(--accent); box-shadow: 4px 4px 0 var(--white); }
.btn-outline-light { background: transparent; border-color: rgba(255, 253, 247, .55); color: var(--paper); }
.btn-outline-light:hover { border-color: var(--accent-light); color: var(--accent-light); box-shadow: 4px 4px 0 rgba(237, 50, 55, .25); }
.btn-header { height: 42px; padding: 0 15px; font-size: 12px; }
.cta-short { display: none; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 241, 232, .93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { border-bottom-color: var(--ink); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
}
.brand-logo {
  display: block;
  width: auto;
  height: 34px;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding-bottom: 3px;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--sans);
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.1em;
}
.brand-word {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.055em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.site-nav > a {
  position: relative;
  padding: 4px 0;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
}
.site-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--blue);
  transition: right .18s ease;
}
.site-nav > a:hover { color: var(--blue); }
.site-nav > a:hover::after { right: 0; }
.nav-access { display: none; }

.header-actions { margin-left: 2px; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 2px solid var(--ink);
  background: var(--white);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  background: var(--ink);
  transition: transform .18s ease, opacity .18s ease;
}
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding: 42px 0 0; }

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
}
.kicker-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.kicker-light .mono { color: var(--accent-light); }
.kicker-light .kicker-line { background: rgba(255, 253, 247, .18); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: 48px;
  align-items: center;
  margin-top: 26px;
}

.hero h1 {
  max-width: 840px;
  font-size: clamp(38px, 7vw, 84px);
  font-weight: 900;
  line-height: .93;
  letter-spacing: -.068em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 570px;
  margin-top: 26px;
  color: #38362f;
  font-size: 16.5px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

/* Ilustración del hero */

.hero-art {
  position: relative;
  min-height: 430px;
  align-self: stretch;
}

.art-square {
  position: absolute;
  top: 10px;
  right: -18px;
  width: 330px;
  height: 330px;
  background-color: var(--blue);
  background-image: radial-gradient(rgba(255, 255, 255, .28) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  transform: rotate(6deg);
}

.art-star {
  position: absolute;
  top: -18px;
  right: 4px;
  width: 58px;
  height: 58px;
  color: var(--accent);
  transform: rotate(14deg);
  filter: drop-shadow(3px 3px 0 var(--ink));
  z-index: 1;
}

.browser-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 430px;
  margin: 48px auto 0 0;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(-1.4deg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.browser-card:hover { transform: rotate(0) translateY(-4px); box-shadow: 14px 16px 0 var(--ink); }

.browser-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 33px;
  padding: 0 10px;
  background: var(--ink);
  color: var(--paper);
}
.browser-dots { display: flex; gap: 4px; }
.browser-dots i { width: 6px; height: 6px; background: rgba(255, 253, 247, .5); }
.browser-dots i:nth-child(1) { background: var(--accent); }
.browser-dots i:nth-child(2) { background: var(--blue); }
.browser-url {
  margin-left: 4px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .05em;
  color: rgba(255, 253, 247, .55);
}
.browser-live {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 8px;
  color: #8ef0b4;
  letter-spacing: .05em;
}
.browser-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #37e27a;
  box-shadow: 0 0 0 2px rgba(55, 226, 122, .2);
}

.browser-body { padding: 18px 18px 15px; font-family: var(--mono); }
.term-line {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.4;
}
.term-prompt { color: var(--blue); font-weight: 700; margin-right: 5px; }
.term-dim { margin-top: 11px; color: #8b877b; font-size: 8.5px; }

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 12px;
  border: 1px solid var(--line);
  background: var(--line);
}
.status-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 10px;
  background: var(--white);
}
.status-cell span { color: #8b877b; font-size: 7.5px; letter-spacing: .1em; }
.status-cell strong {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
  margin-top: 14px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
}
.bar-chart i {
  flex: 1;
  height: var(--h);
  background: var(--blue);
}
.bar-chart i:nth-child(even) { background: var(--accent); }
.cursor-blink {
  display: inline-block;
  width: 7px;
  height: 12px;
  margin-left: 3px;
  background: var(--ink);
  animation: blink 1.1s steps(1) infinite;
}

.art-sticker {
  position: absolute;
  left: -12px;
  bottom: 8px;
  z-index: 3;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.3;
  text-align: center;
  letter-spacing: .06em;
  text-transform: uppercase;
  transform: rotate(-8deg);
  box-shadow: 4px 4px 0 var(--ink);
}
.art-sticker strong {
  display: block;
  font-family: var(--sans);
  font-size: 18px;
  letter-spacing: -.04em;
}
.art-note {
  position: absolute;
  right: 2px;
  bottom: -4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .04em;
  transform: rotate(-2deg);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 52px;
  border: 2px solid var(--ink);
  background: var(--white);
}
.stats-strip > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 18px;
  border-left: 1px solid var(--line);
}
.stats-strip > div:first-child { border-left: 0; }
.stats-strip .mono { font-size: 8px; }
.stats-strip strong { font-size: 13.5px; font-weight: 700; letter-spacing: -.015em; }

/* --------------------------------------------------------------------------
   Marquesina
   -------------------------------------------------------------------------- */

.marquee {
  margin-top: 62px;
  padding: 10px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track > span {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 52px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track i {
  color: var(--accent);
  font-style: normal;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Secciones
   -------------------------------------------------------------------------- */

.landing-hidden { display: none !important; }

.section { padding: 104px 0 0; scroll-margin-top: 76px; }
.section-head { max-width: 860px; }
.section-head .kicker { margin-bottom: 17px; }
.section-title {
  max-width: 900px;
  font-size: clamp(36px, 5.2vw, 70px);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.062em;
  text-wrap: balance;
}
.lead {
  max-width: 620px;
  margin-top: 17px;
  color: #3c3a33;
  font-size: 15.5px;
  line-height: 1.65;
}

/* Servicios */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.service-card {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ink);
  background: var(--white);
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--ink);
}

.service-art {
  position: relative;
  height: 172px;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}
.art-web { background: var(--blue-soft); }
.art-app { background: #e1e9f9; }
.art-crm { background: #e6e0f4; }
.art-ecommerce { background: var(--accent-soft); }
.art-automation { background: #e3f0e8; }
.art-support { background: #f3ddec; }

.service-num {
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 4;
  padding: 2px 5px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
}
.art-chip {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  padding: 4px 6px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 19px 22px 21px;
}
.service-body h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.1;
}
.service-body p {
  flex: 1;
  color: #4a473f;
  font-size: 13.5px;
  line-height: 1.6;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  margin: 1px 0 3px;
}
.tags li {
  padding: 3px 6px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: #5f5b51;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding-bottom: 2px;
  border-bottom: 1.5px solid var(--ink);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
}
.text-link:hover { border-color: var(--blue); color: var(--blue); }

/* Mini ventanas de servicios */

.mini-window {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72%;
  max-width: 300px;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 6px 6px 0 rgba(12, 12, 12, .22);
  transform: translate(-50%, -50%) rotate(-2deg);
}
.mini-bar {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 15px;
  padding: 0 5px;
  background: var(--ink);
}
.mini-bar i { width: 4px; height: 4px; background: rgba(255, 253, 247, .5); }
.mini-bar i:first-child { background: var(--accent); }

.mini-web { display: flex; gap: 9px; padding: 12px; }
.mini-web-copy { display: flex; flex: 1; flex-direction: column; justify-content: center; gap: 5px; }
.mini-line { display: block; height: 5px; background: rgba(12, 12, 12, .16); }
.w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; } .w55 { width: 55%; } .w50 { width: 50%; } .w40 { width: 40%; }
.mini-btn { width: 44px; height: 12px; margin-top: 3px; border: 1px solid var(--ink); background: var(--accent); }
.mini-image {
  width: 38%;
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--blue);
  color: #fff;
  font-size: 22px;
}

.server-stack {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transform: rotate(-2deg);
}
.server {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 64%;
  max-width: 240px;
  height: 31px;
  padding: 0 8px;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 4px 4px 0 rgba(12, 12, 12, .18);
}
.server i { width: 3px; height: 10px; background: rgba(12, 12, 12, .2); }
.server-light {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 2px rgba(10, 143, 76, .15);
}

.mini-app-body { display: flex; height: 88px; }
.mini-side {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 23px;
  padding: 6px 4px;
  background: var(--ink);
}
.mini-side i { height: 3px; background: rgba(255, 253, 247, .28); }
.mini-side i:first-child { background: var(--accent); }
.mini-main { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 8px; }
.mini-kpis { display: flex; gap: 4px; }
.mini-kpis span { flex: 1; height: 16px; border: 1px solid var(--line); background: var(--paper); }
.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 40px;
  border-bottom: 1px solid var(--line);
}
.mini-bars i { flex: 1; height: var(--h); background: var(--blue); }
.mini-bars i:nth-child(odd) { background: var(--accent); }

.mini-crm-body { display: flex; flex-direction: column; gap: 5px; padding: 9px; }
.mini-crm-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.mini-crm-head .mini-line { flex: 1; }
.mini-crm-head b { color: var(--blue); font-family: var(--mono); font-size: 6.5px; letter-spacing: .04em; }
.mini-crm-kpis { display: flex; gap: 3px; }
.mini-crm-kpis span { flex: 1; height: 17px; border: 1px solid var(--line); background: var(--paper); }
.mini-crm-row { display: flex; align-items: center; gap: 5px; padding: 4px 0; border-top: 1px solid var(--line-soft); }
.mini-crm-row .mini-line { flex: 1; }
.mini-crm-row b { font-family: var(--mono); font-size: 6px; }

.flow-mock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 22px;
}
.flow-node {
  position: relative;
  z-index: 2;
  padding: 8px;
  border: 1.5px solid var(--ink);
  background: var(--white);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .02em;
  white-space: nowrap;
  box-shadow: 3px 3px 0 rgba(12, 12, 12, .15);
}
.flow-node.a { background: var(--white); }
.flow-node.b { background: var(--accent-soft); }
.flow-node.c { background: var(--blue-soft); }
.flow-arrow { color: var(--blue); font-size: 12px; font-weight: 700; }
.service-art .cart-pill { top: 10px; right: 10px; bottom: auto; }

.support-card {
  position: absolute;
  top: 24%;
  left: 11%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 64%;
  padding: 10px;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(12, 12, 12, .18);
}
.support-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--green); }
.support-card div { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.support-card strong { color: var(--green); font-family: var(--mono); font-size: 9px; }
.pulse {
  position: absolute;
  bottom: 11%;
  left: 17%;
  width: 66%;
  height: 38px;
  color: var(--ink);
  opacity: .42;
}
.pulse polyline { stroke-width: 2.5; }

/* Proyectos */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}
.project-card {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ink);
  background: var(--white);
  transition: transform .18s ease, box-shadow .18s ease;
}
.project-card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); }
.project-visual {
  position: relative;
  height: 212px;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}
.pv-calendar { background: var(--blue-soft); }
.pv-store { background: var(--accent-soft); }
.pv-portal { background: #e4e1f4; }
.project-label {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  padding: 3px 6px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .08em;
}
.project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 17px 20px 21px;
}
.project-type { font-size: 7.5px; }
.project-body h3 { font-size: 20px; font-weight: 800; line-height: 1.12; letter-spacing: -.04em; }
.project-body p { flex: 1; color: #4a473f; font-size: 13px; line-height: 1.6; }

.pv-calendar .mini-window { top: 54%; width: 82%; }
.cal-mock { display: flex; flex-direction: column; gap: 7px; padding: 9px; }
.cal-mock-head { display: flex; align-items: baseline; gap: 8px; }
.cal-mock-head span { color: var(--blue); font-family: var(--mono); font-size: 8px; }
.cal-mock-head strong { font-size: 24px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.cal-mock-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-mock-grid i { height: 12px; border: 1px solid rgba(12, 12, 12, .07); background: rgba(12, 12, 12, .07); }
.cal-mock-grid i.on { border-color: var(--blue); background: var(--blue); }
.cal-mock-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 7.5px;
}
.cal-mock-row .mini-line { flex: 1; }
.cal-mock-row b { font-weight: 600; }

.store-mock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 28px 14px 14px;
}
.product-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 42%;
  max-width: 124px;
  padding: 6px;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 4px 4px 0 rgba(12, 12, 12, .18);
  transform: rotate(-2deg);
}
.product-card:nth-child(2) { transform: rotate(2deg) translateY(10px); }
.product-img {
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--blue);
  color: #fff;
  font-size: 23px;
}
.product-img.alt { background: #ff9db8; color: var(--ink); }
.product-card strong { font-size: 10.5px; }
.cart-pill {
  position: absolute;
  right: 11px;
  bottom: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 7.5px;
}
.cart-pill strong { padding: 1px 4px; background: var(--accent); color: #fff; }

.portal-mock {
  position: absolute;
  top: 27%;
  right: 10%;
  left: 10%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 5px 5px 0 rgba(12, 12, 12, .18);
}
.portal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.portal-head .mini-line { flex: 1; }
.portal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line-soft);
}
.portal-row:last-child { border: 0; }
.portal-row .mini-line { flex: 1; }
.pill {
  padding: 2px 4px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 6.5px;
  white-space: nowrap;
}
.pill.ok { border-color: #b7e4c9; background: #d8f3e2; color: #0a6b3a; }
.pill.warn { border-color: #f0d98a; background: #fff1c2; color: #7a5a00; }

/* --------------------------------------------------------------------------
   Hosting
   -------------------------------------------------------------------------- */

.hosting-section {
  margin-top: 104px;
  padding: 84px 0 88px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, rgba(255, 253, 247, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 253, 247, .055) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--paper);
  scroll-margin-top: 76px;
}

.hosting-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  gap: 62px;
  align-items: center;
}
.hosting-copy h2 {
  margin: 15px 0 18px;
  color: var(--paper);
  font-size: clamp(38px, 5.2vw, 70px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.06em;
}
.hosting-copy > p {
  max-width: 530px;
  color: rgba(255, 253, 247, .68);
  font-size: 15.5px;
  line-height: 1.65;
}
.hosting-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 18px;
  margin-top: 26px;
  list-style: none;
}
.hosting-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 253, 247, .88);
  font-size: 12.5px;
}
.check-box {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.hosting-actions { margin-top: 30px; }

.hosting-art { position: relative; }
.status-card {
  width: 100%;
  max-width: 470px;
  margin-left: auto;
  border: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  box-shadow: 12px 12px 0 var(--accent);
  transform: rotate(1.4deg);
}
.status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 2px solid var(--ink);
}
.status-head .mono { color: var(--ink); font-size: 7.5px; }
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 5px;
  border: 1px solid #b7e4c9;
  background: #e6f7ec;
  color: #0a6b3a;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .07em;
  white-space: nowrap;
}
.live-pill i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.uptime {
  padding: 22px 20px 7px;
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.07em;
}
.uptime span { font-size: 30px; }
.uptime small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: .07em;
}
.status-rows { margin: 14px 20px 0; border-top: 1px solid var(--line); }
.status-rows > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 8.5px;
}
.status-rows span { color: var(--muted); }
.status-rows strong { font-weight: 600; color: var(--ink); }
.status-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
}
.dot-live {
  display: inline-block;
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--green);
}
.hosting-sticker {
  position: absolute;
  bottom: -24px;
  left: -20px;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  transform: rotate(-8deg);
  box-shadow: 4px 4px 0 var(--paper);
}

/* --------------------------------------------------------------------------
   Proceso
   -------------------------------------------------------------------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 38px;
}
.process-item { padding-top: 13px; border-top: 2px solid var(--ink); }
.process-num { display: block; margin-bottom: 25px; font-size: 8.5px; }
.process-item h3 {
  margin-bottom: 7px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
}
.process-item p { color: #4a473f; font-size: 13px; line-height: 1.62; }

/* --------------------------------------------------------------------------
   CRM
   -------------------------------------------------------------------------- */

.crm-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 12px 12px 0 var(--blue);
}
.crm-copy {
  display: flex;
  flex-direction: column;
  padding: 36px 36px 34px;
}
.crm-copy .kicker { margin-bottom: 14px; }
.crm-copy h2 {
  max-width: 560px;
  font-size: clamp(33px, 4.1vw, 52px);
  font-weight: 900;
  line-height: .97;
  letter-spacing: -.055em;
}
.crm-copy > p {
  max-width: 530px;
  margin-top: 13px;
  color: #4a473f;
  font-size: 13.5px;
  line-height: 1.65;
}
.crm-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 14px;
  margin: 20px 0 24px;
  list-style: none;
}
.crm-list li { display: flex; align-items: center; gap: 7px; font-size: 11.5px; }
.crm-list .check-box { width: 16px; height: 16px; flex-basis: 16px; font-size: 9px; }
.crm-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: auto;
}
.crm-note { color: var(--muted); font-family: var(--mono); font-size: 7.5px; letter-spacing: .03em; }

.crm-mock {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 390px;
  padding: 30px 26px 24px;
  border-left: 2px solid var(--ink);
  background: var(--blue);
  overflow: hidden;
}
.crm-mock::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
}
.crm-mock-top {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 29px;
  padding: 0 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 7.5px;
}
.crm-mock-top .mono { color: rgba(255, 253, 247, .55); font-size: 7px; }
.crm-mock-top .live-pill { margin-left: auto; border-color: rgba(255, 255, 255, .18); background: transparent; color: #8ef0b4; }
.crm-dots { display: flex; gap: 3px; }
.crm-dots i { width: 5px; height: 5px; background: rgba(255, 253, 247, .5); }
.crm-dots i:first-child { background: var(--accent); }
.crm-mock-body {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 360px;
  min-height: 270px;
  margin-top: 18px;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 8px 8px 0 rgba(12, 12, 12, .3);
}
.crm-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: 36px;
  padding: 10px 0;
  background: var(--ink);
}
.crm-logo {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-bottom: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}
.crm-sidebar i { width: 14px; height: 3px; background: rgba(255, 255, 255, .24); }
.crm-sidebar i:first-of-type { background: var(--accent); }
.crm-main { flex: 1; min-width: 0; padding: 12px; }
.crm-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  font-size: 11.5px;
  font-weight: 800;
}
.crm-title .live-pill { font-size: 5.5px; padding: 2px 4px; }
.crm-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 9px; }
.crm-kpis > div { padding: 6px; border: 1px solid var(--line); background: var(--paper); }
.crm-kpis span {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.crm-kpis strong { font-size: 11.5px; letter-spacing: -.03em; }
.crm-rows { display: flex; flex-direction: column; gap: 5px; }
.crm-rows > div {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px;
  border: 1px solid var(--line-soft);
}
.crm-row-main { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.crm-row-main b {
  overflow: hidden;
  font-size: 7px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.crm-row-main i {
  overflow: hidden;
  color: var(--muted);
  font-size: 6px;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.badge-warn, .badge-ok, .badge-blue {
  padding: 2px 3px;
  font-family: var(--mono);
  font-size: 5.5px;
  white-space: nowrap;
}
.badge-warn { background: #fff1c2; color: #7a5a00; }
.badge-ok { background: #d8f3e2; color: #0a6b3a; }
.badge-blue { background: var(--blue-soft); color: var(--blue); }

/* --------------------------------------------------------------------------
   Contacto
   -------------------------------------------------------------------------- */

#contacto {
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(12, 12, 12, .052) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12, 12, 12, .052) 1px, transparent 1px);
  background-size: 32px 32px;
}

#proyectos {
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(12, 12, 12, .052) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12, 12, 12, .052) 1px, transparent 1px);
  background-size: 32px 32px;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 38px;
  padding: 52px 50px;
  border: 2px solid var(--ink);
  background-color: var(--ink);
  background-image:
    linear-gradient(to right, rgba(255, 253, 247, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 253, 247, .06) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--paper);
  box-shadow: 12px 12px 0 var(--accent);
  overflow: hidden;
}
.contact-copy h2 {
  margin: 14px 0 15px;
  color: var(--paper);
  font-size: clamp(38px, 5.1vw, 68px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.06em;
}
.contact-copy > p {
  max-width: 560px;
  color: rgba(255, 253, 247, .68);
  font-size: 14.5px;
  line-height: 1.65;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.contact-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 17px;
  padding-left: 26px;
  border-left: 1px solid rgba(255, 253, 247, .18);
}
.contact-meta > div { display: flex; flex-direction: column; gap: 3px; }
.contact-meta .mono { color: rgba(255, 253, 247, .42); font-size: 7.5px; }
.contact-meta a { color: var(--paper); font-size: 13px; text-decoration: none; }
.contact-meta a:hover { color: var(--accent-light); }
.contact-meta strong { color: var(--paper); font-size: 13px; font-weight: 600; }
.contact-access { margin-top: 2px; }
.contact-access a {
  width: fit-content;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--accent-light);
  color: var(--accent-light) !important;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.contact-star {
  position: absolute;
  top: 10px;
  right: 22px;
  color: var(--accent-light);
  font-size: 88px;
  line-height: 1;
  opacity: .16;
  transform: rotate(12deg);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: 104px;
  padding-top: 34px;
  border-top: 2px solid var(--ink);
  background: var(--paper);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 26px;
  align-items: start;
  padding-bottom: 26px;
}
.footer-brand .brand { margin-bottom: 10px; }
.footer-brand p { max-width: 280px; color: var(--muted); font-size: 11.5px; line-height: 1.6; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.footer-nav a { color: var(--ink); font-size: 11.5px; font-weight: 600; text-decoration: none; }
.footer-nav a:hover { color: var(--blue); }
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .03em;
}
.footer-meta a { color: var(--ink); text-decoration: none; }
.footer-word {
  overflow: hidden;
  padding: 6px 0 0;
  color: transparent;
  font-size: clamp(58px, 15vw, 180px);
  font-weight: 900;
  line-height: .78;
  letter-spacing: -.08em;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(3, 47, 135, .24);
  user-select: none;
}

/* --------------------------------------------------------------------------
   Animaciones
   -------------------------------------------------------------------------- */

@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
.js-reveal .service-card:nth-child(2),
.js-reveal .project-card:nth-child(2),
.js-reveal .process-item:nth-child(2) { transition-delay: .06s; }
.js-reveal .service-card:nth-child(3),
.js-reveal .project-card:nth-child(3),
.js-reveal .process-item:nth-child(3) { transition-delay: .12s; }
.js-reveal .service-card:nth-child(4),
.js-reveal .process-item:nth-child(4) { transition-delay: .18s; }

/* --------------------------------------------------------------------------
   Login / acceso
   -------------------------------------------------------------------------- */

.auth-page { overflow-y: auto; }

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
  min-height: 100vh;
}

.auth-brand-panel {
  display: flex;
  flex-direction: column;
  padding: 30px 44px 22px;
  border-right: 2px solid var(--ink);
  background-image:
    linear-gradient(to right, rgba(12, 12, 12, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12, 12, 12, .045) 1px, transparent 1px);
  background-size: 32px 32px;
}
.auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.auth-top .brand-logo { height: 38px; }
.auth-back-top {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .04em;
  text-decoration: none;
}
.auth-back-top:hover { color: var(--blue); border-color: var(--blue); }
.auth-copy { max-width: 630px; margin: auto 0; padding: 54px 0 34px; }
.auth-kicker { margin-bottom: 16px; }
.auth-copy h1 {
  font-size: clamp(52px, 6.1vw, 92px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.07em;
}
.auth-lead {
  max-width: 510px;
  margin-top: 20px;
  color: #3c3a33;
  font-size: 15.5px;
  line-height: 1.6;
}
.auth-features {
  display: flex;
  flex-direction: column;
  gap: 13px;
  max-width: 470px;
  margin-top: 30px;
  list-style: none;
}
.auth-features li { display: flex; align-items: flex-start; gap: 9px; }
.auth-check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 1px solid var(--ink);
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.auth-features strong { display: block; font-size: 12.5px; line-height: 1.4; }
.auth-features span { display: block; margin-top: 1px; color: var(--muted); font-size: 11.5px; line-height: 1.45; }

.auth-mini {
  width: 100%;
  max-width: 460px;
  margin-top: auto;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(-1.4deg);
}
.auth-mini-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 25px;
  padding: 0 8px;
  background: var(--ink);
  color: rgba(255, 253, 247, .55);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: .04em;
}
.auth-mini-dots { display: flex; gap: 3px; }
.auth-mini-dots i { width: 4px; height: 4px; background: rgba(255, 253, 247, .5); }
.auth-mini-dots i:first-child { background: var(--accent); }
.auth-mini-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: var(--line);
}
.auth-mini-kpi { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; background: var(--white); }
.auth-mini-kpi span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 5.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.auth-mini-kpi strong { font-size: 13px; letter-spacing: -.03em; }
.auth-mini-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6.5px;
}
.auth-mini-row b { margin-left: auto; color: var(--ink); font-weight: 600; }
.auth-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .03em;
}

.auth-form-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 32px;
  background: var(--paper-2);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 27px 29px 25px;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 12px 12px 0 var(--ink);
}
body.is-setup .auth-card { box-shadow: 12px 12px 0 var(--blue); }
.auth-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 24px;
}
.auth-card-top .mono { color: var(--blue); font-size: 7.5px; }
.auth-back {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
}
.auth-back:hover { color: var(--ink); }
.auth-card h2 {
  margin-bottom: 7px;
  font-size: clamp(30px, 3.2vw, 41px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.055em;
}
.auth-subtitle {
  margin-bottom: 21px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.auth-field { margin-bottom: 13px; }
.field label {
  display: block;
  margin-bottom: 5px;
  color: #5f5b51;
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.field input {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13.5px;
  outline: none;
  transition: box-shadow .15s ease;
}
.field input::placeholder { color: #a8a396; }
.field input:focus { box-shadow: 4px 4px 0 var(--accent); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 62px; }
.password-toggle {
  position: absolute;
  top: 50%;
  right: 5px;
  padding: 6px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translateY(-50%);
}
.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin: 2px 0 15px;
}
.check { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10.5px; cursor: pointer; }
.check input { width: 13px; height: 13px; accent-color: var(--ink); }
.link-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: .03em;
  text-decoration: underline;
  cursor: pointer;
}
.link-btn:hover { color: var(--ink); }
.auth-error {
  margin-bottom: 13px;
  padding: 9px 11px;
  border: 2px solid #c81e1e;
  background: #ffe3e3;
  color: #8d1111;
  font-size: 10.5px;
  line-height: 1.5;
}
.auth-error.shake { animation: shake .3s ease; }
.btn-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 50px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.btn-auth:hover { border-color: var(--blue); background: var(--blue); color: #fff; }
.btn-auth:disabled { opacity: .65; cursor: wait; }
.btn-auth .icon { width: 16px; height: 16px; }
.auth-note {
  margin-top: 15px;
  color: #8b877b;
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.6;
}
.auth-legal {
  margin-top: 17px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  text-align: center;
}
.auth-legal a { color: var(--ink); }
.auth-setup-banner {
  margin-bottom: 15px;
  padding: 9px 11px;
  border: 2px solid var(--blue);
  background: #e9edf8;
}
.auth-setup-banner p { color: #14284f; font-size: 10.5px; line-height: 1.5; }
.auth-setup-banner strong { color: var(--blue); font-weight: 700; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .hero-grid { gap: 34px; }
  .art-square { width: 290px; height: 290px; }
  .browser-card { max-width: 400px; }
  .hosting-grid { gap: 42px; }
  .crm-copy { padding: 30px; }
  .crm-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (max-width: 1020px) {
  .site-nav { gap: 18px; }
  .site-nav > a { font-size: 12px; }
  .header-inner { gap: 16px; }
  .hero h1 { font-size: clamp(38px, 7.4vw, 72px); }
  .hero-art { min-height: 390px; }
  .art-square { right: -30px; width: 260px; height: 260px; }
  .browser-card { max-width: 380px; margin-top: 38px; }
  .project-body h3 { font-size: 18px; }
  .hosting-list { grid-template-columns: 1fr; }
  .process-grid { gap: 18px; }
  .crm-panel { box-shadow: 8px 8px 0 var(--blue); }
  .contact-panel { padding: 42px 38px; }
}

@media (max-width: 900px) {
  .wrap { padding: 0 24px; }
  .header-inner { min-height: 68px; }
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px 24px 22px;
    border-bottom: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: 0 18px 30px rgba(12, 12, 12, .08);
  }
  body.menu-open .site-nav { display: flex; }
  .site-nav > a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
    font-weight: 700;
  }
  .site-nav > a::after { display: none; }
  .nav-access {
    display: none;
  }
  .site-nav > a.nav-access {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding: 13px 14px !important;
    border: 0 !important;
    background: var(--ink);
    color: var(--paper);
    font-size: 13px;
    font-weight: 600;
  }
  .site-nav > a.nav-access .icon { width: 16px; height: 16px; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }

  .hero { padding-top: 30px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero h1 { font-size: clamp(40px, 9vw, 70px); max-width: 720px; }
  .hero-lead { max-width: 590px; }
  .hero-art { min-height: 380px; max-width: 520px; width: 100%; margin: 18px auto 0; }
  .art-square { width: 270px; height: 270px; right: 0; }
  .browser-card { max-width: 390px; margin: 34px auto 0; }
  .art-sticker { left: 0; bottom: 0; }
  .stats-strip { margin-top: 40px; }
  .service-grid { gap: 14px; }
  .service-art { height: 158px; }
  .project-grid { grid-template-columns: 1fr; gap: 16px; }
  .project-visual { height: 240px; }
  .project-body h3 { font-size: 22px; }
  .hosting-section { margin-top: 80px; padding: 66px 0 72px; }
  .hosting-grid { grid-template-columns: 1fr; gap: 40px; }
  .hosting-art { max-width: 500px; }
  .status-card { max-width: 440px; margin: 0; }
  .hosting-sticker { left: -10px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .crm-panel { grid-template-columns: 1fr; }
  .crm-mock { min-height: 330px; border-top: 2px solid var(--ink); border-left: 0; }
  .crm-mock-body { max-width: 390px; }
  .contact-panel { grid-template-columns: 1fr; gap: 26px; padding: 36px 30px; }
  .contact-meta { padding: 20px 0 0; border-top: 1px solid rgba(255, 253, 247, .18); border-left: 0; flex-direction: row; flex-wrap: wrap; gap: 18px 30px; }
  .contact-access { width: 100%; }
  .section { padding-top: 80px; }
  .section, .hosting-section { scroll-margin-top: 68px; }
  .site-footer { margin-top: 80px; }

  .auth-layout { grid-template-columns: 1fr; }
  .auth-brand-panel { padding: 22px 24px 26px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .auth-copy { padding: 34px 0 24px; max-width: 640px; }
  .auth-copy h1 { font-size: clamp(42px, 8vw, 64px); }
  .auth-features { display: none; }
  .auth-mini { display: none; }
  .auth-foot { margin-top: 18px; }
  .auth-form-panel { padding: 34px 24px 54px; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .header-inner { gap: 10px; }
  .brand-word { font-size: 18px; }
  .brand-mark { width: 32px; height: 32px; font-size: 22px; }
  .brand-logo { height: 30px; }
  .btn-header { height: 38px; padding: 0 11px; font-size: 11px; }
  .btn-header .cta-full { display: none; }
  .btn-header .cta-short { display: inline; }
  .hero h1 { font-size: clamp(38px, 11.2vw, 62px); letter-spacing: -.065em; }
  .hero-lead { font-size: 15px; margin-top: 22px; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { height: 48px; padding: 0 16px; font-size: 12px; }
  .hero-art { min-height: 350px; margin-top: 10px; }
  .art-square { width: 230px; height: 230px; right: -10px; }
  .browser-card { max-width: 350px; margin-top: 28px; box-shadow: 8px 8px 0 var(--ink); }
  .browser-body { padding: 14px 14px 12px; }
  .art-sticker { width: 72px; height: 72px; font-size: 6.5px; left: -4px; bottom: -2px; }
  .art-sticker strong { font-size: 15px; }
  .art-note { display: none; }
  .stats-strip { grid-template-columns: 1fr 1fr; margin-top: 32px; }
  .stats-strip > div { border-left: 1px solid var(--line); }
  .stats-strip > div:nth-child(odd) { border-left: 0; }
  .stats-strip > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .marquee { margin-top: 42px; }
  .section { padding-top: 66px; }
  .section-title { font-size: clamp(32px, 8.6vw, 52px); }
  .lead { font-size: 14px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-art { height: 160px; }
  .service-body { padding: 17px 18px 19px; }
  .project-visual { height: 220px; }
  .hosting-copy h2 { font-size: clamp(34px, 9vw, 54px); }
  .hosting-section { margin-top: 66px; padding: 54px 0 60px; }
  .hosting-list { gap: 9px; }
  .process-grid { grid-template-columns: 1fr; gap: 20px; }
  .process-num { margin-bottom: 12px; }
  .crm-copy { padding: 24px 20px 26px; }
  .crm-copy h2 { font-size: clamp(30px, 8vw, 42px); }
  .crm-list { grid-template-columns: 1fr; }
  .crm-mock { min-height: 300px; padding: 28px 14px 20px; }
  .crm-mock-body { min-height: 235px; }
  .contact-panel { padding: 30px 22px; box-shadow: 8px 8px 0 var(--accent); }
  .contact-copy h2 { font-size: clamp(34px, 9.4vw, 54px); }
  .contact-copy > p { font-size: 13.5px; }
  .contact-meta { gap: 14px 22px; }
  .contact-star { font-size: 70px; }
  .site-footer { margin-top: 66px; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; padding-bottom: 20px; }
  .footer-nav { justify-content: flex-start; }
  .footer-meta { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .footer-word { font-size: clamp(48px, 17vw, 110px); }

  .auth-brand-panel { padding: 18px 18px 22px; }
  .auth-top .auth-back-top { display: none; }
  .auth-copy { padding: 30px 0 18px; }
  .auth-copy h1 { font-size: clamp(40px, 11vw, 56px); }
  .auth-lead { font-size: 13.5px; margin-top: 15px; }
  .auth-foot { display: none; }
  .auth-form-panel { padding: 26px 16px 42px; }
  .auth-card { padding: 22px 20px; box-shadow: 8px 8px 0 var(--ink); }
  body.is-setup .auth-card { box-shadow: 8px 8px 0 var(--blue); }
  .auth-card h2 { font-size: 32px; }
  .auth-card-top { margin-bottom: 19px; }
  .auth-subtitle { font-size: 11.5px; }
  .auth-legal { max-width: 300px; line-height: 1.5; }
}

@media (max-width: 460px) {
  .hero h1 { font-size: 37px; }
  .hero-art { min-height: 320px; }
  .art-square { width: 190px; height: 190px; }
  .browser-card { max-width: 310px; }
  .status-cell strong { font-size: 11px; }
  .btn { height: 48px; padding: 0 15px; font-size: 12px; }
  .hero-actions .btn { width: 100%; }
  .stats-strip > div { padding: 11px 12px; }
  .stats-strip strong { font-size: 12px; }
  .project-visual { height: 200px; }
  .contact-panel { padding: 26px 18px; }
  .contact-actions .btn { width: 100%; }
  .auth-card { padding: 20px 16px; }
  .auth-options { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .cursor-blink { animation: none; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .browser-card { transition: none; }
}
