/* /donna — layout e interacciones del canvas, tokens de la marca Donna.
   Inter variable latin (SIL OFL), autoalojada en sisteco.cl. Sin Google Fonts. */

@font-face {
    font-family: Inter;
    src: url('../assets/fonts/Inter-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

.dn {
    position: relative;
    z-index: 1;
    background-color: #f9f9f9;
    background-image: radial-gradient(circle, rgba(12, 27, 68, 0.07) 1.5px, transparent 1.6px);
    background-size: 22px 22px;
    color: #0c1b44;
    font-family: var(--font-body);
    font-variant-numeric: tabular-nums;
    line-height: 1.6;
}

.dn h1,
.dn h2,
.dn h3 {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: #0c1b44;
}

.ct-pad h2,
.ct-pad p {
    color: #ffffff;
}

.dn h1,
.dn h2,
.dn h3,
.dn p {
    margin: 0;
}

.dn strong,
.dn b {
    font-weight: 600;
}

.dn a {
    color: #6b4fd8;
}

.dn a:hover {
    color: #6b4fd8;
}

.dn em {
    font-family: var(--font-body);
    font-style: normal;
    font-weight: 600;
    letter-spacing: -0.03em;
    text-decoration: underline;
    text-decoration-color: #9f83fa;
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.14em;
}

.dn-kicker {
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5b6785;
}

.dn-lead {
    font-size: 18px;
    line-height: 1.55;
    color: #5b6785;
    max-width: 62ch;
}

.dn-sec {
    padding: 72px 20px;
    box-sizing: border-box;
}

.dn-wrap {
    max-width: 1152px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.dn-hero {
    position: relative;
    padding: 28px 20px 56px;
    box-sizing: border-box;
    overflow: visible;
}

.dn-hero:has(.dn-stage) {
    padding: 36px 20px 0;
    text-align: center;
}

.dn-hero-glow {
    position: absolute;
    left: 50%;
    top: 28px;
    width: min(760px, 92%);
    height: 340px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.96) 0%, rgba(159, 131, 250, 0.2) 40%, rgba(249, 249, 249, 0) 72%);
    pointer-events: none;
    z-index: 0;
}

.dn-hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 920px;
    margin: 0 auto;
}

.dn-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin: 0;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(12, 27, 68, 0.12);
    background: #ffffff;
    color: #0c1b44;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.dn-hero:has(.dn-stage) h1 {
    font-size: clamp(44px, 6.4vw, 76px);
}

.dn-mark {
    color: #9f83fa;
    font-weight: 600;
}

.dn-hero:has(.dn-stage) .dn-lead {
    max-width: 650px;
    margin: 0 auto;
}

.dn-hero-help {
    margin: 0;
    max-width: 420px;
    color: #5b6785;
    font-size: 14px;
    line-height: 1.45;
}

.dn-stage {
    position: relative;
    z-index: 1;
    width: min(1080px, 100%);
    margin: 36px auto 0;
}

.dn-browser {
    transform-origin: top center;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(12, 27, 68, 0.1);
    overflow: hidden;
    text-align: left;
}

.dn-browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 14px;
    background: #f3f4f7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.dn-dots {
    display: flex;
    gap: 6px;
    flex: none;
}

.dn-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d5d8e2;
    display: block;
}

.dn-url {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    color: #5b6785;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.dn-browser-screen {
    position: relative;
    height: min(520px, 62vh);
    overflow: hidden;
    background: #ffffff;
}

.dn-browser .q-index { position: static; }

.dn-play {
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: #0c1b44;
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(12, 27, 68, 0.28);
}

.dn-play[hidden] { display: none !important; }

.dn-play:hover { background: #1b294f; }
.dn-play:focus-visible {
    outline: 2px solid #6b4fd8;
    outline-offset: 3px;
}

.dn-vmodal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: grid;
    place-items: center;
    padding: 24px;
}

.dn-vmodal[hidden] { display: none !important; }

.dn-vmodal-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    background: rgba(12, 27, 68, 0.72);
    cursor: pointer;
}

.dn-vmodal-panel {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    background: #0c1b44;
    border-radius: 16px;
    padding: 52px 16px 16px;
    box-sizing: border-box;
}

.dn-vmodal-panel video {
    display: block;
    width: 100%;
    max-height: min(70vh, 540px);
    background: #000000;
    border-radius: 10px;
}

.dn-vmodal-x {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: #0c1b44;
    cursor: pointer;
}

.dn-vmodal-x:focus-visible {
    outline: 2px solid #9f83fa;
    outline-offset: 3px;
}

body.dn-modal-open { overflow: hidden; }

.dn-waitlist .waitlist-card {
    width: min(440px, 100%);
    margin: 0 auto;
}

#lista-de-espera { scroll-margin-top: 96px; }

.dn h1 {
    font-size: clamp(40px, 8vw, 76px);
    line-height: 1.02;
}

.dn-sec h2,
.dn-hero h2 {
    font-size: clamp(32px, 4.6vw, 56px);
    line-height: 1.05;
}

.dn-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    align-items: center;
}

.dn-btn,
.dn .cta-donna {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    background: #0c1b44;
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 17px;
    line-height: 1.2;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.15s ease;
}

.dn-btn:hover,
.dn .cta-donna:hover {
    background: #1b294f;
    color: #ffffff;
    transform: none;
    box-shadow: none;
}

.dn-btn:focus-visible,
.dn .cta-donna:focus-visible {
    outline: 2px solid #6b4fd8;
    outline-offset: 3px;
}

/* .dn a (lila) gana a .dn-btn. El botón lleno lleva texto blanco sobre navy. */
.dn a.dn-btn,
.dn a.dn-btn:hover,
.dn a.dn-btn:focus-visible {
    color: #ffffff;
}

.dn a.dn-btn.dn-btn--line,
.dn a.dn-btn.dn-btn--line:hover,
.dn a.dn-btn.dn-btn--line:focus-visible {
    color: #0c1b44;
}

.dn .cta-donna[disabled] {
    opacity: 0.6;
    cursor: progress;
}

.dn-textlink {
    color: #0c1b44;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 16px;
}

.dn-textlink:focus-visible {
    outline: 2px solid #6b4fd8;
    outline-offset: 3px;
}

.dn .breadcrumb {
    justify-content: flex-start;
    margin: 0;
    font-family: var(--font-body);
}

.dn .breadcrumb a,
.dn .breadcrumb span {
    color: #5b6785;
}

.dn .breadcrumb a:hover {
    color: #0c1b44;
}

.waitlist-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 20px 22px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), 0 18px 40px -28px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-margin-top: 24px;
}

.dn .waitlist-card h2 {
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.1;
}

.waitlist-card > p {
    color: #5b6785;
    font-size: 16px;
    line-height: 1.5;
}

.waitlist-form {
    display: grid;
    gap: 14px;
    margin-top: 6px;
}

.waitlist-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.waitlist-field input {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.28);
    background: #fff;
    color: #0c1b44;
    font: inherit;
    font-size: 16px;
    box-sizing: border-box;
}

.waitlist-field input:focus-visible {
    outline: 2px solid #6b4fd8;
    outline-offset: 2px;
}

.waitlist-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.waitlist-error {
    color: #b42318;
    font-weight: 600;
    margin: 0;
}

.waitlist-privacy {
    font-size: 14px;
    color: #5b6785;
    margin: 0;
}

.waitlist-success {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
}

.waitlist-card .cta-donna {
    width: 100%;
}

[data-gate="sis-36"][hidden],
.waitlist-form[hidden],
.waitlist-error[hidden],
.waitlist-success[hidden],
.fc-tab[hidden],
.fc-card[hidden] {
    display: none !important;
}

.dn-band {
    background: transparent;
}

.dn-prose {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 72ch;
}

.dn-prose p {
    font-size: 18px;
    line-height: 1.6;
    color: #5b6785;
}

.dn-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.dn-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 22px 24px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dn-card h3 {
    font-size: 28px;
    line-height: 1.12;
}

.dn-num {
    font-family: var(--font-body);
    font-size: 28px;
    line-height: 1;
    color: #5b6785;
}

.dn-card p,
.dn-list {
    font-size: 16px;
    line-height: 1.5;
    color: #5b6785;
}

.dn-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dn-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.dn-tick {
    flex: none;
    width: 8px;
    height: 8px;
    margin-top: 8px;
    border-radius: 3px;
    background: #9f83fa;
}

