/* Landing de GesConta — móvil primero. Marca de estudio_branding
   (navy #0B1220, teal #14B8A6, ámbar #F59E0B); Bricolage Grotesque + IBM Plex. */
:root {
  --navy: #0B1220; --navy-2: #111a2e; --teal: #14B8A6; --teal-oscuro: #0f766e; --teal-claro: #5eead4;
  --ambar: #F59E0B; --tinta: #0f172a; --tinta-2: #334155; --tinta-3: #475569; --gris: #64748b; --gris-2: #94a3b8;
  --linea: #e2e8f0; --linea-2: #cbd5e1; --fondo: #f7f8fa; --papel: #ffffff;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --texto: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
  --ancho: 1280px; --gutter: clamp(20px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fondo); color: var(--tinta); font-family: var(--texto); font-size: clamp(16px, 1vw + 12px, 17px); line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-oscuro); text-decoration: none; }
a:hover { color: #115e59; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; text-wrap: balance; margin: 0; line-height: 1.1; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 76px; }
.mono { font-family: var(--mono); }
.wrap { max-width: var(--ancho); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.kicker { font-family: var(--mono); font-size: 13px; color: var(--teal-oscuro); letter-spacing: .08em; text-transform: uppercase; }
.oscuro .kicker { color: var(--teal-claro); }
.seccion { padding-block: clamp(56px, 8vw, 88px); }
.seccion--corta { padding-block: clamp(40px, 6vw, 56px); }
.oscuro { background: var(--navy); color: #e2e8f0; }
.oscuro h2, .oscuro h3 { color: #fff; }
.oscuro p { color: #cbd5e1; }
.oscuro a { color: var(--teal-claro); }
.claro { background: var(--papel); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.h2 { font-size: clamp(28px, 3.2vw, 38px); }
.h2--m { font-size: clamp(26px, 2.6vw, 32px); }
.h3 { font-size: 19px; }
.bloque { display: flex; flex-direction: column; gap: 14px; }
.parrafo { color: var(--tinta-3); }
.parrafo--max { max-width: 60ch; }

/* Botones (≥44px de alto) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 16px; border: 1.5px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(11,18,32,.55); }
.btn--navy { background: var(--navy); color: #fff; } .btn--navy:hover { background: #162238; color: #fff; }
.btn--teal { background: var(--teal); color: #042f2e; } .btn--teal:hover { background: #2dd4bf; color: #042f2e; }
.btn--borde { border-color: var(--linea-2); color: var(--navy); background: transparent; } .btn--borde:hover { border-color: var(--navy); color: var(--navy); box-shadow: none; }
.oscuro .btn--borde, .contacto .btn--borde { border-color: #334155; color: #e2e8f0; } .oscuro .btn--borde:hover, .contacto .btn--borde:hover { border-color: #e2e8f0; color: #fff; }
.btn--grande { padding: 16px 26px; font-size: 17px; }

/* Barra fija + menú móvil sin JS */
.barra { position: sticky; top: 0; z-index: 50; background: rgba(247,248,250,.86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(15,23,42,.08); }
.barra__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.marca { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--navy); white-space: nowrap; }
.marca img { width: 34px; height: 34px; }
.nav { display: none; }
.nav a { position: relative; color: var(--tinta-2); font-weight: 500; font-size: 15px; padding: 6px 0; transition: color .18s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; border-radius: 2px; }
.nav a:hover { color: var(--navy); } .nav a:hover::after { transform: scaleX(1); }
.barra__cta { display: none; }
.menu-toggle { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1.5px solid var(--linea-2); border-radius: 10px; background: var(--papel); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .cerrar { display: none; }
.menu-movil { display: none; flex-direction: column; gap: 4px; padding-top: 8px; padding-bottom: 16px; border-top: 1px solid var(--linea); }
.menu-movil a { display: block; padding: 12px 4px; font-size: 17px; font-weight: 500; color: var(--tinta-2); border-bottom: 1px solid var(--linea); }
.menu-movil a.btn { margin-top: 12px; display: inline-flex; justify-content: center; padding: 12px 22px; border-bottom: 0; color: #fff; }
.menu-toggle:checked ~ .barra__in .menu-btn .abrir { display: none; }
.menu-toggle:checked ~ .barra__in .menu-btn .cerrar { display: block; }
.menu-toggle:checked ~ .menu-movil { display: flex; }
@media (min-width: 900px) {
  .nav { display: flex; gap: 28px; }
  .barra__cta { display: inline-flex; padding: 10px 18px; font-size: 15px; }
  .menu-btn, .menu-movil { display: none !important; }
}

/* Hero */
.hero { position: relative; background: radial-gradient(900px 480px at 18% 0%, rgba(20,184,166,.14), transparent 60%), radial-gradient(700px 420px at 92% 20%, rgba(245,158,11,.12), transparent 60%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(15,23,42,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,.045) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(#000, transparent 85%); mask-image: linear-gradient(#000, transparent 85%); pointer-events: none; }
.hero > * { position: relative; }
.hero__in { padding-block: clamp(44px, 6vw, 72px) clamp(40px, 5vw, 64px); display: grid; gap: 32px; }
.hero h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.02; color: var(--navy); }
.hero__texto { display: flex; flex-direction: column; gap: 22px; }
.hero__lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--tinta-2); max-width: 34em; }
.hero__acciones { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__pie { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 8px; font-size: 14px; color: var(--gris); }
@media (min-width: 900px) { .hero__in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; } }

/* Captura en marco de navegador / celular */
.shot { border-radius: 12px; overflow: hidden; border: 1px solid #d5dbe3; box-shadow: 0 24px 48px -24px rgba(11,18,32,.35); background: var(--papel); transition: transform .25s ease, box-shadow .25s ease; }
.shot:hover { transform: translateY(-4px); box-shadow: 0 32px 56px -24px rgba(11,18,32,.45); }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #eef1f5; border-bottom: 1px solid #d5dbe3; }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--linea-2); display: block; }
.shot__url { margin-left: 10px; flex: 1; min-width: 0; background: var(--papel); border-radius: 5px; font-family: var(--mono); font-size: 11px; color: var(--gris); padding: 3px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot--oscuro { border-color: #2b3a57; } .shot--oscuro .shot__bar { background: var(--navy-2); border-color: #2b3a57; } .shot--oscuro .shot__bar i { background: #334155; } .shot--oscuro .shot__url { background: var(--navy); color: var(--gris-2); }
.telefono { width: min(300px, 78vw); margin: 0 auto; border-radius: 34px; padding: 10px; background: var(--navy); box-shadow: 0 40px 80px -30px rgba(11,18,32,.6); }
.telefono--borde { border: 1px solid #2b3a57; background: var(--navy-2); }
.telefono > div { border-radius: 26px; overflow: hidden; background: #f5f4ed; }
figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
figcaption { font-size: 14px; color: var(--gris); text-align: center; }
.oscuro figcaption { color: var(--gris-2); }

/* Rejillas (min-width: 0 en los hijos: una captura de 1000 px no puede ensanchar la columna en móvil) */
.dos, .tres, .cuatro { display: grid; gap: 20px; }
.dos > *, .tres > *, .cuatro > *, .pantalla > *, .como > *, .hero__in > * { min-width: 0; }
.dos--centro { align-items: center; }
.dos--arriba { align-items: start; }
@media (min-width: 720px) { .tres { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } .cuatro { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .dos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } .dos--ancha { gap: 56px; } }
.tarjeta { background: var(--papel); border: 1px solid var(--linea); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.tarjeta:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -20px rgba(11,18,32,.35); border-color: var(--linea-2); }
.tarjeta p { font-size: 15px; color: var(--tinta-3); }
.num { font-family: var(--mono); font-size: 13px; color: var(--teal-oscuro); }
.frase { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--teal); padding-top: 18px; }
.frase h3 { font-size: 21px; }
.lista { display: flex; flex-direction: column; gap: 12px; }
.lista li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--tinta-2); }
.lista svg { flex: none; margin-top: 4px; width: 18px; height: 18px; }
.oscuro .lista li { color: #e2e8f0; font-size: 15px; }
.lista--dos { display: grid; gap: 12px 24px; }
@media (min-width: 720px) { .lista--dos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pantalla { display: grid; gap: 28px; }
@media (min-width: 900px) { .pantalla { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; } .pantalla--inv .pantalla__texto { order: -1; } }
.pantallas { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 64px); }
.como { display: grid; gap: 32px; }
@media (min-width: 900px) { .como { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 48px; align-items: center; } }

/* Avisos y cajas */
.aviso { background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.35); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.aviso strong { color: #fcd34d; }
.aviso span { font-size: 15px; color: #e2e8f0; }
.cifras { background: var(--papel); border: 1px solid var(--linea); border-radius: 12px; padding: 14px 18px; display: grid; gap: 10px; }
.cifras div { display: flex; flex-direction: column; }
.cifras small { font-size: 12px; color: var(--gris); }
.cifras b { font-family: var(--mono); font-weight: 500; font-size: 17px; font-variant-numeric: tabular-nums; }
@media (min-width: 560px) { .cifras { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.buscador { display: flex; flex-direction: column; gap: 10px; background: var(--fondo); border: 1px solid var(--linea); border-radius: 14px; padding: 20px; }
.buscador__fila { display: flex; gap: 8px; }
.buscador__campo { flex: 1; min-width: 0; background: var(--papel); border: 1px solid var(--linea-2); border-radius: 8px; padding: 12px 14px; color: var(--gris-2); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buscador__res { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--papel); border: 1px solid var(--linea); border-radius: 8px; padding: 10px 14px; font-size: 14px; }
.chip { background: #fef3c7; color: #92400e; padding: 2px 8px; border-radius: 999px; font-size: 12px; white-space: nowrap; }
.cita { padding: 24px 26px; background: var(--papel); border: 1px dashed var(--linea-2); border-radius: 14px; display: flex; flex-direction: column; gap: 12px; color: var(--gris-2); }
.cita p { font-size: 17px; font-style: italic; color: var(--gris-2); }
.cita small { font-size: 14px; color: var(--linea-2); }
.contacto { display: flex; flex-direction: column; gap: 18px; background: var(--navy); color: #e2e8f0; border-radius: 16px; padding: 28px; }
.contacto h3 { font-size: 26px; color: #fff; }
.contacto p { font-size: 15px; color: #cbd5e1; }
.contacto__acciones { display: flex; flex-direction: column; gap: 10px; }
.contacto__datos { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: #cbd5e1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; }
.contacto__datos a { color: var(--teal-claro); }
.contacto__datos .mono { color: #fff; }
.pie { border-top: 1px solid var(--linea); padding-block: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: var(--gris); }

/* Entrada suave */
.reveal { animation: reveal .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; } .btn, .shot, .tarjeta { transition: none; } html { scroll-behavior: auto; } }
