/* Landing de TallerByteFix: mismo lenguaje visual que la app (cristal oscuro, acento azul). Se carga después de app.css. */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--smoky-black); color: var(--white-2); font-family: var(--ff); display: block; min-height: 100vh; overflow-x: hidden; }
.lp-bg { position: fixed; inset: 0; z-index: -1; background: var(--smoky-black); overflow: hidden; }
.lp-bg::before { content: ''; position: absolute; inset: -40px; background: url('../img/bg.png') center / cover no-repeat; filter: blur(14px) brightness(.5) saturate(1.1); transform: scale(1.05); }
.lp-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 0%, hsla(203, 88%, 47%, .14), transparent 55%), linear-gradient(to bottom, transparent 40%, rgba(10, 10, 12, .6)); }
main, .lp-nav, .lp-foot { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.lp-nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; max-width: none; padding: 12px max(24px, calc((100vw - 1132px) / 2)); background: rgba(14, 14, 17, .72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.lp-brand { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.lp-brand img { border-radius: 50%; display: block; }
.lp-brand b { font-weight: 600; letter-spacing: .2px; }
.lp-brand b span { color: var(--accent); }
.lp-nav nav { display: flex; gap: 22px; margin-left: auto; color: var(--light-gray); font-size: 14.5px; }
.lp-nav nav a:hover { color: var(--white-1); }
.lp-nav-cta { display: flex; gap: 10px; }

.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 9px 16px; font: inherit; font-size: 14.5px; cursor: pointer; color: var(--white-1); background: rgba(255, 255, 255, .05); transition: transform .15s, background .15s, box-shadow .15s, border-color .15s; white-space: nowrap; }
.lp-btn:hover { background: rgba(255, 255, 255, .1); transform: translateY(-1px); }
.lp-btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-bold)); border-color: transparent; box-shadow: 0 8px 24px hsla(203, 88%, 47%, .3); }
.lp-btn.primary:hover { box-shadow: 0 10px 30px hsla(203, 88%, 47%, .45); }
.lp-btn.lg { padding: 13px 22px; font-size: 16px; border-radius: 14px; }
.lp-btn:disabled { opacity: .6; cursor: default; transform: none; }

.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: hsla(203, 88%, 47%, .1); border: 1px solid hsla(203, 88%, 47%, .3); padding: 5px 12px; border-radius: 999px; }

.lp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 56px; }
.lp-hero h1 { font-size: clamp(36px, 5.2vw, 62px); line-height: 1.04; margin: 18px 0 18px; font-weight: 600; }
.lp-hero h1 em { font-style: normal; background: var(--text-gradient-yellow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero-text > p { font-size: 17px; line-height: 1.6; color: var(--light-gray); max-width: 520px; }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 22px; }
.lp-points { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; color: var(--light-gray); font-size: 13.5px; }
.lp-points i { color: var(--accent); margin-right: 5px; }
.lp-hero-art { min-width: 0; }
.lp-live { border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06); }
.lp-live .live { margin-top: 0; }
.lp-caption { margin-top: 12px; font-size: 13px; color: var(--light-gray-70); text-align: center; }
.lp-caption i { color: var(--accent); margin-right: 5px; }

.lp-section { padding-top: 64px; padding-bottom: 24px; }
.lp-head { text-align: center; margin-bottom: 36px; display: grid; gap: 14px; justify-items: center; }
.lp-head h2, .lp-portal h2, .lp-contact h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; font-weight: 600; max-width: 760px; }

.lp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lp-card { padding: 22px; border-radius: 18px; background: rgba(24, 24, 28, .62); border: 1px solid rgba(255, 255, 255, .09); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: transform .2s, border-color .2s; }
.lp-card:hover { transform: translateY(-3px); border-color: hsla(203, 88%, 47%, .5); }
.lp-card .ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; font-size: 21px; color: var(--accent); background: hsla(203, 88%, 47%, .12); border: 1px solid hsla(203, 88%, 47%, .28); margin-bottom: 14px; }
.lp-card h3 { font-size: 17px; margin-bottom: 7px; font-weight: 600; }
.lp-card p { font-size: 14px; line-height: 1.55; color: var(--light-gray); }

.lp-portal { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-top: 80px; }
.lp-portal-text { display: grid; gap: 16px; justify-items: start; }
.lp-portal-text > p, .lp-contact-text > p { color: var(--light-gray); line-height: 1.6; font-size: 16px; }
.lp-checks { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; }
.lp-checks i { color: var(--ok); margin-right: 8px; }

