/*
 * HOME / 02_facturas_bonitas_visual - CSS legacy extraido
 * Origen: astra-child/style.css activo.
 * Estado: espejo documental desconectado. No se carga en produccion.
 * Fecha: 2026-07-24.
 *
 * Nota: se excluyen restos legacy no presentes en section.html actual:
 * .dacar-fb-invoice-lab, .dacar-invoice-before, .dacar-invoice-after,
 * .dacar-fb-panel y variantes asociadas.
 */

/* Dependencias compartidas que esta seccion usa actualmente. */
.dacar-section {
    padding: 88px 24px;
}

.dacar-wrap {
    max-width: 1160px;
    margin: 0 auto;
}

.dacar-fb-beauty {
    background: #FFFFFF !important;
}

.dacar-fb-beauty-white {
    border-bottom: 0 !important;
    border-top: 0 !important;
    overflow: hidden;
    position: relative;
}

.dacar-fb-beauty-white::before {
    background:
        linear-gradient(rgba(0, 91, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 91, 255, .055) 1px, transparent 1px);
    background-size: 44px 44px;
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.dacar-fb-beauty-white > * {
    position: relative;
    z-index: 1;
}

body.page-id-4 .dacar-home-v2 > .dacar-hero + .dacar-fb-beauty-white,
body.page-id-4 .dacar-home-v2 > .dacar-hero + .dacar-section {
    margin-block-start: 0 !important;
    margin-top: 0 !important;
}

body.page-id-4 .dacar-home-v2 > .dacar-fb-beauty-white {
    margin-bottom: 0 !important;
    padding-bottom: 22px !important;
}

.dacar-fb-split {
    align-items: stretch !important;
    display: grid !important;
    gap: clamp(28px, 5vw, 64px) !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .72fr) !important;
}

.dacar-fb-beauty-white .dacar-fb-split {
    grid-template-columns: minmax(0, .96fr) minmax(360px, .88fr) !important;
}

.dacar-fb-copy h2 {
    color: #0B0F19 !important;
    font-size: clamp(32px, 4.2vw, 54px) !important;
    font-weight: 430 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.08 !important;
    margin: 0 !important;
    max-width: 850px !important;
}

.dacar-fb-beauty-white .dacar-fb-copy h2 {
    color: #07111F !important;
    font-size: clamp(32px, 4.2vw, 54px) !important;
    font-weight: 430 !important;
    margin-top: 0 !important;
    max-width: 780px !important;
}

body.page-id-4 .dacar-fb-copy h2 {
    line-height: 1.08 !important;
    max-width: 820px !important;
}

body.page-id-4 .dacar-fb-title-accent {
    color: #005BFF !important;
}

.dacar-fb-copy > p:not(.dacar-eyebrow) {
    color: #475569 !important;
    font-size: clamp(17px, 1.4vw, 20px) !important;
    line-height: 1.72 !important;
    margin-top: 22px !important;
    max-width: 740px !important;
}

.dacar-fb-beauty-white .dacar-fb-copy > p:not(.dacar-eyebrow) {
    color: #334155 !important;
    max-width: 700px !important;
}

body.page-id-4 .dacar-fb-copy > p:not(.dacar-eyebrow) {
    color: #27364A !important;
    line-height: 1.78 !important;
}

body.page-id-4 .dacar-fb-copy > p strong {
    color: #07111F !important;
    font-weight: 750 !important;
}

/* Lista editorial de capacidades Bonitas. */
body.page-id-4 .dacar-fb-feature-list {
    display: grid !important;
    gap: 22px !important;
    grid-template-columns: 1fr !important;
    list-style: none !important;
    margin: 36px 0 0 !important;
    max-width: 760px !important;
    padding: 0 !important;
}

body.page-id-4 .dacar-fb-feature-list li {
    display: grid !important;
    gap: 6px !important;
    grid-template-columns: 1fr !important;
    padding: 0 !important;
}

body.page-id-4 .dacar-fb-feature-list li::before {
    content: none !important;
    display: none !important;
}

