/* ==========================================================================
   Alcelab Studio — styles.css
   Limpio, inspirado en Framer con colores invertidos.
   ========================================================================== */

/* Inter (SIL Open Font License), alojada localmente: sin peticiones a terceros */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/inter-latin-800-normal.woff2") format("woff2"); }

:root {
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --ink: #0a0a0a;
  --ink-2: #3d4250;
  --mute: #6b7280;
  --line: #e7e8ec;
  --accent: #0055ff;
  --accent-hover: #0044cc;
  --accent-soft: #e8efff;
  --navy: #0b1220;
  --navy-2: #131c2e;
  --navy-line: rgba(255, 255, 255, 0.1);
  --on-navy: #f5f7fb;
  --on-navy-mute: #9aa3b5;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 28px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 68px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 1px 2px rgba(10, 10, 10, 0.04), 0 8px 24px rgba(10, 10, 10, 0.06);
  --shadow-float: 0 2px 6px rgba(11, 18, 32, 0.08), 0 24px 60px rgba(11, 18, 32, 0.18);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ----- Type ----- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}
.h-section {
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
  text-wrap: balance;
}
.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
}
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .lead { margin: 0 auto; }

/* ----- Buttons ----- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 999px; border: 0;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 85, 255, 0.22); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--accent); }
.btn--accent:hover { --btn-bg: var(--accent-hover); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { --btn-bg: var(--bg-soft); box-shadow: inset 0 0 0 1px #d5d7de; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn--light:hover { box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ----- Logo ----- */
.logo { display: inline-flex; align-items: baseline; gap: 5px; line-height: 1; }
.logo__main { font-weight: 800; font-size: 22px; letter-spacing: -0.05em; }
.logo__sub { font-weight: 500; font-size: 12px; letter-spacing: 0.01em; color: var(--mute); }
.logo--light .logo__sub { color: var(--on-navy-mute); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: #fff;
  transition: box-shadow .3s, background-color .3s;
}
/* Sin desenfoque de fondo en la cabecera: en equipos normales provoca tirones
   al hacer scroll, porque recompone todo lo que pasa por detras. */
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  padding: 8px 12px; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.nav__links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav__links a.is-active { color: var(--accent); background: var(--accent-soft); }
.nav__links a.is-active:hover { color: var(--accent); background: var(--accent-soft); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  border-radius: 10px; position: relative;
}
.nav__toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
  background: #fff;
  padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.mobile-menu a:not(.btn) {
  font-size: 30px; font-weight: 700; letter-spacing: -0.04em; padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 24px; height: 54px; }