.dn-ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.dn-ol li {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dn-ol p {
    font-size: 15.5px;
    line-height: 1.5;
    color: #5b6785;
}

.dn-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.dn-panel {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dn-panel--line {
    background: #ffffff;
}

.dn-panel h3 {
    font-size: 28px;
    line-height: 1.15;
}

.dn-doors {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.dn-door {
    border-radius: 18px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

.dn-door--a {
    background: #0c1b44;
    color: #ffffff;
}

.dn-door--b {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.dn-door h3 {
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.12;
}

.dn-door p {
    font-size: 16.5px;
    line-height: 1.55;
    color: #0c1b44;
}

.dn-close {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
}

.dn-contact {
    font-size: 18px;
    line-height: 1.5;
}

.dn-faq {
    display: flex;
    flex-direction: column;
}

.dn-faq .faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    padding: 16px 0;
}

.dn-faq .faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.4;
}

.dn-faq .faq-item summary:focus-visible {
    outline: 2px solid #6b4fd8;
    outline-offset: 3px;
}

.dn-faq .faq-item p {
    margin-top: 10px;
    line-height: 1.6;
    color: #5b6785;
    max-width: 68ch;
}

#diagrama,
#producto,
#fichas,
#instalacion,
#como-funciona,
#para-quien,
#cinta,
#preguntas-frecuentes {
    scroll-margin-top: 20px;
}

/* ---------- Diagrama (Main) ---------- */
.dg-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
}

.dg-cell {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 22px;
    border-radius: 12px;
    text-decoration: none;
    color: #0c1b44;
    outline: 2px solid transparent;
    outline-offset: -2px;
    transition: outline-color 0.18s ease, transform 0.18s ease;
}

.dg-cell--link:hover,
.dg-cell--link:focus-visible {
    outline-color: #6b4fd8;
    transform: translateY(-2px);
}

.dg-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    opacity: 1;
    transform: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.dg-status {
    align-self: flex-start;
    padding: 3px 9px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dg-status--hoy {
    background: #9f83fa;
    color: #0c1b44;
}

.dg-status--pronto {
    background: transparent;
    color: #0c1b44;
    box-shadow: inset 0 0 0 1.2px #0c1b44;
}

.dg-preview {
    display: none;
}

.dg-preview > div {
    overflow: hidden;
    min-height: 0;
}

.dg-app {
    margin-top: 6px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 8px 24px -12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    font-size: 13px;
}

.dg-app-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    font-weight: 600;
}

.dg-app-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #9f83fa;
}

.dg-app-body {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 12px;
}

.dg-row {
    opacity: 0;
    transform: translateY(6px);
}

.dg-chip {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 7px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-family: var(--font-body);
    font-size: 11.5px;
}

.dg-msg {
    align-self: flex-start;
    max-width: 86%;
    padding: 7px 10px;
    border-radius: 10px 10px 10px 3px;
    background: #f9f9f9;
    line-height: 1.35;
}

.dg-msg--me {
    align-self: flex-end;
    border-radius: 10px 10px 3px 10px;
    background: #0c1b44;
    color: #ffffff;
}

.dg-bar {
    height: 7px;
    border-radius: 999px;
    background: rgba(12, 27, 68, 0.12);
}

.dg-line {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #5b6785;
}

.dg-spin {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-top-color: #0c1b44;
    animation: dg-spin 0.8s linear infinite;
}

@keyframes dg-spin {
    to { transform: rotate(360deg); }
}

.dg-ok {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #9f83fa;
    color: #0c1b44;
    font-weight: 600;
}

.dg-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 7px;
    background: #ffffff;
}

.dg-led {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    flex: none;
}