body.page-id-4 .dacar-fb-feature-list strong,
body.page-id-4 .dacar-fb-feature-list span {
    grid-column: 1 !important;
}

body.page-id-4 .dacar-fb-feature-list strong {
    color: #07111F !important;
    font-size: 17px !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
}

body.page-id-4 .dacar-fb-feature-list span {
    color: #394A60 !important;
    font-size: 16px !important;
    line-height: 1.58 !important;
    max-width: 700px !important;
}

body.page-id-4 .dacar-fb-feature-list span b {
    color: #07111F !important;
    font-weight: 760 !important;
}

/* Comparativa visual antes/despues. */
.dacar-fb-hover-stage {
    align-self: stretch;
    display: grid;
    gap: 18px;
    grid-template-areas:
        "mode"
        "visual"
        "control";
    grid-template-columns: 1fr;
    min-height: 500px;
    place-items: center;
    position: relative;
}

body.page-id-4 .dacar-fb-hover-stage {
    gap: 14px !important;
    grid-template-areas:
        "visual"
        "control" !important;
    justify-items: center !important;
}

.dacar-fb-mode-title {
    color: #0B0F19;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: clamp(26px, 2.4vw, 34px);
    font-weight: 600;
    grid-area: mode;
    justify-self: center;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0 0 -8px !important;
    text-transform: uppercase;
}

body.page-id-4 .dacar-fb-mode-title {
    display: none !important;
}

.dacar-fb-hover-visual {
    aspect-ratio: 1.2;
    display: grid;
    filter: drop-shadow(0 30px 42px rgba(15, 23, 42, .22));
    grid-area: visual;
    max-width: 620px;
    position: relative;
    width: min(100%, 620px);
}

body.page-id-4 .dacar-fb-hover-visual {
    transform: translateY(-34px) !important;
}

.dacar-fb-hover-visual img {
    grid-area: 1 / 1;
    height: 100%;
    object-fit: contain;
    transform-origin: center;
    transition: opacity .42s ease, transform .42s ease, filter .42s ease;
    width: 100%;
}

.dacar-fb-hover-before {
    opacity: 1;
    transform: rotate(-3deg) scale(1.04);
}

.dacar-fb-hover-after {
    filter: drop-shadow(0 24px 34px rgba(0, 91, 255, .24));
    opacity: 0;
    transform: rotate(2deg) scale(.86) translateY(14px);
}

.dacar-fb-hover-stage.is-after-visible .dacar-fb-hover-before {
    filter: grayscale(1) blur(2px);
    opacity: .12;
    transform: rotate(-8deg) scale(.96);
}

.dacar-fb-hover-stage.is-after-visible .dacar-fb-hover-after {
    opacity: 1;
    transform: rotate(1deg) scale(.7);
}

.dacar-fb-hover-control {
    display: grid;
    gap: 12px;
    grid-area: control;
    justify-self: end;
    transform: translate(34px, -32px);
    width: min(100%, 620px);
}

body.page-id-4 .dacar-fb-hover-control {
    transform: translate(34px, -58px) !important;
}

.dacar-fb-hover-hint {
    align-self: center;
    background: #005BFF;
    border: 0;
    border-radius: 999px;
    color: #FFFFFF !important;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    justify-self: center;
    letter-spacing: 0;
    margin: 0 !important;
    padding: 10px 14px;
    text-transform: uppercase;
    white-space: nowrap;
}

.dacar-fb-lab-note {
    align-self: end;
    background: #0B0F19;
    border: 1px solid rgba(0, 91, 255, .55);
    border-radius: 18px;
    color: #E5E7EB;
    font-size: 14px;
    font-weight: 800;
    grid-column: 1 / -1;
    line-height: 1.5;
    padding: 18px 20px;
}

.dacar-fb-hover-stage .dacar-fb-lab-note {
    color: #FFFFFF !important;
    font-family: "Inter", "DM Sans", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    font-weight: 450;
    justify-self: stretch;
    line-height: 1.55;
    margin: 0 !important;
    max-width: none;
    text-align: center;
}
