/* =========================================================
   cadacliente — hoja de estilos compartida
   ========================================================= */
:root {
  --ink: #0a0b14;
  --ink-2: #14162a;
  --navy: #12156b;
  --blue: #3343ff;
  --blue-2: #5b6bff;
  --violet: #7b5cff;
  --ember: #ff7a3d;
  --mint: #19c37d;
  --rose: #ff5a6e;
  --amber: #ffb020;
  --bg: #ffffff;
  --bg-soft: #f4f5f9;
  --text: #0a0b14;
  --muted: #5d6175;
  --line: #e3e5ee;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 20px 60px -20px rgba(16, 20, 80, .35);
  --max: 1240px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.02em; line-height: 1.12; margin: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 500; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #2533e6; }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: .6rem 1.1rem; font-size: .92rem; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 8px; }

/* ---------- Barra superior ---------- */
.utility {
  background: var(--ink); color: #c9cbe0; font-size: .82rem;
}
.utility .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.utility a { color: #fff; }
.utility-right { display: flex; gap: 1.5rem; align-items: center; }
.utility-right a { text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }

/* ---------- Navegación tipo píldora ---------- */
.site-header { position: absolute; left: 0; right: 0; top: 40px; z-index: 20; padding-top: 24px; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-pill {
  display: flex; align-items: center; gap: 2rem;
  background: rgba(10, 11, 20, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px; padding: .7rem 1.6rem .7rem 1.1rem; color: #fff;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; font-weight: 600; letter-spacing: -.01em; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-size: 1.05rem; line-height: 1.1; }
.brand-name { letter-spacing: -.035em; font-weight: 500; }
.brand-name strong { font-weight: 800; }
.brand-name small { display: block; font-weight: 400; font-size: .7rem; opacity: .7; letter-spacing: .04em; }
.nav-links { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: #e6e7f2; font-size: .95rem; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  display: flex; align-items: center; gap: .4rem;
  background: rgba(10, 11, 20, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.08); border-radius: 999px; padding: .45rem;
}
.nav-cta .link { color: #fff; text-decoration: none; padding: .5rem 1rem; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; padding: .4rem; cursor: pointer; flex: none; }
.menu-toggle svg { flex: none; width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(91, 107, 255, .55), transparent 60%),
    radial-gradient(50% 60% at 70% 100%, rgba(255, 122, 61, .55), transparent 60%),
    radial-gradient(40% 50% at 10% 0%, rgba(123, 92, 255, .35), transparent 60%),
    linear-gradient(180deg, #0b0d24 0%, #10135a 70%, #1b1a5e 100%);
  padding: 190px 0 90px;
}
.hero::after { /* rejilla sutil */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 1rem 0 1.4rem; }
.hero p.lead { font-size: clamp(1.1rem, 1.6vw, 1.45rem); color: #d5d7f0; max-width: 34ch; margin: 0 0 2.4rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-tabs { display: flex; gap: 2rem; margin-top: 4.5rem; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #8f93c4; flex-wrap: wrap; }
.hero-tabs span:first-child { color: #fff; }

/* Tarjeta flotante del hero (mini app) */
.hero-visual { position: relative; min-height: 440px; }
.float-card {
  position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: 22px; padding: 1.2rem 1.3rem; color: #fff;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.5);
}
.float-card.booking { top: 0; right: 10%; width: 300px; animation: bob 7s ease-in-out infinite; }
.float-card.money { bottom: 10px; left: 0; width: 270px; animation: bob 8s ease-in-out -2s infinite; }
.float-card.notif { top: 46%; right: -10px; width: 230px; padding: .9rem 1rem; animation: bob 6s ease-in-out -4s infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.fc-head { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: #c7c9ee; margin-bottom: .8rem; }
.fc-title { font-size: 1.05rem; font-weight: 500; margin-bottom: .8rem; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.slots span { text-align: center; font-size: .82rem; padding: .45rem 0; border-radius: 10px; background: rgba(255,255,255,.1); }
.slots span.on { background: #fff; color: var(--navy); font-weight: 600; }
.slots span.off { opacity: .35; text-decoration: line-through; }
.fc-big { font-size: 2rem; font-weight: 500; letter-spacing: -.02em; }
.fc-trend { color: #7ff0bb; font-size: .85rem; }
.spark { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin-top: .8rem; }
.spark i { flex: 1; background: linear-gradient(180deg, #fff, rgba(255,255,255,.3)); border-radius: 4px 4px 2px 2px; }
.notif-row { display: flex; gap: .7rem; align-items: center; font-size: .85rem; }
.notif-dot { width: 36px; height: 36px; border-radius: 12px; background: var(--mint); display: grid; place-items: center; flex: none; }

/* ---------- Secciones ---------- */
section { padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); max-width: 22ch; }
.section-head p { color: var(--muted); max-width: 44ch; margin: 0; }

/* Banner partner */
.partner {
  border-radius: var(--radius-lg); color: #fff; padding: 64px;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0/48px 48px,
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0/48px 48px,
    linear-gradient(135deg, #12156b, #1d2290 60%, #2a2fb0);
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}
.partner > div { max-width: 62ch; }
.partner-stat { display: flex; align-items: center; gap: 1.2rem; }
.partner-stat strong { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.partner-stat span { color: #a9b0ff; font-size: 1.1rem; line-height: 1.3; }
.partner h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.partner p { color: #cfd2f5; margin: 0 0 1.6rem; }

/* Panel de servicios con degradado */
.services-panel {
  border-radius: var(--radius-lg); padding: 64px; color: #fff; position: relative; overflow: hidden;
  background:
    radial-gradient(70% 60% at 0% 100%, rgba(255, 122, 61, .85), transparent 60%),
    radial-gradient(60% 60% at 100% 100%, rgba(51, 67, 255, .95), transparent 60%),
    linear-gradient(160deg, #1a1d8a, #2b2fd0 55%, #3a2fd8);
}
.services-panel .section-head p { color: #dfe1ff; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.service-grid-3 { grid-template-columns: repeat(3, 1fr); }
.service {
  background: rgba(15, 18, 80, .45); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 22px; padding: 1.8rem; min-height: 340px; display: flex; flex-direction: column;
  transition: transform .3s, background .3s;
}
.service:hover { transform: translateY(-6px); background: rgba(15, 18, 80, .6); }
.service .icon { width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.14); display: grid; place-items: center; margin-bottom: 1.4rem; }
.service h3 { font-size: 1.5rem; margin-bottom: .7rem; }
.service p { color: #d9dbfa; margin: 0 0 1.2rem; }
.service ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .45rem; font-size: .95rem; }
.service li::before { content: "✓"; color: #9ff3c9; margin-right: .55rem; font-weight: 700; }
.service .more { margin-top: auto; color: #fff; text-decoration: none; font-weight: 500; display: inline-flex; gap: .4rem; align-items: center; }
.service .more:hover { text-decoration: underline; }
.price-tag { display: inline-block; font-size: .8rem; background: rgba(255,255,255,.16); padding: .25rem .7rem; border-radius: 999px; margin-bottom: 1rem; width: max-content; }

/* Línea "Para:" en las tarjetas de servicio */
.for-line { font-size: .88rem; color: #e7e8ff; margin: 0 0 1.4rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.14); }
.for-line b { color: #fff; }

/* ---------- Módulos ---------- */
.modules-section { background: var(--bg-soft); }
.filter { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.filter button {
  border: 1.5px solid var(--line); background: #fff; color: var(--text); padding: .6rem 1.1rem; border-radius: 999px;
  cursor: pointer; font-size: .92rem; transition: background .2s, color .2s, border-color .2s;
}
.filter button:hover { border-color: var(--ink); }
.filter button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.for-legend { display: flex; gap: .6rem; margin: 0 0 2rem; font-size: .8rem; }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.module {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem; display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.module:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.module[hidden] { display: none; }
.m-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff; margin-bottom: 1.2rem; }
.m-icon svg { width: 26px; height: 26px; }
.m-green { background: linear-gradient(135deg, #19c37d, #0f9f63); }
.m-violet { background: linear-gradient(135deg, #7b5cff, #3343ff); }
.m-blue { background: linear-gradient(135deg, #3343ff, #12156b); }
.m-ember { background: linear-gradient(135deg, #ff7a3d, #ff5a6e); }
.m-amber { background: linear-gradient(135deg, #ffb020, #ff7a3d); }
.m-kicker { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.module h3 { font-size: 1.35rem; margin: .4rem 0 .7rem; }
.module > p { color: var(--muted); margin: 0 0 1rem; font-size: .96rem; }
.m-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .45rem; font-size: .92rem; }
.m-list li { padding-left: 1.4rem; position: relative; }
.m-list li::before { content: "✓"; position: absolute; left: 0; color: var(--mint); font-weight: 700; }
.for { list-style: none; padding: 1rem 0 0; margin: auto 0 0; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: .4rem; }
.for li, .tag { font-size: .78rem; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: #fff; }
.for li.match { outline: 2px solid var(--blue); outline-offset: 1px; }
.for li.ideal, .tag.ideal { background: #eef0ff; border-color: #c9cefc; color: #2330c9; font-weight: 500; }
.module-cta {
  color: #fff; justify-content: center; border: 0;
  background: radial-gradient(70% 70% at 100% 100%, rgba(255,122,61,.8), transparent 60%), linear-gradient(140deg, #12156b, #3343ff);
}
.module-cta p { color: #dfe1ff; margin: 0 0 1.4rem; }
.module-cta .btn { align-self: flex-start; }
.module.secondary { opacity: .55; }
.module.secondary:hover { opacity: 1; }
.module.secondary .m-kicker::after { content: " · También útil"; color: var(--muted); }
.filter-note { background: #fff; border: 1px solid #c9cefc; border-left: 4px solid var(--blue); border-radius: 12px; padding: .9rem 1.1rem; margin: 0 0 1rem; color: var(--text); font-size: .95rem; max-width: 80ch; }
@media (max-width: 1024px) { .module-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .module-grid { grid-template-columns: 1fr; }
  .module { padding: 1.4rem; }
  .filter { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 1rem; padding: 0 16px 4px; scrollbar-width: none; }
  .filter button { flex: none; }
}

/* ---------- Precios ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2rem; display: flex; flex-direction: column; position: relative; }
.plan h3 { font-size: 1.6rem; font-weight: 500; }
.plan-goal { color: var(--muted); margin: .4rem 0 1.4rem; }
.plan-price { margin: 0; display: flex; align-items: baseline; gap: .4rem; }
.plan-price strong { font-size: 3rem; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.plan-price span { color: var(--muted); }
.plan-setup { font-size: .9rem; color: var(--muted); margin: .5rem 0 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.plan-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .6rem; font-size: .95rem; }
.plan-list li { padding-left: 1.5rem; position: relative; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; color: var(--mint); font-weight: 700; }
.plan-for { font-size: .85rem; color: var(--muted); margin: auto 0 1.2rem; background: var(--bg-soft); border-radius: 12px; padding: .7rem .9rem; }
.plan-for b { color: var(--text); }
.plan .btn { width: 100%; }
.plan-featured { color: #fff; border: 0; box-shadow: var(--shadow);
  background: radial-gradient(70% 50% at 100% 100%, rgba(255,122,61,.7), transparent 60%), linear-gradient(150deg, #12156b, #2b2fd0); }
.plan-featured .plan-goal, .plan-featured .plan-price span, .plan-featured .plan-setup { color: #cfd2f5; }
.plan-featured .plan-setup { border-color: rgba(255,255,255,.18); }
.plan-featured .plan-list li::before { color: #9ff3c9; }
.plan-featured .plan-for { background: rgba(255,255,255,.1); color: #dfe1ff; }
.plan-featured .plan-for b { color: #fff; }
.plan-featured .btn-primary { background: #fff; color: var(--ink); }
.plan-badge { position: absolute; top: 1.6rem; right: 1.6rem; font-size: .75rem; font-weight: 600; background: var(--ember); color: #fff; padding: .3rem .75rem; border-radius: 999px; }
.price-note { font-size: .85rem; color: var(--muted); margin: 1.6rem 0 0; max-width: 90ch; }
@media (max-width: 1024px) { .price-grid { grid-template-columns: 1fr; max-width: 520px; } }
@media (max-width: 640px) { .plan { padding: 1.5rem; } .plan-price strong { font-size: 2.5rem; } }

/* Vídeo demo */
.video-wrap {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); position: relative;
  border: 1px solid #1f2240;
}
.video-wrap video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #0b0d24; }
.video-chips { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.4rem; }
.chip { font-size: .85rem; padding: .45rem .9rem; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); }
.chip b { color: var(--text); font-weight: 600; }
button.chip { cursor: pointer; transition: border-color .2s, background .2s; }
button.chip:hover { border-color: var(--blue); background: #fff; }

/* Sectores (tira tipo logos) */
.sectors { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding: 2rem 0 3rem; color: #7c8096; }
.sector { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.sector svg { width: 30px; height: 30px; }

/* Caso de éxito */
.case {
  border-radius: var(--radius-lg); overflow: hidden; position: relative; color: #fff; min-height: 420px;
  background:
    radial-gradient(50% 80% at 85% 40%, rgba(255, 176, 32, .55), transparent 60%),
    radial-gradient(40% 60% at 60% 100%, rgba(255, 90, 110, .45), transparent 60%),
    linear-gradient(120deg, #1a1210, #3b2416 55%, #6b3a1a);
  display: grid; grid-template-columns: minmax(0, 520px) 1fr; box-shadow: var(--shadow);
}
.case-body { background: rgba(10, 8, 6, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.case-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 1.8rem; }
.case-stat { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 1.6rem; }
.case-stat strong { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.case-stat span { color: #f1d9c8; font-size: .95rem; max-width: 18ch; }
.case-note { font-size: .8rem; color: #c9b4a5; }
.case-art { display: grid; place-items: center; padding: 2rem; }
.bread { font-size: clamp(6rem, 14vw, 11rem); filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); }

/* Proceso */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; border-top: 1px solid var(--line); padding-top: 3rem; }
.step-num { font-size: .85rem; color: var(--blue); font-weight: 600; letter-spacing: .1em; }
.step h3 { font-size: 1.4rem; margin: .6rem 0; }
.step p { color: var(--muted); margin: 0; }

/* CTA final + contacto */
.cta {
  background:
    radial-gradient(60% 50% at 20% 110%, rgba(255, 122, 61, .55), transparent 60%),
    radial-gradient(60% 50% at 80% 110%, rgba(51, 67, 255, .45), transparent 60%),
    linear-gradient(180deg, #fff 0%, #f1f1fb 100%);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact-cards { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-card { background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem 1.4rem; backdrop-filter: blur(8px); }
.contact-card h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.contact-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-card-cta { display: block; text-decoration: none; background: var(--ink); color: #fff; border-color: var(--ink); transition: transform .2s; }
.contact-card-cta:hover { transform: translateY(-2px); }
.contact-card-cta p { color: #c9cbe0; }
.form {
  background: #fff; border-radius: var(--radius-lg); padding: 2.4rem; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.form h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.form > p { color: var(--muted); margin: 0 0 1.6rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-size: .88rem; font-weight: 500; }
input, select, textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fafbfe; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(51, 67, 255, .12); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--rose); }
textarea { min-height: 110px; resize: vertical; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: .4rem 0 1.4rem; }
.consent input { width: auto; margin-top: .25rem; }
.hp { position: absolute; left: -9999px; } /* honeypot anti-bots */
.form-status { margin-top: 1rem; font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: #0f8a55; }
.form-status.err { color: #c62839; }

/* Footer */
.footer { background: #16171c; color: #b9bbc8; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer h4 { color: #fff; font-weight: 500; margin: 0 0 1rem; font-size: .95rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .92rem; }
.footer a { text-decoration: none; color: #b9bbc8; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid #2a2c35; margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; font-size: .82rem; flex-wrap: wrap; gap: 1rem; }

/* Reveal al hacer scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { min-height: 400px; max-width: 520px; }
  .service-grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .partner, .contact-grid, .case { grid-template-columns: 1fr; }
  .case-art { order: -1; padding: 2.5rem 1rem 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .utility-hide { display: none; }
  .nav-pill { gap: 1rem; padding-right: 1rem; }
  .nav-links {
    display: none; position: absolute; top: calc(100% + 10px); left: 0; width: calc(100vw - 32px); flex-direction: column; gap: 0; z-index: 30;
    background: rgba(10, 11, 20, .95); border-radius: 20px; padding: .6rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: .9rem 1rem; border-radius: 12px; }
  .nav-links a:hover { background: rgba(255,255,255,.06); }
  .menu-toggle { display: inline-flex; }
  .nav-cta .link { display: none; }
  .site-header .container { position: relative; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .hero { padding: 150px 0 64px; }
  .hero-visual { min-height: 360px; }
  .float-card.booking { right: 0; width: 260px; }
  .float-card.money { width: 230px; }
  .float-card.notif { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-tabs { margin-top: 3rem; gap: 1rem; }
  .partner, .services-panel { padding: 32px 20px; border-radius: 22px; }
  .partner-stat { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .case-body { padding: 2rem 1.4rem; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 1.6rem 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .sectors { justify-content: center; gap: 1.2rem 2rem; }
  .sector { font-size: 1rem; }
  .brand-name small { display: none; }
  .nav-cta .btn { padding: .55rem .9rem; font-size: .85rem; }
}

.video-more { text-align: center; margin: 1.6rem 0 0; }

/* Cinta de clientes (js/clientes.js + data/clientes.json) */
.clients { padding: 2.4rem 0 1rem; }
.clients[hidden] { display: none; }
.clients-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.clients-head h2 { font-size: 1.35rem; margin: 0; }
.clients-head p { margin: .25rem 0 0; color: var(--muted); font-size: .95rem; }
.clients-pause { border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; padding: .4rem .9rem; font: inherit; font-size: .85rem; cursor: pointer; }
.clients-pause:hover { border-color: var(--blue); }
.clients-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.clients-track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: clients-slide var(--dur, 40s) linear infinite; }
@keyframes clients-slide { from { transform: translateX(calc(-1 * var(--shift, 0px))); } to { transform: translateX(0); } }
.clients-track li { flex: none; display: flex; align-items: center; }
.clients-track li::before { content: ""; width: 7px; height: 7px; margin: 0 1.8rem; border-radius: 50%; background: var(--ember); flex: none; }
.clients-track a { display: inline-flex; align-items: baseline; gap: .6rem; padding: .5rem 0; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; color: #7c8096; text-decoration: none; transition: color .2s; }
.clients-track a small { font-size: .78rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.client-arrow { font-size: 1rem; opacity: .7; }
.clients-track a:hover, .clients-track a:focus-visible { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.clients-viewport:hover .clients-track, .clients-viewport:has(a:focus-visible) .clients-track, .clients.is-paused .clients-track { animation-play-state: paused; }
.clients.is-static .clients-track { animation: none; width: auto; flex-wrap: wrap; row-gap: .2rem; }
.clients.is-static .clients-viewport { -webkit-mask-image: none; mask-image: none; }
.clients.is-static .clients-pause { display: none; }
@media (max-width: 640px) { .clients-track a { font-size: 1.2rem; } .clients-track li::before { margin: 0 1.2rem; } }
@media (prefers-reduced-motion: reduce) { .clients-track { animation: none; } }

/* Portada: símbolo de marca (sin cifras ni datos) */
.hero-visual { display: grid; place-items: center; }
/* El logo flotante: más recorrido (28 px) y algo más rápido (5,5 s); su tamaño se limita por la altura de la pantalla para que no se corte */
@keyframes mark-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-28px); } }
.hero-mark { width: min(100%, 380px, 52vh); height: auto; display: block; filter: drop-shadow(0 30px 60px rgba(91, 107, 255, .45)); animation: mark-bob 5.5s ease-in-out infinite; }
@media (min-width: 1025px) { .hero-visual { align-self: start; margin-top: -6rem; } }
@media (prefers-reduced-motion: reduce) { .hero-mark { animation: none; } }

/* Datos del sector (cifras externas con fuente) */
.facts { padding-top: 1rem; }
.facts-lead { max-width: 60ch; color: var(--muted); margin: .6rem 0 0; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; }
.fact strong { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 600; letter-spacing: -.03em; color: var(--blue); line-height: 1.05; }
.fact h3 { font-size: 1.05rem; margin: .4rem 0 0; }
.fact p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.fact .src { margin-top: auto; padding-top: .8rem; font-size: .8rem; }
.fact .src a { color: var(--text); text-underline-offset: 3px; }
.fact .src a:hover { color: var(--blue); }
@media (max-width: 900px) { .facts-grid { grid-template-columns: 1fr; } }
.facts .section-head { margin-bottom: 0; }

/* ---------- Cliente destacado (marcador de posición; sustituir por un cliente real con su permiso) ---------- */
.client-feature { padding: 2.4rem 0 1rem; }
.client-feature h2 { font-size: 1.35rem; margin: 0 0 1rem; }
.client-slot { display: flex; align-items: center; gap: 1.4rem; padding: 1.4rem 1.6rem; border: 2px dashed var(--ember); border-radius: 24px; background: var(--bg-soft); }
.client-slot-logo { flex: none; width: 96px; height: 96px; display: grid; place-items: center; border-radius: 20px; border: 2px dashed var(--line); color: var(--muted); font-weight: 600; letter-spacing: .08em; background: #fff; }
.client-slot-name { margin: 0; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.client-slot-desc { margin: .3rem 0 0; color: var(--muted); }
@media (max-width: 640px) { .client-slot { flex-direction: column; align-items: flex-start; } }

/* ---------- Cabecera en pantallas muy estrechas: que no ensanche la página ---------- */
@media (max-width: 420px) {
  .nav { gap: .5rem; }
  .nav-pill { min-width: 0; padding: .5rem .8rem .5rem .6rem; }
  .brand { gap: .45rem; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-name { font-size: .95rem; }
  .nav-cta { padding: .3rem; gap: .2rem; }
  .nav-cta .btn { padding: .5rem .75rem; font-size: .8rem; white-space: nowrap; }
}

/* ---------- Sello de seguridad del pie ---------- */
.footer-secure { display: inline-flex; align-items: center; gap: .45rem; color: inherit; text-decoration: none; opacity: .85; }
.footer-secure:hover, .footer-secure:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer-secure img { flex: none; width: 20px; height: 20px; }

/* ---------- Contacto simplificado (WhatsApp y email) ---------- */
.contact-simple { max-width: 760px; text-align: center; }
.contact-lead { color: var(--muted); font-size: 1.1rem; margin: .8rem auto 0; max-width: 56ch; }
.contact-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.1rem; }
.contact-simple .contact-cards { grid-template-columns: repeat(2, 1fr); text-align: left; margin-top: 2.4rem; }
@media (max-width: 640px) {
  .contact-actions .btn { flex: 1 1 100%; }
  .contact-simple .contact-cards { grid-template-columns: 1fr; }
}
@media (min-width: 901px) { .facts-grid-2 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Tarjetas del hero (datos reales medidos o simulaciones rotuladas) ---------- */
.float-card .fc-chip { font-size: .68rem; padding: .15rem .55rem; border-radius: 999px; background: rgba(255,255,255,.16); color: #e6e7f5; white-space: nowrap; }
.fc-note { margin: .75rem 0 0; font-size: .72rem; color: #c7c9ee; line-height: 1.35; }
.fc-stat { display: flex; align-items: baseline; gap: .1rem .55rem; margin-bottom: .7rem; flex-wrap: wrap; }
.fc-stat small { color: #c7c9ee; font-size: .76rem; flex-basis: 100%; }
.fc-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .76rem; }
.fc-bars li { display: grid; grid-template-columns: 4.3rem 1fr 3rem; align-items: center; gap: .55rem; }
.fc-bars svg { width: 100%; height: 6px; display: block; }
.fc-bars b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.fc-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .8rem; }
.fc-checks li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .55rem; border-radius: 50%; background: var(--ember); }

/* Tarjetas del hero: debajo del logo, SIN taparlo.
   Escritorio: logo arriba, dos tarjetas en fila y la de datos debajo. Tableta y móvil: apiladas. */
.fc-head { gap: .6rem; }
.hero-visual { display: grid; gap: 1rem; align-content: start; align-items: start; justify-items: stretch; min-height: 0; }
.hero-visual .hero-mark { justify-self: center; width: min(60%, 240px); margin-bottom: .5rem; }
.float-card, .float-card.booking, .float-card.money, .float-card.notif { position: relative; inset: auto; width: auto; }
.float-card.money .fc-big { font-size: 1.7rem; }
@media (min-width: 1025px) {
  .hero-visual { grid-template-columns: 1fr 1fr; align-self: start; margin-top: -4rem; }
  .hero-visual .hero-mark { grid-column: 1 / -1; width: min(100%, 250px, 36vh); margin-top: 1.8rem; }
  .float-card.booking { grid-column: 1; grid-row: 2; }
  .float-card.notif { grid-column: 2; grid-row: 2; }
  .float-card.money { grid-column: 1 / -1; grid-row: 3; }
}
@media (max-width: 1024px) {
  .hero-visual { max-width: 520px; }
  .float-card { animation: none; }
}
