/* FiberGIS · landing (sin fuentes ni recursos externos) */
:root {
  --ink: #0f172a; --ink2: #334155; --muted: #64748b; --line: #e2e8f0; --soft: #f8fafc;
  --blue: #2563eb; --blue2: #1d4ed8; --blue-soft: #eff6ff; --sky: #38bdf8;
  --radius: 14px; --shadow: 0 1px 2px rgba(15,23,42,.06), 0 12px 40px rgba(15,23,42,.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: #fff; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .62rem 1.05rem; border-radius: 10px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; font-family: inherit; }
.btn-primary { background: linear-gradient(135deg, var(--blue2), var(--blue)); color: #fff; box-shadow: 0 6px 18px rgba(37,99,235,.28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(37,99,235,.35); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue2); }
.btn-white { background: #fff; color: var(--blue2); }
.btn-lg { padding: .85rem 1.4rem; font-size: 1.02rem; border-radius: 12px; }
.btn-block { width: 100%; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.18rem; color: var(--ink); text-decoration: none; letter-spacing: .2px; }
.logo img { border-radius: 8px; }
.logo.small { font-size: 1rem; }
.links { display: flex; gap: 22px; margin-left: 12px; }
.links a { color: var(--ink2); text-decoration: none; font-size: .95rem; }
.links a:hover { color: var(--blue); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; }

/* Hero */
.hero { background: radial-gradient(900px 500px at 85% -10%, #dbeafe 0%, rgba(219,234,254,0) 60%), radial-gradient(700px 400px at -10% 10%, #e0f2fe 0%, rgba(224,242,254,0) 55%); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.02fr 1.1fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue2); background: var(--blue-soft); border: 1px solid #bfdbfe; padding: .25rem .65rem; border-radius: 999px; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.1; letter-spacing: -.02em; margin: 18px 0 16px; }
.hl { background: linear-gradient(90deg, var(--blue2), #0ea5e9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.12rem; color: var(--ink2); margin: 0 0 26px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.checks li { position: relative; padding-left: 28px; color: var(--ink2); }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.hero-shot { position: relative; }
.browser { border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(15,23,42,.22), 0 0 0 1px rgba(15,23,42,.08); background: #fff; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.browser .bar { height: 30px; background: #f1f5f9; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.browser .bar i:nth-child(1) { background: #f87171; } .browser .bar i:nth-child(2) { background: #fbbf24; } .browser .bar i:nth-child(3) { background: #34d399; }
.phone { position: absolute; right: -10px; bottom: -40px; width: 30%; max-width: 190px; border-radius: 26px; overflow: hidden; border: 6px solid #0f172a; box-shadow: 0 24px 60px rgba(15,23,42,.35); background: #0f172a; }

/* Franja */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.strip b { display: block; font-size: 1.15rem; }
.strip span { color: var(--muted); font-size: .9rem; }

/* Secciones */
.sec { padding: 88px 0; }
.sec.alt { background: linear-gradient(180deg, #f8fafc, #fff); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; letter-spacing: -.015em; margin: 14px 0 12px; }
.sec-head p { color: var(--ink2); font-size: 1.05rem; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: box-shadow .15s, transform .15s, border-color .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #bfdbfe; }
.card svg { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--blue-soft); stroke: var(--blue2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.02rem; margin: 14px 0 6px; }
.card p { margin: 0; color: var(--ink2); font-size: .92rem; }

/* Escaparate */
.show { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; padding-top: 34px; padding-bottom: 34px; }
.show.rev .show-text { order: 2; }
.show-text p { color: var(--ink2); font-size: 1.04rem; }
.show-img img { border-radius: 14px; box-shadow: var(--shadow), 0 0 0 1px rgba(15,23,42,.06); }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--blue2), var(--blue)); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps b { font-size: 1.08rem; }
.steps p { color: var(--ink2); margin: 6px 0 0; }

/* FAQ */
.faq { max-width: 820px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: 12px; font-size: 1.4rem; color: var(--blue); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: var(--ink2); }

/* CTA final */
.final { background: linear-gradient(135deg, #1e3a8a, #2563eb 55%, #0ea5e9); color: #fff; }
.final-in { text-align: center; padding-top: 72px; padding-bottom: 72px; }
.final h2 { color: #fff; margin-top: 0; }
.final p { color: #dbeafe; font-size: 1.08rem; margin: 0 0 24px; }

/* Pie */
.foot { border-top: 1px solid var(--line); }
.foot-in { display: flex; align-items: center; gap: 24px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 18px; margin-left: auto; }
.foot-links a { color: var(--ink2); text-decoration: none; font-size: .92rem; }

/* Alta */
.auth { padding: 56px 0 80px; background: radial-gradient(800px 400px at 90% 0%, #dbeafe 0%, rgba(219,234,254,0) 60%); min-height: calc(100vh - 140px); }
.auth-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.auth-side h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.auth-card label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink2); margin-bottom: 14px; }
.auth-card input[type=text], .auth-card input[type=email], .auth-card input[type=tel], .auth-card input[type=password] { display: block; width: 100%; margin-top: 6px; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; }
.auth-card input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.opt { font-weight: 400; color: var(--muted); }
.chk { display: flex !important; gap: .55rem; align-items: flex-start; font-weight: 400 !important; }
.chk input { margin-top: .25rem; width: 16px; height: 16px; accent-color: var(--blue); }
.err { display: block; color: #dc2626; font-weight: 500; margin-top: 4px; font-size: .8rem; }
.hint { display: block; color: var(--muted); font-weight: 400; margin-top: 4px; font-size: .8rem; }
.form-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: 10px; padding: .65rem .8rem; margin-bottom: 16px; font-size: .9rem; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.note { background: var(--blue-soft); border: 1px solid #bfdbfe; border-radius: 10px; padding: .7rem .9rem; color: var(--blue2); }

@media (max-width: 980px) {
  .hero-in, .show, .auth-in { grid-template-columns: 1fr; gap: 36px; }
  .show.rev .show-text { order: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .strip-in { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .browser { transform: none; }
  .phone { right: 8px; bottom: -26px; width: 26%; }
  .links { display: none; }
}
@media (max-width: 560px) {
  .grid, .strip-in, .f2 { grid-template-columns: 1fr; }
  .nav-cta .btn-ghost { display: none; }
  .hero-in { padding-top: 36px; }
  .sec { padding: 64px 0; }
  .foot-links { margin-left: 0; }
}
