/* Frame 797:269. Exceptions to the general square-card DS are local to Inicio. */
body.wo-app {
    margin:0;
    --inicio-selected-bg: #eef3ff;
    --inicio-card-radius: 20px;
    --inicio-card-shadow: 0 1px 3px rgb(26 26 26 / 6%);
    --inicio-selected-shadow: 3px 3px 0 var(--neutral-500);
}
body.wo-app *,body.wo-app *::before,body.wo-app *::after { box-sizing:border-box; }
.wo-app .inicio-topbar .wo-topbar-brand,.wo-app .inicio-topbar .wo-topbar-brand:hover { color:var(--text-heading); text-decoration:none; }
/* Revisión 12/11 (p. 1): sin barra divisora ni banda propia; queda el logo con
   las figuras y el contenido sube a ocupar ese espacio. */
.inicio-topbar { align-items:center; justify-content:flex-start; height:auto; min-height:0; padding:var(--space-6) var(--space-12) 0; background:transparent; border-bottom:0; overflow:visible; }
.inicio-topbar .wo-topbar-brand { height:27.2px; padding:0; gap:14px; font-size:20px; line-height:27.2px; letter-spacing:.8px; }
.inicio-topbar .wo-marks { gap:10px; }
.inicio-topbar .wo-mark-square,.inicio-topbar .wo-mark-circle { width:18px; height:18px; }
.inicio-topbar .wo-mark-square { background:var(--red-300); }
.inicio-topbar .wo-mark-triangle { width:17.6px; height:14.4px; border:0; background:var(--blue-400); clip-path:polygon(50% 0,100% 100%,0 100%); }
.inicio-main.wo-container { width:100%; max-width:1200px; margin:0 auto; padding:var(--space-4) 0 var(--space-8); }
.inicio-head { display:flex; flex-direction:column; text-align:center; max-width:640px; margin:0 auto 22.6px; gap:14px; }
.inicio-title { margin:0; font-family:var(--font-display); color:var(--text-heading); font-size:38px; font-weight:400; line-height:43.7px; letter-spacing:0; }
.inicio-sub { color:var(--text-muted); max-width:560px; margin:0 auto; font-size:17px; line-height:25.5px; }
#inicio-selection { margin:0; }
.inicio-cards { display:grid; align-items:start; margin:0 auto; max-width:1120px; padding-right:38px; gap:64px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.inicio-card { position:relative; min-width:0; min-height:670px; background:var(--figma-white); border:1px solid var(--figma-sand-border); border-radius:var(--inicio-card-radius); overflow:hidden; box-shadow:var(--inicio-card-shadow); cursor:pointer; }
.inicio-card:has(.inicio-radio:checked) { background:var(--inicio-selected-bg); border-color:var(--blue-400); box-shadow:var(--inicio-selected-shadow); }
.inicio-radio { position:absolute; width:1px; height:1px; opacity:0; }
/* Keyboard focus stays visible on the CTA without adding a second card border. */
.inicio-card:has(.inicio-radio:focus-visible) .inicio-cta { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px; }
.inicio-selected { display:none; position:absolute; z-index:1; top:22px; right:22px; width:30px; height:30px; align-items:center; justify-content:center; border-radius:var(--radius-circle); background:var(--blue-400); color:var(--text-body); }
.inicio-selected [data-wo-icon],.inicio-selected svg { width:17px; height:17px; }
.inicio-card:has(.inicio-radio:checked) .inicio-selected { display:flex; }
.inicio-media { height:auto; aspect-ratio:3/2; flex:none; border:0; }
.inicio-body.wo-card-body { display:flex; flex-direction:column; padding:32px 36px 36px; gap:10px; }
.inicio-body .wo-tag { align-self:flex-start; justify-content:center; width:71.57px; height:24px; padding:0; border:1px solid var(--figma-sand-border); background:var(--figma-sand); color:var(--text-muted); font-size:10.5px; line-height:13.6px; letter-spacing:.84px; }
.inicio-card-title { margin:0; font-family:var(--font-display); color:var(--text-heading); padding-top:6px; font-size:26px; font-weight:400; line-height:28px; }
.inicio-card-desc { margin:0; max-width:420px; color:var(--text-muted); font-size:15px; line-height:23.5px; }
.inicio-feats { list-style:none; margin:0; padding:12px 0 0; display:flex; flex-direction:column; gap:12px; }
.inicio-feats li { display:flex; align-items:center; gap:10px; font-size:14px; line-height:16.8px; }
.inicio-feats li:not(:has([data-wo-icon])) { line-height:17px; }
.inicio-feats [data-wo-icon],.inicio-feats svg { width:16px; height:16px; flex:none; color:var(--text-body); }
.inicio-cta { display:inline-flex; align-items:center; margin-top:0; padding-top:0; gap:6px; font-family:var(--font-mono); font-size:11.5px; line-height:15px; letter-spacing:.69px; color:var(--text-faint); }
.inicio-cta [data-wo-icon],.inicio-cta svg { width:15px; height:15px; }
.inicio-card:has(.inicio-radio:checked) .inicio-cta { color:var(--blue-300); }
/* Acciones por experiencia: ocultas sin tarjeta elegida. Quedan pegadas al
   pie de la ventana (sticky) para que se vean aunque la tarjeta sea alta. */
.inicio-actions { position:sticky; bottom:0; z-index:2; display:none; justify-content:center; margin-top:var(--space-6); padding:var(--space-4) 0; background:var(--surface-page); }
.inicio-main:has(.inicio-radio:checked) .inicio-actions { display:flex; }
.inicio-actions-group { display:none; flex-wrap:wrap; justify-content:center; gap:var(--space-4); }
.inicio-main:has(.inicio-radio[value="artist"]:checked) .inicio-actions-group[data-for="artist"],
.inicio-main:has(.inicio-radio[value="client"]:checked) .inicio-actions-group[data-for="client"],
.inicio-main:has(.inicio-radio[value="studio"]:checked) .inicio-actions-group[data-for="studio"] { display:flex; animation:inicio-actions-in var(--duration-fast) var(--ease-standard) both; }
/* Respaldo sin :has() (navegadores viejos): inicio.js marca data-selected. */
.inicio-actions[data-selected="artist"],.inicio-actions[data-selected="client"],.inicio-actions[data-selected="studio"] { display:flex; }
.inicio-actions[data-selected="artist"] .inicio-actions-group[data-for="artist"],
.inicio-actions[data-selected="client"] .inicio-actions-group[data-for="client"],
.inicio-actions[data-selected="studio"] .inicio-actions-group[data-for="studio"] { display:flex; }
/* acceso (ACC-14): cuenta de cliente (login y registro) como enlaces secundarios. */
.inicio-account-links { flex:1 0 100%; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:var(--space-2); margin:0; font-size:14px; line-height:1.4; color:var(--text-muted); }
.inicio-account-links a { display:inline-flex; align-items:center; min-height:44px; padding:0 var(--space-1); color:var(--text-heading); font-weight:var(--weight-bold); text-decoration:underline; text-underline-offset:.2em; }
.inicio-account-links a:hover { color:var(--red-700); }
.inicio-action.wo-btn { min-width:200px; height:52px; min-height:52px; gap:var(--space-2); }
.inicio-action [data-wo-icon],.inicio-action svg { width:18px; height:18px; }
/* Los enlaces de .wo-app son azules: el botón conserva el color del DS. */
.wo-app a.inicio-action.wo-btn,.wo-app a.inicio-action.wo-btn:hover { color:var(--action-primary-fg); text-decoration:none; }
.wo-app a.inicio-action.wo-btn--ghost,.wo-app a.inicio-action.wo-btn--ghost:hover { color:var(--action-ghost-fg); }
@keyframes inicio-actions-in { from { opacity:0; translate:0 var(--space-2); } to { opacity:1; translate:0 0; } }

/* Revisión 12/11 (p. 1): la tarjeta elegida pasa al centro y las otras se
   achican a los costados. El orden lo pone inicio.js (data-pos) y el
   desplazamiento se anima con FLIP (propiedad `translate`); la escala se
   transiciona aquí con la propiedad `scale`. */
.inicio-card { transition:scale .42s var(--ease-standard), opacity .42s var(--ease-standard), background-color var(--duration-fade) var(--ease-standard), border-color var(--duration-fade) var(--ease-standard), box-shadow var(--duration-fade) var(--ease-standard); }
.inicio-card[data-pos="0"] { order:0; transform-origin:right center; }
.inicio-card[data-pos="1"] { order:1; }
.inicio-card[data-pos="2"] { order:2; transform-origin:left center; }
.inicio-cards.has-selection .inicio-card:not(:has(.inicio-radio:checked)) { scale:.86; opacity:.82; }
.inicio-cards.has-selection .inicio-card:not(:has(.inicio-radio:checked)):hover { opacity:1; }
.inicio-note { text-align:center; color:var(--text-faint); max-width:none; margin:16px auto 0; font-size:13px; line-height:normal; }
@media(min-width:1200px) {
    .inicio-sub { transform:translateY(-1.15625px); }
    .inicio-media { height:342px; aspect-ratio:auto; }
    .inicio-card:has(.inicio-radio:checked) { padding:.6px; }
    .inicio-selected { top:22.6px; right:22.6px; }
}
@media (max-width:1199px) {
    .inicio-main.wo-container { padding-left:32px; padding-right:32px; }
    .inicio-cards { padding-right:0; gap:40px; }
    .inicio-body.wo-card-body { padding-left:28px; padding-right:28px; }
    .inicio-card,.inicio-card:has(.inicio-radio:checked) { height:auto; min-height:670px; }
}
@media (max-width:767px) {
    .inicio-topbar { padding:var(--space-5) var(--space-5) 0; }
    .inicio-main.wo-container { padding:var(--space-4) var(--space-5) 0; }
    .inicio-title { font-size:clamp(24px,5vw,34px); line-height:1.15; }
    .inicio-sub { font-size:16px; }
    .inicio-cards { grid-template-columns:1fr; max-width:514px; gap:28px; }
    .inicio-card,.inicio-card:has(.inicio-radio:checked) { height:auto; min-height:0; }
    .inicio-media { height:auto; }
    .inicio-body.wo-card-body { padding:28px 24px; }
    .inicio-note { max-width:560px; line-height:1.55; }
    /* En una columna no se reordena ni se achica: la elegida se resalta. */
    .inicio-card[data-pos] { order:0; }
    .inicio-cards.has-selection .inicio-card:not(:has(.inicio-radio:checked)) { scale:none; opacity:1; }
    .inicio-actions { padding:var(--space-3) 0; }
    .inicio-actions-group { width:100%; flex-wrap:nowrap; gap:var(--space-2); }
    .inicio-action.wo-btn { flex:1 1 0; min-width:0; height:auto; padding:var(--space-3); white-space:normal; text-align:center; }
    /* acceso (ACC-14): el grupo de cliente suma una fila de enlaces (100%): sin
       wrap desbordaba en horizontal. Los dos botones siguen en una fila. */
    .inicio-actions-group[data-for="client"] { flex-wrap:wrap; row-gap:0; }
    .inicio-note { padding-bottom:var(--space-6); }
}
/* Revisión 12/11 (p. 3): entradas sutiles al cargar (marca, título, tarjetas
   escalonadas y nota). Solo con `wo-motion-in` en <html>, que pone el script
   del <head> si el navegador acepta movimiento: sin JS no se oculta nada.
   Relleno `backwards`: al terminar, la tarjeta vuelve a su opacidad/escala
   (las no elegidas quedan en .82/.86). */
@keyframes inicio-rise-in { from { opacity:0; translate:0 14px; } to { opacity:1; translate:none; } }
.wo-motion-in .inicio-topbar .wo-topbar-brand,
.wo-motion-in .inicio-title,
.wo-motion-in .inicio-sub,
.wo-motion-in .inicio-card,
.wo-motion-in .inicio-note { animation:inicio-rise-in 440ms var(--ease-standard) backwards; animation-delay:var(--inicio-in-delay,0ms); }
.wo-motion-in .inicio-title { --inicio-in-delay:60ms; }
.wo-motion-in .inicio-sub { --inicio-in-delay:120ms; }
.wo-motion-in .inicio-card[data-experience="client"] { --inicio-in-delay:180ms; }
.wo-motion-in .inicio-card[data-experience="artist"] { --inicio-in-delay:250ms; }
.wo-motion-in .inicio-card[data-experience="studio"] { --inicio-in-delay:320ms; }
.wo-motion-in .inicio-note { --inicio-in-delay:400ms; }
@media (prefers-reduced-motion:reduce) {
    .inicio-card { transition:none; }
    .inicio-actions-group { animation:none !important; }
    .wo-motion-in .inicio-topbar .wo-topbar-brand,
    .wo-motion-in .inicio-title,
    .wo-motion-in .inicio-sub,
    .wo-motion-in .inicio-card,
    .wo-motion-in .inicio-note { animation:none; }
}
