/* =====================================================================
   BINER STUDIO — Página pública
   ===================================================================== */
.muted { color: var(--text-3); }
.link { color: var(--blue-300); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 48px) 0 96px; overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 200px; background: linear-gradient(180deg, transparent, var(--bg-0)); z-index: 0; pointer-events: none; }
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.hero-title { font-size: clamp(40px, 6.6vw, 84px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.0; margin-top: 22px; }
.hero-sub { font-size: clamp(17px, 1.8vw, 20px); color: var(--text-2); margin-top: 24px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; color: var(--text-2); font-size: 14px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 16px; height: 16px; color: var(--blue-300); }

/* Visual compuesto del hero */
.hero-visual { position: relative; height: 520px; perspective: 1400px; }
.hv-window {
  position: absolute; left: 4%; top: 6%; width: 82%; height: 72%; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(14,30,66,.85), rgba(5,12,30,.92)); border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(47,123,255,.12), 0 0 60px -10px rgba(47,123,255,.35);
  transform: rotateY(-12deg) rotateX(6deg); transform-style: preserve-3d; animation: floatA 9s ease-in-out infinite;
}
.hv-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.hv-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.hv-bar span { margin-left: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.3); }
.hv-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.hv-hero-block { height: 120px; border-radius: 12px; background: radial-gradient(120% 140% at 0% 0%, rgba(47,123,255,.55), transparent 60%), linear-gradient(135deg, #0d1f4a, #091534); position: relative; overflow: hidden; }
.hv-hero-block::after { content: ""; position: absolute; left: 18px; top: 24px; width: 46%; height: 14px; border-radius: 6px; background: rgba(255,255,255,.75); box-shadow: 0 26px 0 -2px rgba(255,255,255,.28), 0 52px 0 0 rgba(47,123,255,.9); }
.hv-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hv-row span { height: 64px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.hv-lines { display: flex; flex-direction: column; gap: 8px; }
.hv-lines span { height: 8px; border-radius: 4px; background: rgba(255,255,255,.07); }
.hv-code {
  position: absolute; right: 0; top: 0; padding: 16px 18px; border-radius: 16px; font-family: var(--font-mono); font-size: 12px; line-height: 1.8;
  background: rgba(3,8,20,.88); border: 1px solid var(--line-2); color: var(--text-2); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8);
  backdrop-filter: blur(10px); animation: floatB 7s ease-in-out infinite;
}
.hv-code b { color: var(--blue-300); font-weight: 500; } .hv-code em { color: #8ee6ff; font-style: normal; } .hv-code u { text-decoration: none; color: #fff; }
.hv-code .ok { color: var(--ok); }
.hv-stat { position: absolute; left: 0; bottom: 4%; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: rgba(6,14,34,.9); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); animation: floatB 8s ease-in-out infinite reverse; }
.hv-stat-label { font-size: 12px; color: var(--text-3); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; }
.hv-ring { position: relative; width: 48px; height: 48px; }
.hv-ring svg { width: 48px; height: 48px; transform: rotate(-90deg); }
.hv-ring circle { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 4; }
.hv-ring .val { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 100.5; stroke-dashoffset: 100.5; animation: ring 2s var(--ease) .8s forwards; }
@keyframes ring { to { stroke-dashoffset: 2; } }
.hv-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 14px; }
.hv-phone { position: absolute; right: 6%; bottom: 0; width: 132px; height: 250px; border-radius: 26px; padding: 8px; background: #050b1a; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.9), 0 0 40px -10px rgba(47,123,255,.5); animation: floatA 10s ease-in-out infinite reverse; }
.hv-phone-screen { height: 100%; border-radius: 20px; background: linear-gradient(180deg, #0f2558, #071230); padding: 26px 12px; display: flex; flex-direction: column; gap: 10px; }
.hv-phone-screen span { height: 34px; border-radius: 8px; background: rgba(255,255,255,.07); }
.hv-phone-screen span:first-child { height: 70px; background: linear-gradient(135deg, rgba(47,123,255,.8), rgba(70,214,255,.35)); }
@keyframes floatA { 50% { transform: rotateY(-12deg) rotateX(6deg) translateY(-12px); } }
.hv-phone, .hv-code, .hv-stat { will-change: transform; }
@keyframes floatB { 50% { transform: translateY(-10px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border-radius: 14px; border: 1px solid var(--line-2); display: flex; justify-content: center; padding-top: 8px; }
.scroll-cue span { width: 3px; height: 8px; border-radius: 3px; background: var(--blue-300); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (max-width: 960px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 36px); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; max-width: 520px; width: 100%; margin-inline: auto; }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
  .hero-visual { height: 300px; }
  .hv-code { font-size: 10px; padding: 10px 12px; }
  .hv-phone { width: 100px; height: 190px; }
  .hv-stat { padding: 10px 12px; }
}

/* ---------- Beneficios ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit { padding: 28px; }
.benefit h3 { font-size: 19px; margin: 20px 0 10px; }
.benefit p { color: var(--text-2); font-size: 15px; }
@media (max-width: 900px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .benefits-grid { grid-template-columns: 1fr; } .benefit { padding: 22px; } }

/* ---------- Servicios ---------- */
.services::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 10%, rgba(29,98,240,.14), transparent 70%); pointer-events: none; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.service { padding: 32px; display: flex; flex-direction: column; }
.service-top { display: flex; justify-content: space-between; align-items: center; }
.service-num { font-family: var(--font-mono); color: var(--text-3); font-size: 13px; }
.service h3 { font-size: 24px; margin: 24px 0 10px; }
.service > p { color: var(--text-2); margin-bottom: 22px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tag-list li { font-size: 13px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); background: rgba(255,255,255,.02); }
.check-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 15px; }
.check-list svg { width: 18px; height: 18px; color: var(--blue-300); flex: none; margin-top: 3px; }
.service-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--blue-300); font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.service-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.service-link:hover svg { transform: translateX(4px); }
@media (max-width: 960px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Demos ---------- */
.demo-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.demo-filters .chip { cursor: pointer; transition: all .2s; }
.demo-filters .chip:hover { border-color: var(--line-2); color: #fff; }
.demo-filters .chip.active { background: rgba(47,123,255,.18); border-color: rgba(111,177,255,.5); color: #fff; }
.demo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.demo-card { overflow: hidden; display: flex; flex-direction: column; }
.demo-card[hidden] { display: none; }
.demo-thumb { position: relative; aspect-ratio: 16/11; overflow: hidden; border-bottom: 1px solid var(--line); }
.demo-thumb { background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%), #060d1f; }
.demo-thumb .shot { position: absolute; inset: 14px 14px 0; width: calc(100% - 28px); height: calc(100% - 14px); object-fit: cover; object-position: left top; border-radius: 10px 10px 0 0; box-shadow: 0 -10px 40px -10px rgba(0,0,0,.6); transition: transform .6s var(--ease); }
.demo-card:hover .shot { transform: translateY(-6px) scale(1.02); }
.demo-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.demo-body .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-300); }
.demo-body h3 { font-size: 19px; }
.demo-body p { color: var(--text-2); font-size: 14px; }
.demo-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 14px; flex-wrap: wrap; }
.demo-actions .btn { flex: 1; }

/* ---------- Herramientas ---------- */
.tools-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.tool-stage { padding: 8px; }
.tool-tabs { display: flex; gap: 6px; padding: 6px; border-radius: 18px; background: rgba(0,0,0,.25); overflow-x: auto; scrollbar-width: none; }
.tool-tabs::-webkit-scrollbar { display: none; }
.tool-tabs button { flex: 1; min-width: max-content; padding: 10px 14px; border-radius: 12px; border: 1px solid transparent; background: none; color: var(--text-2); font-size: 14px; font-weight: 600; transition: all .2s; }
.tool-tabs button[aria-selected="true"] { background: rgba(47,123,255,.18); border-color: rgba(111,177,255,.35); color: #fff; }
.tool-panel { padding: 24px; }
.tool-panel h3 { font-size: 22px; margin-bottom: 6px; }
.tool-panel > p { color: var(--text-2); font-size: 15px; margin-bottom: 22px; }
.tool-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tool-form .field.full { grid-column: 1 / -1; }
.tool-results { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.tool-result { padding: 16px; border-radius: 14px; background: rgba(47,123,255,.07); border: 1px solid var(--line-2); }
.tool-result span { display: block; font-size: 12px; color: var(--text-3); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.tool-result b { display: block; font-family: var(--font-display); font-size: 22px; margin-top: 6px; letter-spacing: -.01em; }
.tool-result.hl { background: linear-gradient(160deg, rgba(47,123,255,.3), rgba(47,123,255,.08)); border-color: rgba(111,177,255,.45); }
.tool-note { margin-top: 14px; font-size: 13px; color: var(--text-3); }
.tool-library { padding: 8px 4px; }
.tool-library h3 { font-size: 20px; margin-bottom: 6px; }
.tool-library > p { margin-bottom: 18px; font-size: 15px; }
.tool-library ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.tool-library li a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: border-color .2s, background .2s; }
.tool-library li a:hover { border-color: var(--line-2); background: rgba(47,123,255,.06); }
.tool-library li b { display: block; font-size: 15px; }
.tool-library li small { color: var(--text-3); font-size: 13px; }
.tool-library li .lvl { margin-left: auto; flex: none; }
@media (max-width: 960px) { .tools-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .tool-form { grid-template-columns: 1fr; } .tool-panel { padding: 18px 14px; } }

/* ---------- Proceso ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; position: relative; }
.step { position: relative; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(20,40,86,.22), rgba(8,18,40,.2)); overflow: hidden; }
.step::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--blue-500), transparent); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) .2s; }
.step.in::after { transform: scaleX(1); }
.step-n { font-family: var(--font-mono); font-size: 13px; color: var(--blue-300); padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(111,177,255,.3); background: rgba(47,123,255,.1); }
.step h3 { font-size: 20px; margin: 22px 0 8px; }
.step p { color: var(--text-2); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Planes ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { padding: 32px; display: flex; flex-direction: column; }
.plan.highlight { border-color: rgba(111,177,255,.5); box-shadow: var(--shadow-glow); background: linear-gradient(180deg, rgba(29,98,240,.25), rgba(8,18,40,.6)); }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 28px; }
.plan h3 { font-family: var(--font-mono); font-size: 14px; letter-spacing: .2em; color: var(--blue-200); font-weight: 500; }
.plan-price { margin: 22px 0 6px; font-family: var(--font-display); }
.plan-price small { display: block; font-size: 13px; color: var(--text-3); font-family: var(--font-body); }
.plan-price b { font-size: 34px; letter-spacing: -.02em; }
.plan-price b.tbd { font-size: 24px; }
.plan .check-list { margin: 22px 0 28px; }
.plan .btn { margin-top: auto; }
.care { margin-top: 56px; padding: 32px; border-radius: var(--r-xl); border: 1px solid var(--line); background: rgba(8,18,40,.5); }
.care-head h3 { font-size: 26px; margin-bottom: 8px; }
.care-head p { max-width: 640px; }
.care-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.care-plan { padding: 22px; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255,255,255,.02); display: flex; flex-direction: column; }
.care-plan h4 { font-family: var(--font-mono); font-size: 13px; letter-spacing: .16em; color: var(--blue-200); font-weight: 500; }
.care-plan .price { font-family: var(--font-display); font-size: 20px; margin: 10px 0 14px; }
.care-plan .price small { font-size: 13px; color: var(--text-3); font-family: var(--font-body); }
.care-plan ul { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--text-2); }
.care-plan li { display: flex; gap: 8px; }
.care-plan li svg { width: 16px; height: 16px; color: var(--blue-300); flex: none; margin-top: 3px; }
.care-plan .cond { margin-top: 14px; font-size: 12px; color: var(--text-3); }
@media (max-width: 960px) { .plans-grid, .care-grid { grid-template-columns: 1fr; } .plan { padding: 26px; } .care { padding: 22px; } }

/* ---------- Testimonios ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi { margin: 0; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.testi-demo { border-style: dashed; }
.testi blockquote { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.65; }
.testi figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi figcaption small { display: block; color: var(--text-3); font-size: 13px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px dashed var(--line-2); color: var(--text-3); font-family: var(--font-display); }
.testi-cta { align-items: flex-start; background: linear-gradient(160deg, rgba(29,98,240,.25), rgba(8,18,40,.5)); border-color: rgba(111,177,255,.35); }
.testi-cta h3 { font-size: 22px; }
.testi-cta p { color: var(--text-2); }
@media (max-width: 960px) { .testi-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-layout .section-head .btn { margin-top: 28px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(255,255,255,.015); transition: border-color .3s, background .3s; }
.faq-list details[open] { border-color: var(--line-2); background: rgba(47,123,255,.05); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--blue-300); border-bottom: 2px solid var(--blue-300); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-list details > div { padding: 0 22px 22px; color: var(--text-2); font-size: 15px; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .section-head { position: static; } }

/* ---------- Contacto ---------- */
.contact-card { padding: clamp(26px, 5vw, 56px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); overflow: hidden; background: linear-gradient(140deg, rgba(29,98,240,.22), rgba(5,12,30,.7) 60%); border-color: var(--line-2); }
.contact-copy, .contact-form { position: relative; z-index: 1; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 32px; }
.contact-actions .btn[hidden] { display: none; }
.contact-meta { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; color: var(--text-2); font-size: 15px; }
.contact-meta li { display: flex; align-items: center; gap: 10px; }
.contact-meta li[hidden] { display: none; }
.contact-meta svg { width: 18px; height: 18px; color: var(--blue-300); }
.contact-form { display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: var(--r-lg); background: rgba(3,8,20,.6); border: 1px solid var(--line); }
.contact-form h3 { font-size: 20px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue-500); flex: none; }
.consent.invalid { color: var(--err); }
.form-status:empty { display: none; }
@media (max-width: 960px) { .contact-card { grid-template-columns: 1fr; } .contact-actions .btn { width: 100%; white-space: normal; } .contact-form { padding: 20px; } }

.footer-about { margin-top: 16px; max-width: 320px; font-size: 14px; }