.lp-phone { justify-self: center; width: min(320px, 100%); padding: 18px 16px 20px; border-radius: 38px; background: #101116; border: 8px solid #23242b; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08), 0 0 80px hsla(203, 88%, 47%, .15); display: grid; gap: 12px; transform: rotate(2deg); }
.ph-top { display: flex; align-items: center; gap: 10px; }
.ph-top img { border-radius: 50%; }
.ph-top b { display: block; font-size: 14px; }
.ph-top span { font-size: 11.5px; color: var(--light-gray-70); }
.lp-phone h3 { font-size: 21px; font-weight: 600; margin: 4px 0 0; }
.ph-card, .ph-m { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; padding: 12px; display: grid; gap: 9px; }
.ph-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ph-plate { font-weight: 600; font-size: 14px; letter-spacing: .5px; background: #f2f2f2; color: #111; border-radius: 6px; padding: 2px 8px; }
.ph-chip { font-size: 11px; padding: 3px 9px; border-radius: 999px; border: 1px solid currentColor; }
.ph-chip.warn { color: var(--warn); }
.ph-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.ph-steps i { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.ph-steps i.on { background: var(--accent); }
.ph-card small { font-size: 12px; color: var(--light-gray); }
.ph-m { grid-template-columns: 1fr auto; align-items: center; font-size: 13px; }
.ph-m > div i { margin-right: 6px; }
.ph-m b { font-size: 12px; font-weight: 600; }
.ph-m .ph-bar { grid-column: 1 / -1; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.ph-m .ph-bar u { display: block; height: 100%; border-radius: 4px; }
.ph-m.bad { color: var(--danger); } .ph-m.bad .ph-bar u { background: var(--danger); }
.ph-m.warn { color: var(--warn); } .ph-m.warn .ph-bar u { background: var(--warn); }
.ph-m.ok { color: var(--ok); } .ph-m.ok .ph-bar u { background: var(--ok); }
.ph-m > div { color: var(--white-2); }

.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.lp-steps li { position: relative; padding: 26px 22px; border-radius: 18px; background: rgba(24, 24, 28, .62); border: 1px solid rgba(255, 255, 255, .09); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.lp-steps b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-bold)); font-size: 17px; margin-bottom: 14px; }
.lp-steps h3 { font-size: 17px; margin-bottom: 7px; }
.lp-steps p { color: var(--light-gray); font-size: 14px; line-height: 1.55; }

.lp-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.lp-faq details { border-radius: 14px; background: rgba(24, 24, 28, .62); border: 1px solid rgba(255, 255, 255, .09); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.lp-faq summary { list-style: none; cursor: pointer; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15.5px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary i { color: var(--accent); transition: transform .2s; }
.lp-faq details[open] summary i { transform: rotate(180deg); }
.lp-faq details p { padding: 0 18px 16px; color: var(--light-gray); line-height: 1.6; font-size: 14.5px; }

.lp-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 80px; padding-bottom: 72px; }
.lp-contact-text { display: grid; gap: 16px; justify-items: start; }
.lp-mini { color: var(--light-gray-70); font-size: 14px; } .lp-mini i { color: var(--accent); margin-right: 6px; }
.lp-form { display: grid; gap: 14px; padding: 26px; border-radius: 20px; background: rgba(24, 24, 28, .72); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 20px 60px rgba(0, 0, 0, .4); position: relative; }
.lp-form label { display: grid; gap: 6px; font-size: 13px; color: var(--light-gray); }
.lp-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-form input, .lp-form textarea { font: inherit; font-size: 15px; color: var(--white-1); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 11px; padding: 11px 13px; outline: none; transition: border-color .15s, box-shadow .15s; width: 100%; box-sizing: border-box; resize: vertical; }
.lp-form input:focus, .lp-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px hsla(203, 88%, 47%, .22); }
.lp-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lp-err { color: #ff8b8b; font-size: 13.5px; min-height: 0; }
.lp-err:empty { display: none; }
.lp-ok { color: var(--ok); background: hsla(152, 62%, 44%, .12); border: 1px solid hsla(152, 62%, 44%, .35); padding: 12px 14px; border-radius: 12px; font-size: 14.5px; }

.lp-foot { max-width: none; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(10, 10, 12, .6); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 22px max(24px, calc((100vw - 1132px) / 2)); font-size: 14px; color: var(--light-gray); }
.lp-foot nav { margin-left: auto; display: flex; gap: 20px; }
.lp-foot nav a:hover { color: var(--white-1); }

@media (max-width: 1000px) {
  .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-hero, .lp-portal, .lp-contact { grid-template-columns: 1fr; }
  .lp-hero { padding-top: 40px; }
  .lp-phone { transform: none; }
}
@media (max-width: 720px) {
  main, .lp-nav, .lp-foot { padding-left: 16px; padding-right: 16px; }
  .lp-nav { padding: 10px 16px; gap: 12px; }
  .lp-nav nav { display: none; }
  .lp-nav-cta { margin-left: auto; }
  .lp-nav-cta .ghost { display: none; }
  .lp-brand b { font-size: 16px; }
  .lp-grid, .lp-steps { grid-template-columns: 1fr; }
  .lp-form .two { grid-template-columns: 1fr; }
  .lp-form { padding: 20px 16px; }
  .lp-section { padding-top: 48px; }
  .lp-foot nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .lp-card, .lp-btn { transition: none; } }

/* Aviso de cookies */
.cookie-bar { position: fixed; left: 50%; bottom: 18px; z-index: 90; width: min(720px, calc(100% - 28px)); transform: translate(-50%, 24px); opacity: 0; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .3s; display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 20px; border-radius: 20px; background: rgba(22, 22, 22, .82); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 18px 50px rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.cookie-bar[hidden] { display: none; }
.cookie-bar.show { transform: translate(-50%, 0); opacity: 1; }
.cookie-bar p { margin: 0; font-size: 14px; line-height: 1.5; color: #c9c9c9; }
.cookie-bar .cookie-ico { font-size: 22px; color: var(--accent); flex: none; }
.cookie-bar button { flex: none; border: 0; cursor: pointer; padding: 10px 20px; border-radius: 999px; font: 700 14px/1 inherit; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-bold)); box-shadow: 0 6px 18px hsla(203, 88%, 47%, .3); }
@media (max-width: 560px) { .cookie-bar { flex-direction: column; align-items: stretch; bottom: 10px; } .cookie-bar button { width: 100%; padding: 12px; } .cookie-bar .cookie-ico { display: none; } }
@media (prefers-reduced-motion: reduce) { .cookie-bar { transition: none; } }
