/* ===== Fondos animados (canvas) ===== */
[data-bg] { position: relative; overflow: hidden; }
.pay .bgfx { opacity: .9; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); }
.final.bg-host .orb { opacity: .14; }
.final.bg-host { min-height: min(92vh, 760px); display: grid; align-content: center; }
.mf.bg-host .bgfx { opacity: .9; }

/* ===== Galería de ejemplos ===== */
.gal { background: var(--night); color: #F5F5F7; overflow: hidden; }
.gal-block { margin-top: clamp(56px, 8vw, 110px); }
.gal-block:first-of-type { margin-top: 0; }
.gal-head { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; justify-content: space-between; margin-bottom: 26px; }
.gal-head h3 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: #fff; }
.gal-head p { color: rgba(245,245,247,.62); max-width: 46ch; font-weight: 500; }
.car-hint { text-align: center; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 6px; }

/* ===== Modal de creación ===== */
.rm-lock { overflow: hidden; }
.rm { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .22s ease; }
.rm[hidden] { display: none; }
.rm.in { opacity: 1; }
.rm-bg { position: absolute; inset: 0; background: rgba(7,7,12,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.rm-card { position: relative; width: min(460px, 100%); max-height: calc(100svh - 40px); overflow: auto; background: var(--bg); color: var(--text); border-radius: 28px; padding: 30px 28px 26px; display: grid; gap: 14px;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.7), inset 0 0 0 1px rgba(0,0,0,.05); transform: translateY(14px) scale(.98); transition: transform .35s var(--ease); }
.rm.in .rm-card { transform: none; }
.rm-card h3 { font-size: 1.7rem; }
.rm-sub { color: var(--muted); font-size: .95rem; margin-top: -6px; }
.rm-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; background: var(--bg-2); color: var(--text); font-size: 1.3rem; line-height: 1; }
.rm-card label { display: grid; gap: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--muted); }
.rm-card input, .rm-card select { font: inherit; font-weight: 500; font-size: 1rem; color: var(--text); background: #fff; border: 0; border-radius: 14px; padding: 13px 14px; box-shadow: inset 0 0 0 1px var(--line); outline: none; transition: box-shadow .2s; width: 100%; }
.rm-card input:focus, .rm-card select:focus { box-shadow: inset 0 0 0 2px var(--indigo); }
.rm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rm-err { min-height: 1.2em; color: #C0264F; font-size: .88rem; font-weight: 600; }
.rm-card .btn.busy { opacity: .6; pointer-events: none; }
.rm-ok { display: grid; gap: 14px; text-align: center; justify-items: center; }
.rm-ok h3 { font-size: 1.7rem; }
.rm-ok .lead { font-size: 1rem; }
.rm-ok a.url { font-weight: 700; color: var(--indigo); word-break: break-all; }
.rm-ok .rm-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@media (max-width: 480px) { .rm-row { grid-template-columns: 1fr; } .rm-card { padding: 26px 20px 22px; } }
#rmForm { display: grid; gap: 14px; }

/* ===== Footer completo ===== */
.ft { background: var(--night); color: #9A9AA6; font-size: .9rem; font-weight: 500; padding-top: clamp(56px, 7vw, 90px); }
.ft a { color: inherit; text-decoration: none; transition: color .25s; }
.ft a:hover { color: #fff; }
.ft-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px 32px; padding-bottom: 48px; }
.ft .brand-foot { font-size: 2.6rem; letter-spacing: -.06em; line-height: 1; margin-bottom: 18px; display: inline-flex; }
.ft-about p { max-width: 34ch; line-height: 1.6; }
.ft-soc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.soc { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: transform .3s var(--ease), background .3s; }
.soc svg { width: 18px; height: 18px; fill: #E9E9EF; }
.soc:hover { transform: translateY(-3px); background: linear-gradient(135deg, #E8452C, #F58A30); }
.ft-col { display: grid; align-content: start; gap: 11px; }
.ft-col h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #F5F5F7; margin-bottom: 6px; font-weight: 700; }
.ft-col span { line-height: 1.55; }
.ft-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid #1C1C26; font-size: .82rem; }
.ft-links { display: flex; gap: 18px; flex-wrap: wrap; }
.ft-note { padding-bottom: 36px; font-size: .78rem; color: #6B6B78; }
@media (max-width: 980px) { .ft-top { grid-template-columns: 1fr 1fr 1fr; } .ft-about { grid-column: 1 / -1; } }
@media (max-width: 600px) { .ft-top { grid-template-columns: 1fr 1fr; } }

/* «Crea tu página»: todo cabe en la pantalla, sin tener que bajar */
.rm-card { padding: 24px 24px 20px; gap: 10px; }
#rmForm { display: grid; gap: 10px; }
.rm-card h3 { font-size: 1.5rem; }
.rm-card .eyebrow { margin: 0; }
.rm-sub { margin-top: -4px; font-size: .88rem; }
.rm-card label { gap: 4px; }
.rm-card input, .rm-card select { padding: 10px 12px; border-radius: 12px; font-size: .95rem; }
.rm-row { gap: 10px; }
.rm-err { min-height: 0; }
.rm-err:empty { display: none; }
@media (max-height: 700px) { .rm-card { padding: 20px 22px 18px; gap: 8px; } #rmForm { gap: 8px; } .rm-sub { display: none; } }
@media (max-width: 340px) { .rm-row { grid-template-columns: 1fr; } }

/* ingresar con una cuenta existente */
.nav-acts { display: flex; align-items: center; gap: 14px; }
.nav-login { font-weight: 700; font-size: .92rem; color: inherit; text-decoration: none; padding: 8px 4px; }
.nav-login:hover { color: var(--indigo); }
#rmLogin { display: grid; gap: 10px; }
#rmLogin[hidden] { display: none; }
.rm-switch { margin: 2px 0 0; text-align: center; font-size: .9rem; color: var(--muted); font-weight: 500; }
.rm-switch button { border: 0; background: none; padding: 0; font: inherit; font-weight: 800; color: var(--indigo); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .nav-login { font-size: .85rem; } .nav-acts { gap: 8px; } }
#rmForm[hidden], .rm-ok[hidden] { display: none; }

/* Rently Studio: apps a la medida para empresas */
.studio { background: var(--night); color: #F5F5F7; position: relative; overflow: hidden; }
.studio::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 40% at 15% 0%, rgba(232,69,44,.28), transparent 70%), radial-gradient(45% 40% at 90% 100%, rgba(247,169,59,.18), transparent 70%); }
.studio .wrap { position: relative; }
.studio .eyebrow { color: #FFB27A; }
.studio .lead { color: rgba(245,245,247,.72); }
.st-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.st-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 10px; align-content: start; transition: transform .4s var(--ease), border-color .3s ease, background .3s ease; }
.st-card:hover { transform: translateY(-4px); border-color: rgba(247,169,59,.45); background: rgba(255,255,255,.07); }
.st-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--grad); }
.st-ic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-card h3 { font-size: 1.25rem; }
.st-card p { color: rgba(245,245,247,.68); font-weight: 500; font-size: .96rem; }
.st-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 22px; margin-top: 22px; align-items: stretch; }
.st-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.st-steps li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 22px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.st-steps .n { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: .95rem; background: rgba(247,169,59,.14); color: #FFB27A; box-shadow: inset 0 0 0 1px rgba(247,169,59,.35); }
.st-steps h3 { font-size: 1.1rem; }
.st-steps p { margin-top: 4px; color: rgba(245,245,247,.66); font-weight: 500; font-size: .94rem; }
.st-proof { border-radius: var(--r-xl); padding: 34px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(160deg, rgba(232,69,44,.22), rgba(247,169,59,.08) 60%, rgba(255,255,255,.03)); border: 1px solid rgba(247,169,59,.3); }
.st-badge { align-self: flex-start; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 7px 14px; border-radius: 99px; background: rgba(255,255,255,.1); color: #FFD3AE; }
.st-proof h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.st-proof p { color: rgba(245,245,247,.75); font-weight: 500; }
.st-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.st-chips i { font-style: normal; font-size: .85rem; font-weight: 700; padding: 7px 14px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.st-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 10px; }
.st-ghost { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.st-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
/* la sección siguiente (preguntas) arranca con padding-top:0; después del fondo oscuro necesita aire */
.studio + section { padding-top: clamp(80px, 11vw, 150px) !important; }
html.lite .studio::before { display: none; }
html.lite .st-card { transition: none; }
@media (max-width: 960px) { .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-row { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .st-grid { grid-template-columns: 1fr; } .st-proof { padding: 26px; } .st-cta .btn { width: 100%; justify-content: center; text-align: center; } }