.dg-led--ok { background: #12a594; }
.dg-led--warn { background: #dc3e42; }

.dg-btn-mock {
    align-self: flex-start;
    padding: 7px 14px;
    border-radius: 999px;
    background: #0c1b44;
    color: #ffffff;
    font-weight: 600;
}

.dg-lanehead { display: none; }
.dg-mobile-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.dg-empty { display: none; }

.dg-btn { transition: background 0.15s ease; }
.dg-btn:hover { background: #1b294f; color: #ffffff; }

.dg-legend {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dg-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.dg-ico {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.dg-ico--lima { background: #0c1b44; color: #ffffff; }
.dg-ico--line {
    background: #ffffff;
    border: 1.5px solid #0c1b44;
    box-sizing: border-box;
}

.dg-time,
.dg-end span {
    align-self: flex-start;
}

.dg-end {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.dg-install {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 28px 22px;
    border-radius: 18px;
    background: #ffffff;
}

@keyframes dg-in {
    to { opacity: 1; transform: none; }
}

@keyframes dg-clock {
    from { opacity: 0.15; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

@keyframes dg-split-a {
    from { opacity: 0.2; transform: translateX(10px); }
    to { opacity: 1; transform: none; }
}

@keyframes dg-split-b {
    from { opacity: 0.2; transform: translateX(-10px); }
    to { opacity: 1; transform: none; }
}

.dg-step.is-in .dg-time {
    animation: dg-clock 0.7s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.dg-step.is-in .dg-end span:first-child {
    animation: dg-split-a 0.45s ease both;
}

.dg-step.is-in .dg-end span:last-child {
    animation: dg-split-b 0.45s ease 0.12s both;
}

/* ---------- Cinta ---------- */
.ct-pad {
    background: #0c1b44;
    color: #ffffff;
    font-family: var(--font-body);
    padding: 88px 0 96px;
    box-sizing: border-box;
    overflow: hidden;
}

.ct-head {
    max-width: 1152px;
    margin: 0 auto 40px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.ct-kicker { color: #aab3cc; }

.ct-head h2 {
    margin: 0;
    max-width: 760px;
    color: #ffffff;
    font-size: clamp(36px, 4.6vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.ct-head p {
    margin: 0;
    max-width: 560px;
    color: #aab3cc;
    font-size: 18px;
    line-height: 1.5;
}

.ct-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.ct-row {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.ct-row:focus { outline: none; }

.ct-row:focus-visible {
    outline: 2px solid #9f83fa;
    outline-offset: -6px;
}

.ct-track {
    display: flex;
    width: max-content;
    gap: 12px;
    animation: ct-left var(--ct-speed) linear infinite;
}

.ct-row--right .ct-track { animation-name: ct-right; }

.ct-row:hover .ct-track,
.ct-row:focus .ct-track,
.ct-row:focus-within .ct-track {
    animation-play-state: paused;
}

@keyframes ct-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes ct-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.ct-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: none;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(248, 247, 245, 0.06);
    box-shadow: inset 0 0 0 1px rgba(248, 247, 245, 0.08);
    color: #ffffff;
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

.ct-chip:hover { background: rgba(248, 247, 245, 0.12); }

.ct-time {
    font-family: var(--font-body);
    font-size: 12.5px;
    color: #aab3cc;
    padding-left: 2px;
}

.ct-dot {
    width: 9px;
    height: 9px;
    border-radius: 3px;
    flex: none;
    background: #9f83fa;
}

/* ---------- Perfiles ---------- */
.pf-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.pf-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: #0c1b44;
    overflow: hidden;
    transition: box-shadow 0.25s cubic-bezier(0.23, 1, 0.32, 1), transform 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

.pf-card:hover,
.pf-card:focus-visible {
    box-shadow: inset 0 0 0 1.5px #0c1b44;
    transform: translateY(-3px);
    outline: none;
}

.pf-art {
    position: relative;
    height: 230px;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pf-label {
    position: absolute;
    top: 16px;
    left: 18px;
    z-index: 3;
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5b6785;
}

.pf-glow {
    position: absolute;
    inset: 22px 30px 18px;
    z-index: 1;
    overflow: hidden;
    opacity: 1;
    transform: none;
    border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%;
    transition: opacity 0.45s cubic-bezier(0.23, 1, 0.32, 1), transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.pf-blob {
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 999px;
    filter: none;
}

.pf-blob--1, .pf-blob--2, .pf-blob--3 { background: none; }

.pf-card:hover .pf-glow,
.pf-card:focus-visible .pf-glow {
    opacity: 1;
    transform: none;
    animation: pf-morph 9s ease-in-out infinite;
}

.pf-card:hover .pf-blob--1,
.pf-card:focus-visible .pf-blob--1 { animation: pf-orbit-a 7s ease-in-out infinite; }
.pf-card:hover .pf-blob--2,
.pf-card:focus-visible .pf-blob--2 { animation: pf-orbit-b 8s ease-in-out infinite; }
.pf-card:hover .pf-blob--3,
.pf-card:focus-visible .pf-blob--3 { animation: pf-orbit-c 6.5s ease-in-out infinite; }

.pf-grain {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.22;
    mix-blend-mode: multiply;
}

@keyframes pf-orbit-a {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(28%, 22%); }
}
@keyframes pf-orbit-b {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30%, 18%); }
}
@keyframes pf-orbit-c {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20%, -26%); }
}
@keyframes pf-morph {
    0%, 100% { border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; }
    50% { border-radius: 44% 56% 40% 60% / 58% 42% 58% 42%; }
}

.pf-figure {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px 24px 26px;
}

.pf-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pf-item {
    display: flex;
    gap: 10px;
    font-size: 15.5px;
    line-height: 1.45;
    color: #5b6785;
}

.pf-tick {
    flex: none;
    margin-top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 3px;
}

.pf-soon {
    align-self: flex-start;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1.2px #0c1b44;
    font-family: var(--font-body);
    font-size: 10.5px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0c1b44;
    white-space: nowrap;
}

.pf-hint { display: none; }

/* ---------- Fichas ---------- */
.fc-stage {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.fc-glow { display: none; }

.fc-blob {
    position: absolute;
    width: 55%;
    height: 90%;
    border-radius: 999px;
    filter: none;
}

.fc-blob--1 {
    left: -8%;
    bottom: -20%;
    background: none;
    animation: none;
}
.fc-blob--2 {
    right: -8%;
    bottom: -16%;
    background: none;
    animation: none;
}
.fc-blob--3 {
    left: 30%;
    top: 10%;
    background: none;
    opacity: 0;
    animation: none;
}

@keyframes fc-drift-a {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(18%, -12%); }
}
@keyframes fc-drift-b {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-16%, -10%); }
}
@keyframes fc-drift-c {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10%, 14%); }
}

.fc-stack {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.fc-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    margin-bottom: -8px;
    padding: 0 20px 8px;
    box-sizing: border-box;
    border: 0;
    border-radius: 12px 12px 0 0;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06), 0 -1px 0 rgba(0, 0, 0, 0.04);
    font: inherit;
    font-size: 14.5px;
    color: #5b6785;
    text-align: left;
    cursor: pointer;
    transition: color 0.25s cubic-bezier(0.23, 1, 0.32, 1), transform 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

.fc-tab:hover,
.fc-tab:focus-visible {
    color: #0c1b44;
    transform: translateY(-3px);
}

.fc-dot {
    width: 9px;
    height: 9px;
    border-radius: 3px;
    flex: none;
}

.fc-card {
    position: relative;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 24px 48px -28px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.fc-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 22px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 14.5px;
    font-weight: 600;
}

.fc-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 26px 0 0 22px;
    animation: fc-in 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes fc-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

.fc-app {
    align-self: end;
    border-radius: 12px 0 0 0;
    background: #ffffff;
    box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.08);
    padding: 18px 0 22px 18px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 13.5px;
}

.fc-app-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 18px;
    font-weight: 600;
}

.fc-pill {
    padding: 3px 9px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 18px 10px 12px;
    border-radius: 9px 0 0 9px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.fc-muted {
    color: #5b6785;
    font-family: var(--font-body);
    font-size: 12px;
}

.fc-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(12, 27, 68, 0.12);
}

.fc-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 4px;
}

.fc-btn {
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13.5px;
}

.fc-note { display: none; }

/* ---------- Desktop (el canvas de Main mide 1280) ---------- */
@media (min-width: 761px) {
    .dn-sec { padding: 112px 64px; }
    .dn-hero { padding: 48px 64px 96px; }
    .dn-hero:has(.dn-stage) { padding: 72px 64px 0; }
    .dn-hero-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 1080px;
    }
    .dn-browser-screen { height: 640px; }
    .dn-cards,
    .dn-split,
    .dn-doors { gap: 16px; }
    .dn-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dn-split,
    .dn-doors { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .dn-ol--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dn-ol--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .waitlist-card { padding: 28px 28px 26px; }

    .dg-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.2fr) minmax(0, 0.9fr);
        gap: 12px;
    }
    .dg-lanehead { display: block; }
    .dg-mobile-tag { display: none; }
    .dg-empty {
        display: block;
        border-radius: 12px;
        border: 1.5px dashed rgba(0, 0, 0, 0.12);
    }
    .dg-cta { opacity: 0; transform: translateY(4px); }
    .dg-cell--link:hover .dg-cta,
    .dg-cell--link:focus-visible .dg-cta { opacity: 1; transform: none; }
    .dg-preview {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.35s ease;
    }
    .dg-cell--link:hover .dg-preview,
    .dg-cell--link:focus-visible .dg-preview { grid-template-rows: 1fr; }
    .dg-cell--link:hover .dg-row,
    .dg-cell--link:focus-visible .dg-row { animation: dg-in 0.38s ease forwards; }
    .dg-legend { flex-direction: row; flex-wrap: wrap; gap: 12px 28px; }
    .dg-install {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px 48px;
        align-items: flex-start;
        padding: 32px;
    }

    .ct-chip { font-size: 15px; padding: 9px 14px; }

    .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pf-art { height: 270px; }
    .pf-glow { opacity: 0; transform: scale(0.86); }
    .pf-hint { display: block; }

    .fc-glow {
        display: none;
        position: absolute;
        left: -4%;
        right: -4%;
        top: 70px;
        bottom: -30px;
        z-index: 0;
        overflow: hidden;
        clip-path: polygon(0 100%, 30% 0, 70% 0, 100% 100%);
        opacity: 0.75;
    }
    .fc-card-body {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
        gap: 32px;
        padding: 36px 0 0 36px;
    }
    .fc-note {
        display: flex;
        position: absolute;
        right: -4px;
        top: -62px;
        z-index: 2;
        align-items: flex-end;
        gap: 2px;
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 15px;
        letter-spacing: -0.03em;
        line-height: 1.2;
        color: #0c1b44;
        transform: none;
    }
}

@media (max-width: 760px) {
    .dg-pad,
    .pf-pad,
    .fc-pad {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .ct-pad {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .ct-head { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .dg-preview { transition: none; }
    .dg-row { opacity: 1; transform: none; }
    .dg-cell--link:hover .dg-row,
    .dg-cell--link:focus-visible .dg-row { animation: none; }
    .dg-spin { animation: none; }
    .dg-step.is-in .dg-time,
    .dg-step.is-in .dg-end span:first-child,
    .dg-step.is-in .dg-end span:last-child { animation: none; }
    .ct-track {
        animation: none;
        padding-left: 8%;
    }
    .pf-card:hover .pf-glow,
    .pf-card:focus-visible .pf-glow,
    .pf-card:hover .pf-blob--1,
    .pf-card:focus-visible .pf-blob--1,
    .pf-card:hover .pf-blob--2,
    .pf-card:focus-visible .pf-blob--2,
    .pf-card:hover .pf-blob--3,
    .pf-card:focus-visible .pf-blob--3 { animation: none; }
    .fc-blob--1,
    .fc-blob--2,
    .fc-blob--3,
    .fc-card-body { animation: none; }
    .dn-btn,
    .dn .cta-donna { transition: none; }
}

@media (max-width: 599px) {
    #ph-consent { padding: 8px 12px !important; }
    #ph-consent > div { gap: 8px !important; }
    #ph-consent p { font-size: 12px !important; min-width: 0 !important; flex-basis: 100% !important; }
    #ph-consent button { padding: 6px 14px !important; font-size: 13px !important; }
}


/* ---------- Marca Donna sobre el chrome de Sisteco ---------- */
body.donna-page {
    /* Única familia de /donna: Inter. Arial solo si el archivo no carga. */
    --font-body: Inter, Arial, sans-serif;
    --dn-night-image: linear-gradient(90deg, #0c0c0c 0%, #0c1b44 45%, #1b294f 100%);
    --dn-night-mark: url("/assets/donna/brand/sisteco-icon-white-840.png");
    background-color: #f9f9f9;
    background-image: radial-gradient(circle, rgba(12, 27, 68, 0.07) 1.5px, transparent 1.6px);
    background-size: 22px 22px;
    color: #0c1b44;
    font-family: var(--font-body);
    font-feature-settings: "tnum" 1;
    font-variant-numeric: tabular-nums;
}

body.donna-page .animated-bg,
body.donna-page .animated-bg::before,
body.donna-page .animated-bg::after,
body.donna-page .grid-pattern-overlay,
body.donna-page .cursor-glow,
body.donna-page .cta-glow,
body.donna-page .hero-orb,
body.donna-page .page-cta::before {
    display: none !important;
    animation: none !important;
    background: none !important;
    content: none !important;
}

body.donna-page,
body.donna-page button,
body.donna-page input,
body.donna-page .navbar,
body.donna-page .footer,
body.donna-page .btn {
    font-family: var(--font-body);
}

body.donna-page .logo-text {
    font-family: 'Nasalization', sans-serif;
}

body.donna-page .navbar {
    background: #f9f9f9;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.donna-page .navbar.scrolled .container {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

body.donna-page .btn-primary {
    background: #0c1b44;
    color: #ffffff;
    box-shadow: none;
}

body.donna-page .btn-primary:hover,
body.donna-page .btn-primary:focus-visible {
    background: #1b294f;
    color: #ffffff;
    box-shadow: none;
}

body.donna-page .btn-primary:active {
    background: #243257;
}

body.donna-page .btn {
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

body.donna-page .btn-primary:focus-visible,
body.donna-page .btn-ghost:focus-visible,
body.donna-page .hamburger:focus-visible,
body.donna-page .footer a:focus-visible,
body.donna-page .breadcrumb a:focus-visible {
    outline: 2px solid #6b4fd8;
    outline-offset: 3px;
}

body.donna-page .hamburger span {
    transition-duration: 0.2s;
}

body.donna-page .footer {
    background: #0c1b44;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body.donna-page .footer-top {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

body.donna-page .footer,
body.donna-page .footer h4,
body.donna-page .footer a,
body.donna-page .footer p,
body.donna-page .footer-address,
body.donna-page .footer-tagline {
    color: #ffffff;
}

body.donna-page .footer a {
    text-decoration-color: rgba(255, 255, 255, 0.45);
}

body.donna-page .footer a:hover {
    color: #ffffff;
    text-decoration-color: #9f83fa;
}

/* Fondo noche compartido: degradado de 12b, brillo lila y marca de agua blanca.
   El ícono lima oficial vive solo en el lockup de 12b, no en este fondo. */
body.donna-page .dn-night {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #0c0c0c;
    background-image: var(--dn-night-image);
    background-repeat: no-repeat;
    background-size: 140% 100%;
    background-position: center;
    color: #ffffff;
}

body.donna-page .dn-night::before,
body.donna-page .dn-night::after {
    content: "";
    position: absolute;
    inset: auto;
    pointer-events: none;
    z-index: -1;
}

body.donna-page .dn-night::before {
    right: -80px;
    top: -155px;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: #9f83fa;
    opacity: 0.22;
    filter: blur(120px);
}

body.donna-page .dn-night::after {
    right: 4%;
    top: 60px;
    width: 420px;
    height: 420px;
    background: var(--dn-night-mark) center / contain no-repeat;
    opacity: 0.06;
}

@media (max-width: 760px) {
    body.donna-page {
        --dn-night-image: linear-gradient(180deg, #0c0c0c 0%, #0c1b44 45%, #1b294f 100%);
    }

    body.donna-page .dn-night::after {
        width: 200px;
        height: 200px;
        right: 12px;
        top: 24px;
    }
}

/* 12b ya muestra el ícono lima en el lockup. Sin marca de agua grande en esa sección.
   La sección de avisos tampoco lleva la marca de agua: el brillo lila sigue. */
body.donna-page .v2-born.dn-night::after,
body.donna-page .v2-alerts.dn-night::after {
    content: none;
    background: none;
}

body.donna-page .scroll-top {
    background: #0c1b44;
    color: #ffffff;
    box-shadow: none;
    border: 0;
}

body.donna-page .scroll-top:hover {
    background: #1b294f;
    color: #ffffff;
    box-shadow: none;
}

body.donna-page .scroll-progress {
    background: #0c1b44;
    box-shadow: none;
}

body.donna-page .scroll-progress::after {
    display: none !important;
    content: none !important;
    background: none !important;
    box-shadow: none !important;
}

body.donna-page #custom-cursor {
    display: none !important;
    border-color: #9f83fa !important;
    mix-blend-mode: normal !important;
}

body.donna-page ::selection {
    background: rgba(159, 131, 250, 0.35);
    color: #0c1b44;
}

.dn-logo {
    display: block;
    width: 185px;
    height: auto;
    margin: 12px 0 8px;
}

.dn-kicker,
.dg-lanehead,
.pf-label,
.dg-mobile-tag,
.dg-status,
.fc-pill {
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    font-variant-numeric: tabular-nums;
}

.dg-mobile-tag { color: #ffffff; }

.dn-lead,
.dn-prose p,
.dn-card p,
.dn-list,
.dn-door p,
.pf-item,
.dn-faq .faq-item p {
    line-height: 1.6;
}

.dn-textlink,
.dn .breadcrumb a,
.dn-contact a,
.dn-faq a,
.waitlist-card a {
    color: #6b4fd8;
}

.dn-btn:active,
.dn .cta-donna:active {
    background: #243257;
    color: #ffffff;
}

.dn-door--a h3,
.dn-door--a p { color: #ffffff; }
.dn-door--a .dn-kicker { color: #aab3cc; }
.dn-door--a .dn-btn,
.dn-btn--on-dark {
    background: #ffffff;
    color: #0c1b44;
}
.dn-door--a .dn-btn:hover,
.dn-btn--on-dark:hover {
    background: #f3f4f8;
    color: #0c1b44;
}
.dn-door--a .dn-btn:active,
.dn-btn--on-dark:active {
    background: #e7e9f0;
    color: #0c1b44;
}

.dg-cell { color: #0c1b44; }
.dg-cell--link:hover,
.dg-cell--link:focus-visible { outline-color: #6b4fd8; }

.waitlist-card,
.dn-card,
.dn-panel,
.pf-card,
.fc-card {
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.24), 0 4px 24px rgba(0, 0, 0, 0.08);
}

.waitlist-field input {
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #0c1b44;
}

.pf-glow,
.fc-glow,
.pf-blob,
.fc-blob {
    display: none;
}

.ct-chip {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    color: #ffffff;
}
.ct-chip:hover { background: rgba(255, 255, 255, 0.14); }
.ct-time { color: #aab3cc; font-variant-numeric: tabular-nums; }

.dg-time,
.fc-muted,
.dn-num,
.dg-app,
.fc-app { font-variant-numeric: tabular-nums; }

.dg-app,
.fc-app { color: #0c1b44; }

.dg-app .dg-msg--me,
.dg-app .dg-btn-mock { color: #ffffff; }

.dg-install {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

body.donna-page h1,
body.donna-page h2,
body.donna-page h3,
body.donna-page h4,
body.donna-page h5,
body.donna-page h6,
body.donna-page button,
body.donna-page input,
body.donna-page textarea,
body.donna-page select,
body.donna-page .navbar,
body.donna-page .footer,
body.donna-page .btn {
    font-family: var(--font-body);
}

/* Seguridad por diseño */
.sec-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.sec-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.24), 0 4px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}
.sec-card h3 { margin: 0; font-size: 18px; letter-spacing: -0.03em; }
.sec-card > p { margin: 0; color: #5b6785; font-size: 16px; line-height: 1.6; }
.sec-ui {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 12px;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}
.sec-acc, .sec-event, .sec-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    padding: 8px 10px;
    color: #5b6785;
    font-size: 13px;
}
.sec-acc.is-on {
    color: #0c1b44;
    font-weight: 600;
    background: rgba(159, 131, 250, 0.2);
    border-color: transparent;
}
.sec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d5d8e2;
    flex: none;
}
.sec-acc.is-on .sec-dot { background: #9f83fa; }
.sec-bar {
    width: 36px;
    height: 6px;
    border-radius: 99px;
    background: #9f83fa;
    transform-origin: left center;
}
.sec-event { border-radius: 12px; align-items: flex-start; flex-direction: column; }
.sec-event strong { font-size: 13px; color: #0c1b44; }
.sec-hash {
    font-size: 12px;
    color: #5b6785;
    letter-spacing: 0.01em;
}
.sec-chip {
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    background: #f9f9f9;
    color: #0c1b44;
    border: 1px solid rgba(0, 0, 0, 0.12);
    white-space: nowrap;
}
.sec-chip--used { color: #5b6785; }
.sec-roles { display: flex; flex-wrap: wrap; gap: 8px; }
.sec-role {
    border-radius: 999px;
    padding: 6px 10px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-size: 13px;
    font-weight: 600;
    color: #5b6785;
}
.sec-role.is-on { background: #0c1b44; color: #ffffff; border-color: #0c1b44; }
.sec-note { margin: 0; color: #5b6785; font-size: 16px; line-height: 1.6; max-width: 760px; }
html.dn-anim .sec-bar { transform: scaleX(0); }
html.dn-anim .sec-card.is-in .sec-bar { animation: sec-grow 0.55s cubic-bezier(0.23, 1, 0.32, 1) both; }
html.dn-anim .sec-event,
html.dn-anim .sec-link,
html.dn-anim .sec-role { opacity: 0; transform: translateY(6px); }
html.dn-anim .sec-card.is-in .sec-event,
html.dn-anim .sec-card.is-in .sec-link,
html.dn-anim .sec-card.is-in .sec-role {
    animation: sec-in 0.45s cubic-bezier(0.23, 1, 0.32, 1) both;
}
html.dn-anim .sec-card.is-in .sec-role:nth-child(2) { animation-delay: 0.12s; }
html.dn-anim .sec-card.is-in .sec-role:nth-child(3) { animation-delay: 0.24s; }
@keyframes sec-grow { to { transform: scaleX(1); } }
@keyframes sec-in { to { opacity: 1; transform: none; } }
@media (min-width: 980px) {
    .sec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 700px) and (max-width: 979px) {
    .sec-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .sec-bar, .sec-event, .sec-link, .sec-role {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

body.donna-page .logo img.dn-nav-logo,
body.donna-page .logo:hover img.dn-nav-logo {
    height: 34px;
    width: auto;
    max-width: 148px;
    transform: none;
}

html:has(body.donna-page) {
    scrollbar-width: thin;
    scrollbar-color: #0c1b44 #f9f9f9;
}

html:has(body.donna-page)::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

html:has(body.donna-page)::-webkit-scrollbar-track {
    background: #f9f9f9;
}

html:has(body.donna-page)::-webkit-scrollbar-thumb {
    background: #0c1b44;
    border-radius: 999px;
    border: 2px solid #f9f9f9;
}

html:has(body.donna-page)::-webkit-scrollbar-thumb:hover {
    background: #6b4fd8;
}

/* Etapas */
.st-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.st-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.24), 0 4px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.st-head h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    font-size: 22px;
}

.st-head p { margin: 0; color: #5b6785; }
.st-mark {
    width: 9px;
    height: 9px;
    background: #9f83fa;
    display: inline-block;
}

.st-scene { display: flex; flex-direction: column; gap: 10px; }
.st-phone, .st-app {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.st-phone-bar, .st-app-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #f9f9f9;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 12px;
    font-weight: 600;
}

.st-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9f83fa;
    display: inline-block;
}

.st-phone-body, .st-app-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.st-bubble {
    margin: 0;
    max-width: 92%;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 13.5px;
}

.st-in { background: #f9f9f9; border: 1px solid rgba(0, 0, 0, 0.12); }
.st-out { align-self: flex-end; background: #0c1b44; color: #ffffff; }

.st-chip, .st-ok, .st-wait, .st-linkrow, .st-field {
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 13px;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.st-ok { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.st-wait { display: flex; align-items: center; gap: 6px; color: #5b6785; }
.st-linkrow { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.st-pill {
    background: #0c1b44;
    color: #ffffff;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 600;
}

.st-field { background: #f9f9f9; }
.st-field b { display: block; font-size: 11px; color: #5b6785; font-weight: 600; }
.st-paste { display: block; margin-top: 4px; }

.st-anim { opacity: 1; }
html.dn-anim .st-anim { opacity: 0; animation: st-in 9s infinite; }
.st-d1 { animation-delay: 0.2s; }
.st-d2 { animation-delay: 0.7s; }
.st-d3 { animation-delay: 1.3s; }
.st-d4 { animation-delay: 2s; }
.st-d5 { animation-delay: 2.6s; }
.st-d6 { animation-delay: 3.2s; }
.st-d7 { animation-delay: 3.8s; }
.st-d8 { animation-delay: 4.4s; }
.st-d9 { animation-delay: 5s; }

@keyframes st-in {
    0%, 6% { opacity: 0; transform: translateY(8px); }
    16%, 82% { opacity: 1; transform: none; }
    100% { opacity: 0; }
}

.st-card:hover .st-anim { animation-play-state: paused; }

@media (min-width: 760px) {
    .st-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .st-anim { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* PDF o link */
.cmp {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.cmp-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 720px;
}

.cmp-copy p,
.cmp-close,
.cmp-more {
    margin: 0;
    color: #5b6785;
    font-size: 18px;
    line-height: 1.55;
    max-width: 62ch;
}

.cmp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.cmp-col {
    border-radius: 16px;
    padding: 22px 22px 8px;
    min-width: 0;
}

.cmp-col h3 {
    margin: 0 0 18px;
    font-size: 18px;
}

.cmp-col--muted {
    background: #f3f2f0;
    color: #5b6785;
}

.cmp-col--muted h3 { color: #5b6785; font-weight: 600; }

.cmp-col--live {
    background: #ffffff;
    border: 1.5px solid #0c1b44;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.24), 0 8px 24px rgba(12, 27, 68, 0.06);
}

.cmp-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cmp-step {
    position: relative;
    padding: 0 0 22px 28px;
    font-size: 16px;
    line-height: 1.35;
}

.cmp-step::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 14px;
    bottom: 0;
    border-left: 2px dotted rgba(0, 0, 0, 0.22);
}

.cmp-step:last-child::before { display: none; }

.cmp-step::after {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #c5c9d4;
    box-sizing: border-box;
}

.cmp-col--muted .cmp-step { color: #5b6785; }

.cmp-col--live .cmp-step {
    color: #0c1b44;
    font-weight: 600;
}

.cmp-col--live .cmp-step::before { border-left-color: #9f83fa; }
.cmp-col--live .cmp-step::after {
    background: #9f83fa;
    border-color: #9f83fa;
}

.cmp-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 4px 0 18px;
    color: #0c1b44;
    font-size: 16px;
    line-height: 1.6;
}

.cmp-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    background: rgba(159, 131, 250, 0.22);
    color: #0c1b44;
    font-size: 13px;
    font-weight: 600;
}

html.dn-anim .cmp:not(.is-in) .cmp-step,
html.dn-anim .cmp:not(.is-in) .cmp-chip { opacity: 0; }

html.dn-anim .cmp.is-in .cmp-step {
    animation: cmp-in 0.45s cubic-bezier(0.23, 1, 0.32, 1) both;
}

html.dn-anim .cmp.is-in .cmp-slow:nth-child(1) { animation-delay: 0.05s; }
html.dn-anim .cmp.is-in .cmp-slow:nth-child(2) { animation-delay: 0.42s; }
html.dn-anim .cmp.is-in .cmp-slow:nth-child(3) { animation-delay: 0.79s; }
html.dn-anim .cmp.is-in .cmp-slow:nth-child(4) { animation-delay: 1.16s; }
html.dn-anim .cmp.is-in .cmp-slow:nth-child(5) { animation-delay: 1.53s; }
html.dn-anim .cmp.is-in .cmp-slow:nth-child(6) { animation-delay: 1.9s; }
html.dn-anim .cmp.is-in .cmp-fast:nth-child(1) { animation-delay: 0.05s; }
html.dn-anim .cmp.is-in .cmp-fast:nth-child(2) { animation-delay: 0.18s; }

html.dn-anim .cmp.is-in .cmp-chip {
    animation: cmp-pop 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0.32s both;
}

@keyframes cmp-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

@keyframes cmp-pop {
    from { opacity: 0; transform: scale(0.86); }
    to { opacity: 1; transform: none; }
}

/* Notificaciones */
.ntf {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
}

.ntf-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ntf-copy p {
    margin: 0;
    color: #5b6785;
    font-size: 17px;
    line-height: 1.55;
    max-width: 42ch;
}

.ntf-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.ntf-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.24), 0 8px 28px rgba(0, 0, 0, 0.06);
    padding: 16px 16px 14px;
    min-width: 0;
}

.ntf-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ntf-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 14.5px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.ntf-title svg { flex: none; color: #6b4fd8; }

.ntf-fresh {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #5b6785;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.ntf-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9f83fa;
    flex: none;
}

.ntf-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ntf-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ntf-list .ntf-row:last-child { border-bottom: 0; }

.ntf-ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(159, 131, 250, 0.16);
    color: #6b4fd8;
    display: grid;
    place-items: center;
}

.ntf-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ntf-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 2px 8px;
    background: #f9f9f9;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #0c1b44;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
}

.ntf-chip--ok {
    background: rgba(159, 131, 250, 0.22);
    border-color: transparent;
}

.ntf-time {
    color: #5b6785;
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ntf-line {
    margin: 4px 0 0;
    color: #5b6785;
    font-size: 14px;
    line-height: 1.4;
}

.ntf-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 8px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 12px;
}

.ntf-foot p {
    margin: 0;
    color: #0c1b44;
    font-size: 13.5px;
    font-variant-numeric: tabular-nums;
}

.ntf-foot span {
    color: #5b6785;
    font-weight: 500;
}

html.dn-anim .ntf:not(.is-in) .ntf-row,
html.dn-anim .ntf:not(.is-in) .ntf-foot { opacity: 0; }

html.dn-anim .ntf.is-in .ntf-row,
html.dn-anim .ntf.is-in .ntf-foot {
    animation: cmp-in 0.45s cubic-bezier(0.23, 1, 0.32, 1) both;
}

html.dn-anim .ntf.is-in .ntf-row:nth-child(2) { animation-delay: 0.08s; }
html.dn-anim .ntf.is-in .ntf-row:nth-child(3) { animation-delay: 0.16s; }
html.dn-anim .ntf.is-in .ntf-row:nth-child(4) { animation-delay: 0.24s; }
html.dn-anim .ntf.is-in .ntf-row:nth-child(5) { animation-delay: 0.32s; }
html.dn-anim .ntf.is-in .ntf-foot { animation-delay: 0.4s; }

/* Visor */
.vz-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
}

.vz-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 640px;
}

.vz-window {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.24), 0 12px 32px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    min-width: 0;
}

.vz-bar, .vz-row, .vz-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.vz-bar {
    padding: 12px 14px;
    background: #f9f9f9;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 13px;
    font-weight: 600;
}

.vz-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vz-lead, .vz-note, .vz-row {
    margin: 0;
    color: #5b6785;
    font-size: 14.5px;
    line-height: 1.45;
}

.vz-rows { display: flex; flex-direction: column; gap: 8px; }

.vz-row {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: #0c1b44;
}

.vz-row span { color: #5b6785; font-size: 13px; }

.vz-actions { flex-wrap: wrap; justify-content: flex-start; }

.vz-btn {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: #0c1b44;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.vz-btn--ghost {
    background: #ffffff;
    color: #0c1b44;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.vz-chip {
    border-radius: 999px;
    padding: 2px 8px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-size: 12px;
}

.vz-cta {
    background: #0c1b44;
    color: #ffffff;
}

.vz-cta h2,
.vz-cta p { color: #ffffff; }

.vz-cta p { color: #aab3cc; max-width: 52ch; }

.vz-cta a.dn-btn { background: #ffffff; color: #0c1b44; }

.vz-cta a.dn-btn:hover { background: #f3f4f8; color: #0c1b44; }

@media (min-width: 900px) {
    .cmp-grid { grid-template-columns: 1fr 1fr; align-items: start; }
    .ntf { grid-template-columns: minmax(0, 0.86fr) minmax(280px, 1.14fr); gap: 48px; }
    .vz-hero { grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr); gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    .cmp-step,
    .cmp-chip,
    .ntf-row,
    .ntf-foot {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Cotización que se navega */
.qv-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 720px;
}

.qv-copy p,
.qv-more {
    margin: 0;
    color: #5b6785;
    font-size: 18px;
    line-height: 1.55;
}

.qv-frame {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 18px;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.24), 0 16px 40px rgba(12, 27, 68, 0.06);
    padding: 16px 16px 8px;
    min-width: 0;
}

.qv-kicker {
    margin: 0 0 12px;
    color: #5b6785;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.q-doc { min-width: 0; color: #0c1b44; }

.q-doc[data-feature-search="off"] .q-search { display: none !important; }

.q-search {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.q-search-label { font-size: 13px; font-weight: 600; }
.q-search-input {
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 0 12px;
    font: inherit;
    color: #0c1b44;
}
.q-search-input:focus-visible {
    outline: 2px solid #6b4fd8;
    outline-offset: 2px;
}

.q-hero { padding: 8px 4px 18px; }
.q-bar, .q-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: space-between;
    align-items: baseline;
}
.q-word { font-weight: 600; }
.q-folio, .q-eye { margin: 0; color: #5b6785; font-size: 13px; }
.q-eye { margin-top: 14px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.q-doc h3.q-title {
    margin: 6px 0 0;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}
.q-lead { margin: 10px 0 0; color: #5b6785; font-size: 16px; line-height: 1.6; max-width: 68ch; }
.q-meta {
    margin: 16px 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.q-meta div {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 10px 12px;
}
.q-meta dt { margin: 0; color: #5b6785; font-size: 12px; font-weight: 600; }
.q-meta dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }

.q-body { min-width: 0; }
.q-index {
    position: sticky;
    top: 72px;
    z-index: 4;
    display: flex;
    gap: 8px;
    align-items: center;
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin: 0 -16px;
    padding: 8px 16px;
    scrollbar-width: thin;
}
.q-index-list {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.q-index a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: #5b6785;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 999px;
    padding: 0 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: background 0.15s ease, color 0.15s ease;
}
.q-index a:focus-visible {
    outline: 2px solid #6b4fd8;
    outline-offset: 2px;
}
.q-index a span { font-variant-numeric: tabular-nums; color: #6b4fd8; }
.q-index a[aria-current="location"] {
    color: #0c1b44;
    background: rgba(159, 131, 250, 0.16);
    border-color: transparent;
}
.q-index-anexo { margin: 0; flex: none; }
.q-main { padding: 8px 4px 20px; display: flex; flex-direction: column; gap: 22px; }
.q-sec { scroll-margin-top: 140px; border-radius: 12px; }
.q-doc h4 {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 8px;
    font-size: 20px;
    letter-spacing: -0.03em;
}
.q-doc h4 span, .q-doc h5 { font-variant-numeric: tabular-nums; }
.q-doc h4 span { color: #6b4fd8; font-size: 13px; }
.q-doc h5 { margin: 0 0 6px; font-size: 16px; letter-spacing: -0.02em; }
.q-sec p, .q-sec li { margin: 0; color: #0c1b44; font-size: 16px; line-height: 1.6; }
.q-sec ul, .q-steps { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.q-people { list-style: none; padding: 0; }
.q-people li { display: flex; flex-direction: column; gap: 2px; }
.q-people span, .q-label, .q-note, .q-detail, .q-accept-note { color: #5b6785; }
.q-note, .q-accept-note, .q-detail { display: block; margin-top: 6px; font-size: 13px; }
.q-label { font-weight: 600; }

.q-table-wrap { overflow-x: auto; }
.q-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.q-table th, .q-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid rgba(0, 0, 0, 0.08); vertical-align: top; }
.q-table thead th { color: #5b6785; font-size: 12px; font-weight: 600; }
.q-desc { display: block; font-weight: 600; }
.q-opt { display: flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 4px; font-size: 13px; font-weight: 600; cursor: pointer; }
.q-opt input { accent-color: #0c1b44; width: 20px; height: 20px; }
.q-opt input:focus-visible { outline: 2px solid #6b4fd8; outline-offset: 3px; }
.q-item.is-off { opacity: 0.55; }
.q-table tfoot th { font-weight: 600; }
.q-grand th, .q-grand td { font-weight: 600; color: #0c1b44; }
.q-amount { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.q-accept-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.q-accept {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: #0c1b44;
    color: #ffffff;
    font: inherit;
    font-weight: 600;
    min-height: 44px;
    padding: 0 16px;
    cursor: pointer;
}
.q-accept:hover { background: #1b294f; }
.q-accept:focus-visible { outline: 2px solid #6b4fd8; outline-offset: 3px; }
.q-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    background: rgba(159, 131, 250, 0.22);
    color: #0c1b44;
    font-size: 13px;
    font-weight: 600;
}
.q-doc.is-accepted .q-chip { box-shadow: inset 0 0 0 1px rgba(12, 27, 68, 0.2); }
.q-sec.q-hit { box-shadow: inset 0 0 0 2px rgba(159, 131, 250, 0.45); }
.q-sec.q-flash { animation: q-flash 0.6s ease-out; }
@keyframes q-flash {
    from { background: rgba(159, 131, 250, 0.2); }
    to { background: transparent; }
}

@media (max-width: 720px) {
    .q-table thead { display: none; }
    .q-table, .q-table tbody, .q-table tr, .q-table td, .q-table tfoot, .q-table tfoot tr { display: block; width: 100%; }
    .q-table tfoot th { display: inline; }
    .q-table td { border: 0; padding: 2px 0; }
    .q-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        color: #5b6785;
        font-size: 11px;
        font-weight: 600;
    }
    .q-table tr {
        padding: 10px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    .q-table tfoot tr { display: flex; justify-content: space-between; gap: 12px; }
}

@media (min-width: 900px) {
    .qv-frame { padding: 22px 22px 12px; }
    .q-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .q-body {
        display: grid;
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 28px;
        align-items: start;
    }
    .q-index {
        position: sticky;
        top: 88px;
        display: block;
        overflow: visible;
        margin: 0;
        padding: 8px 0 0;
        border: 0;
        background: transparent;
        z-index: 2;
    }
    .q-index-list { display: grid; gap: 2px; overflow: visible; }
    .q-index a {
        display: grid;
        grid-template-columns: 1.6rem 1fr;
        border: 0;
        border-left: 2px solid transparent;
        border-radius: 0 10px 10px 0;
        padding: 7px 8px;
        white-space: normal;
    }
    .q-index a:hover { background: rgba(12, 27, 68, 0.04); }
    .q-index a[aria-current="location"] {
        background: transparent;
        border-left-color: #9f83fa;
    }
    .q-index-anexo {
        display: grid;
        grid-template-columns: 1.6rem 1fr;
        margin-top: 4px;
    }
    .q-index-anexo::before { content: ""; }
    .q-sec { scroll-margin-top: 100px; }
}

@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
    .dn-browser { transform: scale(0.88); }
}

@media (max-width: 760px) {
    .dn-browser { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html:has(body.donna-page) { scroll-behavior: auto !important; }
    .q-sec.q-flash { animation: none !important; }
    .dn-browser { transform: none !important; margin-bottom: 0 !important; }
}

/* Navbar Donna: barra sticky, sin pastilla de vidrio */
body.donna-page .navbar {
    background: #f9f9f9;
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

body.donna-page .navbar.scrolled {
    background: #ffffff;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 24px rgba(12, 27, 68, 0.08);
}

body.donna-page .navbar .container,
body.donna-page .navbar.scrolled .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    justify-content: space-between;
    gap: 12px;
    padding: 0 24px;
}

body.donna-page .navbar.scrolled .btn-primary,
body.donna-page .navbar.scrolled .dn-mega-btn,
body.donna-page .navbar.scrolled .dn-nav-link {
    font-size: 15px;
}

body.donna-page .hamburger {
    position: relative;
    z-index: 260;
}

.dn-mega { position: static; }

.dn-mega-btn,
.dn-nav-link {
    appearance: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #0c1b44;
    font: inherit;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
}

.dn-mega-btn[aria-expanded="true"] {
    background: rgba(159, 131, 250, 0.16);
}

.dn-mega-btn:focus-visible,
.dn-nav-link:focus-visible,
.dn-mega-item:focus-visible,
.dn-post:focus-visible,
.dn-mega-more:focus-visible {
    outline: 2px solid #6b4fd8;
    outline-offset: 3px;
}

.dn-mega-panel {
    position: absolute;
    left: 50%;
    right: auto;
    top: calc(100% + 8px);
    width: min(920px, calc(100vw - 32px));
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(12, 27, 68, 0.08);
    padding: 16px;
    z-index: 6;
}

.dn-mega-panel[hidden] { display: none; }

.dn-mega-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.dn-mega-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 16px;
    align-items: start;
}

.dn-mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.dn-mega-item,
.dn-post,
.dn-mega-more {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    min-height: 44px;
    padding: 8px;
    border-radius: 12px;
    color: #0c1b44;
    text-decoration: none;
}

.dn-mega-item:hover,
.dn-post:hover,
.dn-mega-more:hover {
    background: rgba(12, 27, 68, 0.04);
}

.dn-mega-item strong,
.dn-post strong {
    display: block;
    font-weight: 600;
}

.dn-mega-item small,
.dn-post small,
.dn-mega-more small {
    display: block;
    margin-top: 2px;
    color: #5b6785;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;
}

.dn-mega-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(159, 131, 250, 0.16);
    color: #0c1b44;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

.dn-mega-icon svg {
    width: 18px;
    height: 18px;
    transition: transform 0.18s ease;
}

.dn-mega-item:hover .dn-mega-icon svg,
.dn-mega-item:focus-visible .dn-mega-icon svg {
    transform: translateY(-2px);
}

.dn-mega-panel.is-open .dn-mega-item,
.dn-mega-panel.is-open .dn-post,
.dn-mega-panel.is-open .dn-mega-more {
    animation: dn-mega-in 0.22s ease both;
}

.dn-mega-panel.is-open .dn-mega-grid .dn-mega-item:nth-child(2) { animation-delay: 0.04s; }
.dn-mega-panel.is-open .dn-mega-grid .dn-mega-item:nth-child(3) { animation-delay: 0.08s; }
.dn-mega-panel.is-open .dn-mega-grid .dn-mega-item:nth-child(4) { animation-delay: 0.12s; }
.dn-mega-panel.is-open .dn-mega-grid .dn-mega-item:nth-child(5) { animation-delay: 0.16s; }
.dn-mega-panel.is-open .dn-mega-grid .dn-mega-item:nth-child(6) { animation-delay: 0.2s; }
.dn-mega-panel.is-open .dn-mega-grid .dn-mega-item:nth-child(7) { animation-delay: 0.24s; }
.dn-mega-panel.is-open .dn-mega-grid .dn-mega-item:nth-child(8) { animation-delay: 0.28s; }

@keyframes dn-mega-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

.dn-mega-preview {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dn-mega-kicker,
.dn-mega-line span {
    margin: 0;
    color: #5b6785;
    font-size: 12px;
    font-weight: 600;
}

.dn-mega-doc-title { margin: 0; font-weight: 600; font-size: 14px; }

.dn-mega-line {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    font-size: 13px;
}

.dn-mega-status {
    align-self: flex-start;
    border-radius: 999px;
    padding: 4px 10px;
    background: #ffffff;
    color: #5b6785;
    border: 1px solid rgba(0, 0, 0, 0.12);
    font-size: 13px;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dn-mega-status.is-accepted {
    background: rgba(159, 131, 250, 0.22);
    color: #0c1b44;
    border-color: transparent;
}

.dn-mega-side {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dn-mega-more { align-items: center; font-weight: 600; }

.dn-nav-link { margin-left: 4px; }

/* El .btn global (display: inline-flex) pisa .mobile-cta { display: none }.
   En escritorio queda solo el CTA del borde derecho. En el drawer (≤768) se muestra este. */
body.donna-page .nav-links .mobile-cta {
    display: none;
}

@media (max-width: 768px) {
    body.donna-page .nav-links {
        width: min(100%, 360px);
        overflow-y: auto;
        padding: 76px 16px 28px;
        background: #ffffff;
    }

    body.donna-page .nav-links a,
    body.donna-page .nav-links .dn-mega-btn,
    body.donna-page .nav-links .dn-nav-link {
        border-bottom: 0;
        width: 100%;
        justify-content: flex-start;
        font-size: 16px;
    }

    body.donna-page .dn-mega { width: 100%; }

    body.donna-page .dn-mega-panel {
        position: static;
        width: auto;
        transform: none;
        left: auto;
        border: 0;
        box-shadow: none;
        padding: 4px 0 8px;
        background: transparent;
    }

    body.donna-page .dn-mega-panel::before { display: none; }

    body.donna-page .dn-mega-layout,
    body.donna-page .dn-mega-grid { grid-template-columns: 1fr; }

    body.donna-page .navbar > .container > .btn-primary { display: none; }

    body.donna-page .nav-links .mobile-cta {
        display: inline-flex;
        margin-top: 12px;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dn-mega-panel.is-open .dn-mega-item,
    .dn-mega-panel.is-open .dn-post,
    .dn-mega-panel.is-open .dn-mega-more,
    .dn-mega-icon svg,
    .dn-mega-status {
        animation: none !important;
        transition: none !important;
        opacity: 1;
        transform: none;
    }
}

/* Flujo de la cotización */
.fl-board { display: flex; flex-direction: column; gap: 28px; text-align: left; }

.fl-kicker {
    margin: 0;
    color: #5b6785;
    font-size: 13px;
    font-weight: 600;
}

.fl-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.fl-steps::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 16px;
    bottom: 16px;
    width: 2px;
    background: rgba(0, 0, 0, 0.12);
    transform-origin: top center;
}

.fl-step {
    position: relative;
    margin: 0;
    padding: 0 0 22px 48px;
}

.fl-n {
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.12);
    color: #0c1b44;
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    z-index: 1;
}

.fl-step h3 {
    margin: 2px 0 6px;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.fl-step p,
.fl-mail,
.fl-soon p { margin: 0; color: #5b6785; font-size: 16px; line-height: 1.6; }

.fl-main {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.fl-copy { min-width: 0; }

.fl-join {
    position: absolute;
    left: 13px;
    top: 28px;
    width: 2px;
    height: calc(100% - 10px);
    background: #9f83fa;
    transform-origin: top center;
    transform: scaleY(1);
    z-index: 0;
}

html.dn-anim .fl-step:not(.is-in) .fl-join { transform: scaleY(0); }

.fl-screen {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    transition: border-color 0.2s ease, transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.fl-screen-k {
    margin: 0;
    color: #5b6785;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fl-ink,
.fl-line {
    margin: 0;
    color: #0c1b44;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.fl-line {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 8px 10px;
}

.fl-line span:last-child { color: #5b6785; font-weight: 500; }

.fl-accept {
    justify-content: center;
    background: #0c1b44;
    color: #ffffff;
    border-radius: 999px;
}

.fl-swap .fl-from { display: none; }

html.dn-anim .fl-swap:not(.is-next) .fl-from { display: inline-flex; }
html.dn-anim .fl-swap:not(.is-next) .fl-to { display: none; }

html.dn-anim .fl-swap.is-next .fl-to {
    animation: fl-pop 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.fl-screen .fl-chip { margin-top: 0; }

@media (hover: hover) and (pointer: fine) {
    .fl-step:hover .fl-screen,
    .fl-step:focus-within .fl-screen {
        border-color: #9f83fa;
        transform: translateY(-3px);
    }

    .fl-step:hover .fl-n,
    .fl-step:focus-within .fl-n {
        border-color: #9f83fa;
    }
}

.fl-step--ok .fl-n {
    background: rgba(159, 131, 250, 0.22);
    border-color: #9f83fa;
}

.fl-chip {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    border-radius: 999px;
    padding: 4px 10px;
    background: rgba(159, 131, 250, 0.22);
    color: #0c1b44;
    font-size: 13px;
    font-weight: 600;
}

.fl-chip--soon {
    background: #ffffff;
    color: #5b6785;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.fl-path {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

.fl-path code {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: #0c1b44;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 6px 8px;
}

.fl-btn {
    appearance: none;
    border: 0;
    border-radius: 999px;
    min-height: 44px;
    padding: 0 14px;
    background: #0c1b44;
    color: #ffffff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.fl-btn:hover { background: #1b294f; }
.fl-btn:focus-visible { outline: 2px solid #6b4fd8; outline-offset: 3px; }

.fl-btn--ghost {
    background: #ffffff;
    color: #0c1b44;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.fl-btn--ghost:hover { background: #f3f4f8; }

.fl-note { margin-top: 8px; color: #5b6785; font-size: 16px; line-height: 1.6; }

.fl-mails {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fl-mail {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 8px 10px;
    color: #0c1b44;
    font-weight: 600;
}

.fl-mail span:last-child { color: #5b6785; font-weight: 400; }
.fl-mail.is-off { opacity: 0.55; }

.fl-tree {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    position: relative;
    margin-left: 48px;
    padding-top: 8px;
}

.fl-tree::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 0;
    bottom: 36px;
    width: 2px;
    background: #9f83fa;
}

.fl-soon {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    padding: 16px 16px 16px 28px;
}

.fl-soon h3 {
    margin: 0 0 4px;
    font-size: 20px;
    letter-spacing: -0.03em;
}

.fl-soon::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 24px;
    width: 10px;
    height: 2px;
    background: #9f83fa;
}

html.dn-anim .fl-step:not(.is-in),
html.dn-anim .fl-tree:not(.is-in) { opacity: 0; }

html.dn-anim .fl-step.is-in { animation: fl-in 0.5s cubic-bezier(0.23, 1, 0.32, 1) both; }

html.dn-anim .fl-step.is-in .fl-join {
    animation: fl-grow-y 0.45s cubic-bezier(0.23, 1, 0.32, 1) both;
}

html.dn-anim .fl-step.is-in .fl-ink {
    animation: fl-ink 0.55s cubic-bezier(0.23, 1, 0.32, 1) both;
    animation-delay: calc(0.18s + (var(--i, 0) * 0.16s));
}

html.dn-anim .fl-step.is-in .fl-line {
    opacity: 0;
    animation: fl-in 0.45s cubic-bezier(0.23, 1, 0.32, 1) both;
    animation-delay: calc(0.16s + (var(--i, 0) * 0.14s));
}

html.dn-anim .fl-tree.is-in { animation: fl-in 0.5s cubic-bezier(0.23, 1, 0.32, 1) both; }

@keyframes fl-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

@keyframes fl-grow-y {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

@keyframes fl-ink {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

@keyframes fl-pop {
    from { opacity: 0; transform: scale(0.86); }
    to { opacity: 1; transform: none; }
}

@media (min-width: 800px) {
    .fl-main {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
        gap: 22px;
        align-items: start;
    }
}

@media (min-width: 980px) {
    .fl-tree {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        margin-left: 48px;
        margin-top: 8px;
        padding-top: 28px;
    }

    .fl-tree::before {
        left: 25%;
        right: 25%;
        top: 12px;
        bottom: auto;
        width: auto;
        height: 2px;
    }

    .fl-tree::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 0;
        width: 2px;
        height: 12px;
        background: #9f83fa;
    }

    .fl-soon { padding: 20px; }
    .fl-soon::before {
        left: 50%;
        top: -16px;
        width: 2px;
        height: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.dn-anim .fl-step,
    html.dn-anim .fl-step.is-in,
    html.dn-anim .fl-step.is-in .fl-join,
    html.dn-anim .fl-step.is-in .fl-ink,
    html.dn-anim .fl-step.is-in .fl-line,
    html.dn-anim .fl-swap.is-next .fl-to,
    html.dn-anim .fl-tree.is-in {
        animation: none !important;
        opacity: 1;
        transform: none;
        clip-path: none;
    }

    .fl-swap .fl-from,
    html.dn-anim .fl-swap:not(.is-next) .fl-from { display: none; }
    .fl-swap .fl-to,
    html.dn-anim .fl-swap:not(.is-next) .fl-to { display: inline-flex; }
    .fl-step:hover .fl-screen,
    .fl-step:focus-within .fl-screen { transform: none; }
}

/* Módulos de la cotización */
.mod-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.mod-subhead {
    margin: 20px 0 0;
    font-size: clamp(28px, 3vw, 40px);
}

.mod {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.24), 0 4px 24px rgba(0, 0, 0, 0.06);
    min-width: 0;
    scroll-margin-top: 88px;
}

.mod--quiet {
    background: #f9f9f9;
    box-shadow: none;
}

.mod-sum {
    display: flex;
    align-items: center;
    list-style: none;
    cursor: pointer;
    min-height: 44px;
    padding: 14px 16px;
}

.mod-sum::-webkit-details-marker { display: none; }

.mod-sum h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    min-width: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.25;
    letter-spacing: -0.03em;
    font-weight: 600;
}

.mod-label { min-width: 0; }

.mod-sum:focus { outline: none; }

.mod-sum:focus-visible {
    outline: 2px solid #6b4fd8;
    outline-offset: -2px;
    border-radius: 16px;
}

.mod-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(159, 131, 250, 0.18);
    color: #0c1b44;
    display: grid;
    place-items: center;
    flex: none;
}

.mod--quiet .mod-ico {
    background: #ffffff;
    color: #5b6785;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.mod-panel {
    display: grid;
    grid-template-rows: 0fr;
}

.mod[open] .mod-panel { grid-template-rows: 1fr; }

.mod-body {
    overflow: hidden;
    min-height: 0;
}

.mod[open] .mod-body {
    padding: 0 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mod-body p {
    margin: 0;
    color: #5b6785;
    font-size: 15px;
    line-height: 1.55;
}

.mod-scene {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 72px;
}

.ms-stage { display: grid; min-height: 72px; }

.ms-stage > .ms-from,
.ms-stage > .ms-to { grid-area: 1 / 1; }

.ms-card,
.ms-doc,
.ms-row,
.ms-mail,
.ms-bubble {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.35;
    color: #0c1b44;
}

.ms-card,
.ms-doc,
.ms-row,
.ms-mail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ms-card { flex-direction: column; align-items: flex-start; }

.ms-k,
.ms-muted { color: #5b6785; font-weight: 500; }

.ms-doc-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.ms-doc-copy span { color: #5b6785; font-size: 12px; }

.ms-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #0c1b44;
    color: #ffffff;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: grid;
    place-items: center;
    flex: none;
}

.ms-chip {
    border-radius: 999px;
    padding: 3px 8px;
    background: rgba(159, 131, 250, 0.2);
    color: #0c1b44;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.ms-chips { display: flex; flex-wrap: wrap; gap: 6px; }

.ms-btn {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #0c1b44;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

.ms-btn--line {
    background: #ffffff;
    color: #0c1b44;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
}

.ms-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.ms-bubble {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    border-radius: 12px 12px 12px 4px;
}

.ms-swap {
    position: relative;
    display: inline-grid;
    justify-items: end;
}

.ms-swap > .ms-from,
.ms-swap > .ms-to { grid-area: 1 / 1; }

.ms-from { opacity: 0; }

@media (min-width: 720px) {
    .mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
    .mod-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

html.dn-anim .mod[open] .ms-stage > .ms-from,
html.dn-anim .mod[open] .ms-swap > .ms-from {
    opacity: 1;
    animation: ms-out 2.4s ease forwards;
}

html.dn-anim .mod[open] .ms-stage > .ms-to,
html.dn-anim .mod[open] .ms-swap > .ms-to {
    opacity: 0;
    animation: ms-in 2.4s ease forwards;
}

html.dn-anim .mod[open] .ms-tick {
    stroke-dasharray: 24;
    stroke-dashoffset: 24;
    animation: ms-draw 0.55s ease 0.3s forwards;
}

html.dn-anim .mod[open] .ms-d1,
html.dn-anim .mod[open] .ms-d2,
html.dn-anim .mod[open] .ms-d3,
html.dn-anim .mod[open] .ms-d4 {
    opacity: 0;
    animation: ms-in 0.45s ease forwards;
}

html.dn-anim .mod[open] .ms-d2 { animation-delay: 0.18s; }
html.dn-anim .mod[open] .ms-d3 { animation-delay: 0.36s; }
html.dn-anim .mod[open] .ms-d4 { animation-delay: 0.54s; }

@keyframes ms-out {
    0%, 38% { opacity: 1; }
    58%, 100% { opacity: 0; }
}

@keyframes ms-in {
    0%, 38% { opacity: 0; }
    58%, 100% { opacity: 1; }
}

@keyframes ms-draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
    .mod-panel,
    .ms-from,
    .ms-to,
    .ms-d1,
    .ms-d2,
    .ms-d3,
    .ms-d4,
    .ms-tick {
        animation: none !important;
        transition: none !important;
        opacity: 1;
    }

    .ms-from { display: none; }
}

.dn-hero:has(.dn-stage) .dn-actions {
    justify-content: center;
}

.dn-btn--line {
    background: #ffffff;
    color: #0c1b44;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16);
}

.dn-btn--line:hover,
.dn-btn--line:focus-visible {
    background: #f3f4f7;
    color: #0c1b44;
}

.ct-slim {
    padding: 22px 0;
}

.ct-slim .ct-head {
    margin-bottom: 0;
}

.ct-slim .ct-head p {
    max-width: 820px;
    color: #ffffff;
    font-weight: 600;
}

.dn-fn {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px 28px;
    margin: 8px 0 28px;
    padding: 0;
    list-style: none;
}

.dn-fn a {
    color: #0c1b44;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dn-sec h2.fl-next {
    margin: 48px 0 12px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #0c1b44;
}

@media (min-width: 761px) {
    .dn-fn { grid-template-columns: 1fr 1fr; }
}