.nav.is-open + .mobile-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(48px, 9vw, 110px)) 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-color: var(--navy);
  background-image:
    url("assets/img/fondo-portada.webp"),
    radial-gradient(ellipse 60% 50% at 20% 80%, #1f3a8a 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 70%, #0055ff 0%, transparent 55%),
    linear-gradient(180deg, #16213a 0%, #0b1220 100%);
  background-size: cover, auto, auto, auto;
  background-position: center 60%;
  transform: scale(1.06);
  transform-origin: center bottom;
}
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg,
      #ffffff 0%,
      #ffffff 38%,
      rgba(255, 255, 255, 0.86) 52%,
      rgba(255, 255, 255, 0.25) 74%,
      rgba(11, 18, 32, 0.1) 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(10, 10, 10, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 45% at 50% 18%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 45% at 50% 18%, #000 0%, transparent 75%);
}
.hero__content { text-align: center; display: grid; justify-items: center; gap: 26px; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.hero__pill b {
  background: var(--accent); color: #fff; font-weight: 600;
  padding: 3px 10px; border-radius: 999px; font-size: 12px;
}
.hero__title {
  font-size: clamp(42px, 8.4vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.058em;
  font-weight: 800;
  max-width: 12.5ch;
  text-wrap: balance;
}
.hero__title .accent { color: var(--accent); }
.hero__title .word { display: inline-block; }
.hero__sub { font-size: clamp(17px, 1.8vw, 21px); color: var(--ink-2); max-width: 54ch; line-height: 1.5; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.hero__note { font-size: 13.5px; color: var(--mute); }

/* Stage with floating mockups */
.stage {
  position: relative;
  margin: clamp(56px, 8vw, 96px) auto 0;
  width: 100%; max-width: 1080px;
  height: clamp(420px, 52vw, 600px);
}
.mock {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-float);
}
/* Entrada escalonada de las maquetas, sin librerias. Si el JS no corre se ven
   igualmente: solo se oculta cuando html.js confirma que si corre. */
.js .stage .mock { opacity: 0; }
.js .stage.is-in .mock { opacity: 1; transition: opacity .7s var(--ease) var(--in-delay, 0s); }
.js .stage .mock--google { --in-delay: .05s; }
.js .stage .mock--chat { --in-delay: .14s; }
.js .stage .mock--auto { --in-delay: .23s; }
.js .stage .mock--booking { --in-delay: .32s; }
.mock__inner { will-change: transform; }

/* Browser window mock */
.mock--browser { left: 50%; bottom: -40px; width: min(760px, 88%); height: 88%; transform: translateX(-50%); border-radius: 18px 18px 0 0; overflow: hidden; }
.browser__bar { height: 40px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fafafb; }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: #e2e4ea; display: block; }
.browser__url {
  flex: 1; max-width: 300px; margin: 0 auto; height: 24px; border-radius: 6px; background: #eef0f4;
  font-size: 11.5px; color: var(--mute); display: flex; align-items: center; justify-content: center; gap: 6px;
}
.browser__body { padding: 22px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; height: calc(100% - 40px); }
.site-hero {
  border-radius: 12px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-start; gap: 10px;
  background: linear-gradient(160deg, #1d2a44 0%, #0b1220 100%); color: #fff; position: relative; overflow: hidden;
}
.site-hero::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -60px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 85, 255, 0.6), transparent 70%);
}
.site-hero small { font-size: 11px; color: #9aa3b5; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.site-hero strong { font-size: clamp(18px, 2.4vw, 28px); letter-spacing: -0.04em; line-height: 1.05; }
.site-hero span { display: inline-flex; align-self: flex-start; background: #fff; color: var(--navy); font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 999px; }
.site-side { display: grid; gap: 12px; align-content: start; }
.skeleton { background: var(--bg-soft); border-radius: 10px; }
.skeleton--row { height: 12px; border-radius: 6px; }
.skeleton--block { height: 88px; }
.w-80 { width: 80%; } .w-60 { width: 60%; } .w-40 { width: 40%; }

/* Floating cards */
.mock--google { left: 0; top: 16%; width: 250px; padding: 16px; }
.mock--booking { right: 0; top: 4%; width: 270px; padding: 16px; }
.mock--chat { left: 4%; bottom: 8%; width: 280px; padding: 14px; }
.mock--auto { right: 3%; bottom: 14%; width: 240px; padding: 14px; }

.card-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--mute); margin-bottom: 10px; }
.card-label .ico { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.card-label .ico svg { width: 13px; height: 13px; }
.g-name { font-weight: 700; font-size: 15px; letter-spacing: -0.02em; }
.g-rating { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.stars { color: #f5a524; letter-spacing: 1px; font-size: 13px; }
.g-meta { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.g-meta span { font-size: 11.5px; padding: 4px 9px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); font-weight: 500; }
.g-open { color: #12a150 !important; background: #e8f7ee !important; }

.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 4px; }
.slot { font-size: 12px; font-weight: 600; text-align: center; padding: 8px 0; border-radius: 8px; background: var(--bg-soft); color: var(--ink-2); }
.slot.is-taken { text-decoration: line-through; color: #b6bac4; }
.slot.is-picked { background: var(--accent); color: #fff; }
.booking-day { font-weight: 700; font-size: 15px; letter-spacing: -0.02em; margin-bottom: 10px; }
.booking-confirm { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #12a150; font-weight: 600; }

.avatar {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background-color: #c9d3e6;
  background-size: cover; background-position: center;
  box-shadow: 0 0 0 2px #fff;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: var(--navy);
}
/* Iniciales sobre color. No usamos fotos de personas: serian caras de gente
   real haciendo de cliente nuestro. Si algun dia hay clientes de verdad que nos
   cedan su foto, aqui se anade su imagen. */
.avatar--1 { background-image: linear-gradient(135deg, #dbe4ff, #aabfff); }
.avatar--2 { background-image: linear-gradient(135deg, #ffe7d6, #f7b58a); }
.avatar--3 { background-image: linear-gradient(135deg, #d9f2e6, #8fd4b0); }
.bubble-row { display: flex; gap: 8px; align-items: flex-end; margin-top: 8px; }
.bubble-row--me { justify-content: flex-end; }
.bubble { font-size: 12.5px; line-height: 1.4; padding: 8px 11px; border-radius: 14px; max-width: 200px; }
.bubble--them { background: var(--bg-soft); border-bottom-left-radius: 4px; }
.bubble--me { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.typing { display: inline-flex; gap: 3px; padding: 11px 12px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: #9aa3b5; display: block; animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }

.flow { display: grid; gap: 8px; }
.flow__step { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 500; padding: 8px 10px; border-radius: 10px; background: var(--bg-soft); }
.flow__step .dot { width: 8px; height: 8px; border-radius: 50%; background: #c3c8d3; flex: none; }
.flow__step.is-done .dot { background: #12a150; }
.flow__step.is-run .dot { background: var(--accent); box-shadow: 0 0 0 0 rgba(0, 85, 255, 0.5); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 85, 255, 0.45); } 100% { box-shadow: 0 0 0 9px rgba(0, 85, 255, 0); } }

/* Hero float idle animation (micro-interaction; not gated) */
/* Las tarjetas del hero ya no flotan: el vaiven continuo daba tirones. */

/* ==========================================================================
   Sectors marquee
   ========================================================================== */
.sectors { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; position: relative; z-index: 2; }
.sectors__inner { display: flex; align-items: center; gap: 32px; padding: 22px 0; }
.sectors__label { flex: none; font-size: 13.5px; color: var(--mute); font-weight: 500; padding-left: var(--gutter); }
.marquee { flex: 1; overflow: hidden; position: relative; }
/* Degradados fijos en los bordes en lugar de una mascara sobre la cinta en
   movimiento: la mascara habia que recalcularla en cada fotograma. */
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 64px; z-index: 1; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0)); }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 48px; padding-right: 48px; }
.marquee__item { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: -0.035em; white-space: nowrap; }
.marquee__item svg { width: 22px; height: 22px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(88px, 12vw, 150px) 0; position: relative; }

/* ----- Services bento ----- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.svc {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  grid-column: span 2;
  background: var(--bg-soft);
  border-radius: var(--radius-l);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 340px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s;
}
.svc::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 85, 255, 0.10), transparent 60%);
  transition: opacity .4s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); background: #f1f3f7; }
.svc:hover::before { opacity: 1; }
.svc--wide { grid-column: span 3; }
.svc--navy { background: var(--navy); color: var(--on-navy); }
.svc--navy:hover { background: var(--navy-2); }
.svc--navy::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 85, 255, 0.35), transparent 60%); }
.svc--navy .svc__text { color: var(--on-navy-mute); }
.svc--navy .svc__num { color: var(--on-navy-mute); }
.svc__num { font-size: 13px; font-weight: 600; color: var(--mute); font-variant-numeric: tabular-nums; }
.svc__title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.svc__text { font-size: 15.5px; color: var(--ink-2); line-height: 1.55; max-width: 42ch; }
.svc__art { margin-top: auto; padding-top: 18px; position: relative; z-index: 1; }

/* service mini illustrations */
.art-web { background: #fff; border-radius: 14px; box-shadow: var(--shadow-card); padding: 12px; display: grid; gap: 8px; transform: translateY(14px); transition: transform .6s var(--ease); }
.svc:hover .art-web { transform: translateY(4px); }
.art-web__top { display: flex; gap: 5px; }
.art-web__top i { width: 7px; height: 7px; border-radius: 50%; background: #e2e4ea; display: block; }
.art-web__hero { height: 64px; border-radius: 8px; background: linear-gradient(120deg, var(--accent) 0%, #6f9bff 100%); }
.art-web__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.art-web__cols i { height: 30px; border-radius: 6px; background: var(--bg-soft); display: block; }

.art-search { display: grid; gap: 10px; }
.art-search__bar { background: #fff; border-radius: 999px; padding: 11px 16px; font-size: 13.5px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-card); }
.art-search__bar svg { width: 15px; height: 15px; color: var(--mute); flex: none; }
.art-search__result { background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-card); display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: transform .5s var(--ease); }
.svc:hover .art-search__result:first-of-type { transform: scale(1.03); }
.art-search__result b { display: block; font-size: 14px; letter-spacing: -0.02em; }
.art-search__result small { font-size: 12px; color: var(--mute); }
.pin { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.pin--grey { background: #d7dbe3; color: var(--ink-2); }

.art-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.art-cal span { aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, 0.06); color: var(--on-navy-mute); transition: background-color .3s, color .3s; }
.art-cal span.on { background: rgba(0, 85, 255, 0.28); color: #fff; }
.art-cal span.pick { background: var(--accent); color: #fff; }
.art-cal span.head { background: transparent; font-size: 10.5px; aspect-ratio: auto; padding-bottom: 2px; }

.art-chat { display: grid; gap: 8px; }
.art-chat .bubble { max-width: 85%; }
.art-chat .bubble--them { background: #fff; box-shadow: var(--shadow-card); }

.art-auto { display: flex; align-items: center; gap: 0; }
.art-auto__node { flex: none; background: #fff; box-shadow: var(--shadow-card); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.art-auto__node svg { width: 14px; height: 14px; color: var(--accent); }
.art-auto__wire { flex: 1; min-width: 14px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 11px); background-size: 22px 2px; animation: wire 1s linear infinite; }
@keyframes wire { to { background-position: 22px 0; } }

.art-crm { background: #fff; border-radius: 14px; box-shadow: var(--shadow-card); overflow: hidden; }
.art-crm__row { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 13px; }
.art-crm__row:last-child { border-bottom: 0; }
.art-crm__row b { font-weight: 600; letter-spacing: -0.01em; }
.art-crm__row small { display: block; font-size: 11.5px; color: var(--mute); }
.tag { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.tag--green { background: #e8f7ee; color: #12a150; }
.tag--grey { background: var(--bg-soft); color: var(--ink-2); }

/* ----- Process (navy block) ----- */
.process-wrap { padding: 0 clamp(8px, 1.4vw, 16px); }
.process {
  background: var(--navy); color: var(--on-navy);
  border-radius: clamp(24px, 3vw, 40px);
  padding: clamp(72px, 10vw, 130px) 0;
  position: relative; overflow: hidden; isolation: isolate;
}
.process::before {
  content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; left: -300px; top: -420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 85, 255, 0.28), transparent 62%);
}
.process .eyebrow { color: #6f9bff; }
.process .lead { color: var(--on-navy-mute); }
.process__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.process__sticky { position: sticky; top: calc(var(--nav-h) + 48px); display: grid; gap: 22px; }
.process__sticky .btn { justify-self: start; margin-top: 10px; }
.steps { position: relative; display: grid; gap: 0; }
.steps__rail { position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--navy-line); border-radius: 2px; overflow: hidden; }
.steps__fill { position: absolute; inset: 0 0 auto 0; height: var(--progress, 0%); background: linear-gradient(180deg, #6f9bff, var(--accent)); }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 24px; padding: 0 0 clamp(40px, 5vw, 64px); }
.step:last-child { padding-bottom: 0; }
.step__num {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), color .5s;
  position: relative; z-index: 1;
}
.step.is-active .step__num { background: var(--accent); box-shadow: 0 0 0 6px rgba(0, 85, 255, 0.2); color: #fff; }
.step__body { padding-top: 8px; display: grid; gap: 10px; }
.step__title { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.04em; line-height: 1.1; font-weight: 700; }
.step__text { color: var(--on-navy-mute); max-width: 48ch; }
.step__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.step__chips span { font-size: 12.5px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--navy-line); color: #cfd6e4; }

/* ----- FAQ ----- */
.faq__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--nav-h) + 48px); display: grid; gap: 18px; }
.faq__aside p { color: var(--ink-2); }
.faq__aside a.link { color: var(--accent); font-weight: 600; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  font-size: clamp(18px, 1.8vw, 21px); font-weight: 600; letter-spacing: -0.025em;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
.faq__icon { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft); position: relative; transition: background-color .3s, transform .45s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .45s var(--ease), background-color .3s; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--accent); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { overflow: hidden; }
.faq__answer p { padding: 0 56px 26px 0; color: var(--ink-2); max-width: 64ch; }

/* ----- About ----- */
/* ==========================================================================
   Compromisos
   ========================================================================== */
.promises { padding: clamp(56px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.promises__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.promise { display: grid; gap: 10px; align-content: start; }
.promise__ico { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.promise__ico svg { width: 20px; height: 20px; }
.promise h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.25; }
.promise p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 860px) { .promises__grid { grid-template-columns: 1fr; } }

.about { background: var(--bg-soft); }
.about__statement {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.12; letter-spacing: -0.045em; font-weight: 700;
  max-width: 24ch;
  text-wrap: balance;
}
.about__statement .fade { color: #a7acb8; }
.about__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(48px, 7vw, 80px); }
.value { background: #fff; border-radius: var(--radius-l); padding: 28px; display: grid; gap: 10px; align-content: start; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.value__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 8px; }
.value__ico svg { width: 22px; height: 22px; }
.value h3 { font-size: 21px; letter-spacing: -0.035em; font-weight: 700; line-height: 1.2; }
.value p { color: var(--ink-2); font-size: 15.5px; }
.about__base { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border-radius: var(--radius-l); padding: 22px 28px; }
.about__base p { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: -0.02em; }
.about__base svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

/* ----- Contact ----- */
.contact-wrap { padding: clamp(8px, 1.4vw, 16px); }
.contact {
  background: var(--navy); color: var(--on-navy);
  border-radius: clamp(24px, 3vw, 40px);
  padding: clamp(72px, 10vw, 120px) 0;
  position: relative; overflow: hidden; isolation: isolate;
}
.contact::before {
  content: ""; position: absolute; z-index: -1; inset: auto -20% -60% auto; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 85, 255, 0.35), transparent 60%);
}
.contact .eyebrow { color: #6f9bff; }
.contact__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact__intro { display: grid; gap: 22px; }
.contact__title { font-size: clamp(38px, 6vw, 76px); line-height: 0.98; letter-spacing: -0.055em; font-weight: 800; text-wrap: balance; }
.contact__intro .lead { color: var(--on-navy-mute); }
.contact__mail {
  display: inline-flex; align-items: center; gap: 12px; justify-self: start;
  font-size: clamp(18px, 2vw, 22px); font-weight: 600; letter-spacing: -0.02em;
  position: relative; padding-bottom: 4px; word-break: break-all;
}
.contact__mail::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #6f9bff;
  transform: scaleX(0.25); transform-origin: left; transition: transform .6s var(--ease);
}
.contact__mail:hover::after { transform: scaleX(1); }
.contact__facts { display: grid; gap: 12px; margin-top: 8px; }
.contact__facts li { display: flex; gap: 12px; align-items: center; color: #cfd6e4; font-size: 15.5px; }
.contact__facts svg { width: 18px; height: 18px; color: #6f9bff; flex: none; }

.form { background: #fff; color: var(--ink); border-radius: var(--radius-l); padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field label .opt { font-weight: 400; color: var(--mute); }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-radius: 12px;
  background: var(--bg-soft); box-shadow: inset 0 0 0 1px transparent;
  padding: 13px 14px; font-size: 16px;
  transition: box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%236b7280' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { background-color: #eef0f4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: #fff; box-shadow: inset 0 0 0 2px var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; }
.chips legend { font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background-color .2s, color .2s, box-shadow .2s; }
.chip input:hover + span { background: #eaedf2; }
.chip input:checked + span { background: var(--accent); color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form .btn { height: 54px; font-size: 16px; }
.form__status { font-size: 14.5px; font-weight: 500; min-height: 1.5em; }
.form__status.is-ok { color: #12a150; }
.form__status.is-error { color: #d92d20; }
.form.is-sending .btn { opacity: .7; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ----- Footer ----- */
.footer { padding: clamp(48px, 7vw, 80px) 0 32px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__brand { display: grid; gap: 12px; max-width: 34ch; }
.footer__brand p { color: var(--mute); font-size: 15px; }
.footer__cols { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 80px); }
.footer__col h4 { font-size: 13px; font-weight: 600; color: var(--mute); margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { font-size: 15px; font-weight: 500; transition: color .2s; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13.5px; color: var(--mute); }
.footer__big {
  font-size: clamp(64px, 17vw, 250px); font-weight: 800; letter-spacing: -0.07em; line-height: 0.8;
  color: var(--bg-soft); text-align: center; margin-top: 48px; user-select: none;
  background: linear-gradient(180deg, #eef0f4 0%, #ffffff 95%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  overflow: hidden; white-space: nowrap;
}

/* ==========================================================================
   Reveal system (only hides when JS is confirmed running: html.js)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Defensive: split-text elements never stay hidden */
.reveal[data-split] { opacity: 1; transform: none; }
.js [data-split] .word { opacity: 0; transform: translateY(0.45em); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 55ms + 120ms); }
.js [data-split].is-split-in .word { opacity: 1; transform: none; }
/* Safety net: if JS stalls, everything appears after 5s */
.js .reveal, .js [data-split] .word { animation: revealSafety .01s 5s forwards; }
@keyframes revealSafety { to { opacity: 1; transform: none; } }

/* Con "reducir movimiento" activo se apagan los bucles infinitos y los
   desplazamientos, pero se mantienen los fundidos: la web sigue viva y no se
   queda estática (Windows activa este ajuste de fábrica en muchos equipos). */
@media (prefers-reduced-motion: reduce) {
  .marquee__track,
  .typing i, .flow__step.is-run .dot, .art-auto__wire { animation: none !important; }
  .js .reveal { transform: none; transition-duration: .4s; transition-delay: 0s; }
  .js [data-split] .word { transform: none; transition-delay: calc(var(--i, 0) * 25ms); }
  .btn:hover, .btn:focus-visible { transform: none !important; }
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal { padding: calc(var(--nav-h) + clamp(56px, 8vw, 100px)) 0 clamp(72px, 10vw, 120px); }
.legal__head { display: grid; gap: 16px; margin-bottom: clamp(40px, 6vw, 64px); max-width: 760px; }
.legal__head h1 { font-size: clamp(38px, 6vw, 68px); letter-spacing: -0.05em; line-height: 1; font-weight: 800; }
.legal__head p { color: var(--mute); font-size: 15px; }
.legal__body { max-width: 760px; }
.legal__body h2 { font-size: clamp(21px, 2.2vw, 26px); letter-spacing: -0.03em; font-weight: 700; margin: 44px 0 12px; line-height: 1.2; }
.legal__body h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
.legal__body p, .legal__body li { color: var(--ink-2); }
.legal__body p + p { margin-top: 12px; }
.legal__body ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin: 12px 0; }
.legal__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal__body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.legal__body th, .legal__body td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal__body th { font-size: 13px; color: var(--mute); font-weight: 600; }
.legal__data { background: var(--bg-soft); border-radius: var(--radius-m); padding: 22px 24px; display: grid; gap: 8px; margin: 16px 0; }
.legal__data p { margin: 0 !important; }
.legal__data b { color: var(--ink); }
.fill { background: #fff3c4; color: #7a5a00; font-weight: 600; padding: 1px 6px; border-radius: 4px; }
.legal__nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal__nav a { padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); font-size: 14px; font-weight: 500; }
.legal__nav a[aria-current="page"] { background: var(--ink); color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .mock--google { left: -10px; }
  .mock--booking { right: -10px; }
  .mock--auto { display: none; }
}

@media (max-width: 960px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: block; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .svc, .svc--wide { grid-column: span 1; }
  .process__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .process__sticky, .faq__aside { position: static; }
  .about__cols { grid-template-columns: 1fr; }
  .value { grid-template-columns: 44px 1fr; column-gap: 18px; }
  .value__ico { grid-row: span 2; margin: 0; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav__cta .btn--accent { display: none; }
  .hero__veil { background: linear-gradient(180deg, #fff 0%, #fff 48%, rgba(255, 255, 255, 0.75) 62%, rgba(255, 255, 255, 0.1) 85%, rgba(11, 18, 32, 0.1) 100%); }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; height: 54px; }
  .stage { height: auto; display: grid; gap: 12px; padding: 0 var(--gutter) 40px; }
  .mock { position: relative; inset: auto; width: 100%; transform: none; }
  .mock--browser { display: none; }
  .mock--google, .mock--booking, .mock--chat { width: 100%; max-width: 360px; }
  .mock--booking { justify-self: end; }
  .mock--auto { display: none; }
  .sectors__inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .sectors__label { text-align: center; padding: 0; }
  .bento { grid-template-columns: 1fr; }
  .svc { min-height: 0; padding: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .faq__answer p { padding-right: 0; }
  .about__base { padding: 20px; }
  .legal__body table, .legal__body thead, .legal__body tbody, .legal__body tr, .legal__body th, .legal__body td { display: block; }
  .legal__body thead { display: none; }
  .legal__body tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .legal__body td { border: 0; padding: 3px 0; }
}

/* ----- Service CTA card ----- */
.svc--cta { background: var(--accent); color: #fff; }
.svc--cta:hover { background: var(--accent-hover); }
.svc--cta::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.22), transparent 60%); }
.svc--cta .svc__num { color: rgba(255, 255, 255, 0.75); }
.svc--cta .svc__text { color: rgba(255, 255, 255, 0.85); }
.svc--cta .svc__title { max-width: 20ch; }
.svc--cta .btn--light:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); }

/* ----- Cambios 22/09/2026 ----- */
.eyebrow--lg { font-size: clamp(16px, 1.5vw, 19px); gap: 10px; }
.eyebrow--lg::before { width: 8px; height: 8px; }
.req { color: var(--accent); font-weight: 700; }
.footer__id { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__id .logo { align-items: baseline; }
.social { display: flex; align-items: center; gap: 8px; }
.social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-soft); color: var(--ink);
  transition: background-color .25s, color .25s, transform .35s var(--ease);
}
.social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; }

/* ----- Cambios 22/09/2026 (2) ----- */
.hero__title { max-width: none; font-size: clamp(36px, 7.6vw, 96px); line-height: 1; }
.hero__title .line { display: block; }
@media (min-width: 721px) { .hero__title .line { white-space: nowrap; } }
.process__motto {
  display: grid; gap: clamp(4px, 0.6vw, 8px);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.2; letter-spacing: -0.035em; font-weight: 700;
}
.process__motto span { display: block; }
.process__motto .accent { color: #6f9bff; }
