/* =========================================================================
   Campaña · Black Cumbre (bf_implantes.php, bf_diagnostico.php, bf_invisalign.php)
   Header azul + hero negro con foto. Se carga DESPUÉS de diagnostico-cero.css
   (e implantes.css en implantes/diagnóstico) y todo va bajo .dcc-bf, así que
   no afecta a las otras landings.
   Colores del diseño (Figma · Landings_Black_Friday): azul campaña #304FF2,
   cian #00BFED, destello #7EDDFF, lila #A4B2FF, fondo hero #050507.
   ========================================================================= */

/* bf_invisalign.php carga css/main.css, cuya regla "* { margin:0; padding:0; border:0;
   font-family: Host Grotesk; font-weight:100 }" pisaría los estilos que los bloques nuevos
   heredan. Dentro de .dcc-bf se vuelve a los valores normales (sin especificidad, así que
   cualquier regla con clase o etiqueta sigue mandando). En las otras landings no cambia nada. */
.dcc.dcc-bf { font-family: var(--dcc-font-texto); font-weight: 400; font-style: normal; }
:where(.dcc-bf) * { margin: revert; padding: revert; border: revert; font-family: revert; font-weight: revert; font-style: revert; }

.dcc-bf {
    --bf-azul: #304ff2;
    --bf-azul-claro: #3a59f6;
    --bf-cian: #00bfed;
    --bf-destello: #7eddff;
    --bf-lila: #a4b2ff;
    --bf-rosado: #ff668e;
    --bf-marino: #0f083a;
    --bf-negro: #050507;
}

/* 01 · Header ------------------------------------------------------------------ */
.dcc-bf .dcc-header {
    background: var(--bf-azul);
    border-bottom: 0;
}
.dcc-bf .dcc-header__divider { background: var(--bf-cian); }
.dcc-bf .dcc-header__tagline { color: var(--bf-cian); }
.dcc-bf .dcc-btn--header,
.dcc-bf .dcc-btn--header:hover { background: var(--bf-cian); color: var(--bf-marino); }

/* 02 · Hero ------------------------------------------------------------------- */
.dcc-bf .bf-hero {
    position: relative;
    overflow: hidden;
    background: var(--bf-negro);
    color: #fff;
    font-family: var(--dcc-font-titulos);
}
/* foto a la derecha, con un degradé que la funde con el fondo negro */
.dcc-bf .bf-hero__foto {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(var(--bf-foto-ancho, 930px), 52%);
}
.dcc-bf .bf-hero__foto img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: var(--bf-foto-x, 100%) center; /* punto de la foto que se conserva cuando la pantalla es más angosta */
}
.dcc-bf .bf-hero__foto::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 140px;
    background: linear-gradient(90deg, var(--bf-negro), rgba(5, 5, 7, 0));
}
.dcc-bf .bf-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: var(--bf-hero-alto, 830px);
}
.dcc-bf .bf-hero__contenido {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: flex-start;
    width: 100%;
    max-width: 661px;
    margin-left: var(--bf-desplazamiento, 0);
    padding: var(--bf-hero-pt, 91px) 0 64px;
}
/* medidas de cada hero (diseño a 1920px) */
/* el logo es el marco "Black Cumbre · campaña" exportado de Figma (230×157, con aire alrededor);
   en cada hero el diseño lo usa a otro ancho */
.dcc-bf .bf-hero--implantes { --bf-foto-x: 20%; --bf-hero-pt: 68px; --bf-logo-ancho: 341.5px; --bf-logo-movil: 247px; --bf-titulo-mt: 8px; }
.dcc-bf .bf-hero--diagnostico { --bf-foto-x: 55%; --bf-hero-pt: 68px; --bf-logo-ancho: 323.3px; --bf-logo-movil: 176px; --bf-titulo-mt: 12px; --bf-desplazamiento: -28px; }
.dcc-bf .bf-hero--diagnostico .bf-hero__contenido { max-width: 656px; }
/* diagnóstico: la foto (1366×830) va a tamaño completo pegada a la derecha y se funde en negro
   bajo el texto: negro hasta el 13,6% de la foto y se aclara del todo al 47,3% (medido del Figma) */
.dcc-bf .bf-hero--diagnostico .bf-hero__foto { width: min(1366px, 71.2%); }
.dcc-bf .bf-hero--diagnostico .bf-hero__foto::before {
    width: 100%;
    background: linear-gradient(90deg, var(--bf-negro) 13.6%, rgba(5, 5, 7, 0) 47.3%);
}
.dcc-bf .bf-hero--invisalign  { --bf-foto-x: 70%; --bf-hero-alto: 908px; --bf-hero-pt: 65px; --bf-logo-ancho: 230px; --bf-logo-movil: 160px; --bf-titulo-mt: 7px; --bf-titulo-lh: 43px; --bf-desplazamiento: 27px; }

/* Logo Black Cumbre */
.dcc-bf .bf-hero__logo {
    display: block;
    width: var(--bf-logo-ancho, 341.5px);
    height: auto;
    margin: 0;
}

/* Titular: una línea en negrita y otra en light */
.dcc-bf .bf-hero__titulo {
    margin-top: var(--bf-titulo-mt, 18px);
    font-family: var(--dcc-font-titulos);
    font-size: 50px;
    line-height: var(--bf-titulo-lh, 45px);
    color: #fff;
}
.dcc-bf .bf-hero__titulo span { display: block; }
.dcc-bf .bf-hero__titulo .bf-b { font-weight: 700; }
.dcc-bf .bf-hero__titulo .bf-l { font-weight: 300; }

/* Botón principal del hero */
.dcc-bf .bf-btn,
.dcc-bf .bf-btn:hover {
    width: 100%;
    padding: 18px 24px;
    background: var(--bf-azul);
    color: #fff;
    font-size: 20px;
    line-height: 22px;
    letter-spacing: 1px;
}
.dcc-bf .bf-btn:focus-visible { outline-color: var(--bf-cian); }

/* Implantes: cápsula "Implante + Corona…" + píldoras */
.dcc-bf .bf-capsula {
    width: 100%;
    margin-top: 21px;
    padding: 14px 20px 16px 27px;
    border: 4px solid var(--bf-azul);
    border-radius: 14px;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    white-space: nowrap;
}
.dcc-bf .bf-capsula__precio { color: var(--bf-lila); font-size: 30px; }
.dcc-bf .bf-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 13px;
    margin-top: 26px;
}
.dcc-bf .bf-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 11px;
    border: 4px solid var(--bf-azul);
    border-radius: 999px;
    color: #fff;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    white-space: nowrap;
}
.dcc-bf .bf-hero--implantes .bf-btn { margin-top: 37px; }
.dcc-bf .bf-hero__legal {
    width: 680px; /* en el diseño es un poco más ancha que la columna */
    max-width: calc(100vw - 48px);
    margin-top: 25px;
    color: rgba(255, 255, 255, .92);
    font-family: var(--dcc-font-titulos);
    font-size: 14px;
    line-height: 16px;
}

/* Diagnóstico: caja con las prestaciones (píldoras con check) + precio */
.dcc-bf .bf-pack {
    display: flex;
    align-items: stretch;
    gap: 22px;
    width: 100%;
    max-width: 620px;
    margin-top: 12px;
    padding: 23px 19px 21px 22px;
    border: 3px solid var(--bf-azul);
    border-radius: 16px;
    background: var(--bf-negro);
}
.dcc-bf .bf-pack__lista {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}
.dcc-bf .bf-pack .bf-pill {
    gap: 10px;
    height: 42px;
    padding: 0 10px 0 4px;
    border-width: 3px;
    font-size: 15.5px;
    line-height: 20px;
}
.dcc-bf .bf-pill__check { flex-shrink: 0; width: 28px; height: 28px; }
.dcc-bf .bf-precio {
    display: flex;
    flex: 0 0 326px;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 218px;
    padding: 22px 19px 20px;
    border-radius: 18px;
    background: var(--bf-azul);
    color: #fff;
}
.dcc-bf .bf-precio__referencia {
    margin-top: 12px;
    color: #bfbfbf;
    font-weight: 400;
    font-size: 29px;
    line-height: 32px;
    white-space: nowrap;
}
.dcc-bf .bf-precio__referencia s { text-decoration-thickness: 2px; }
.dcc-bf .bf-precio__label {
    font-style: italic;
    font-weight: 700;
    font-size: 28px;
    line-height: 30px;
}
.dcc-bf .bf-precio__valor {
    font-weight: 700;
    font-size: 81px;
    line-height: 78px;
    letter-spacing: -1px;
    white-space: nowrap;
}
.dcc-bf .bf-hero--diagnostico .bf-btn { margin-top: 40px; }

/* Invisalign: tarjeta de precio + millas */
.dcc-bf .bf-inv-card {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin-top: 12px;
    border: 3px solid var(--bf-azul);
    border-radius: 12px;
    background: var(--bf-marino);
}
.dcc-bf .bf-inv-card__precio {
    padding: 18px 160px 22px 22px;
    border-radius: 9px 9px 0 0;
    background: var(--bf-azul-claro);
    color: #fff;
}
.dcc-bf .bf-inv-card__desde {
    font-size: 20px;
    line-height: 26px;
    white-space: nowrap;
}
.dcc-bf .bf-inv-card__desde strong { font-weight: 700; }
.dcc-bf .bf-inv-card__valor {
    color: var(--bf-marino);
    font-weight: 700;
    font-size: 75px;
    line-height: 72px;
    letter-spacing: -.5px;
}
.dcc-bf .bf-inv-card__meses {
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
}
/* el estuche sobresale por arriba y por la derecha de la tarjeta (PNG transparente) */
.dcc-bf .bf-inv-card__estuche {
    position: absolute;
    top: -80px;
    right: -31px;
    width: 209px;
    height: auto;
    max-width: none;
    pointer-events: none;
}
.dcc-bf .bf-inv-card__millas {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 19px 23px 19px 18px;
}
.dcc-bf .bf-inv-card__millas-texto {
    font-size: 16px;
    line-height: 19px;
}
.dcc-bf .bf-inv-card__acumula { color: var(--bf-rosado); }
.dcc-bf .bf-inv-card__milla {
    display: block;
    margin: 3px 0 5px;
    color: var(--bf-destello);
    font-weight: 700;
    font-size: 21px;
    line-height: 26px;
    letter-spacing: .5px;
}
.dcc-bf .bf-inv-card__tarjetas {
    flex-shrink: 0;
    width: 304px;
    height: auto;
    max-width: 55%;
}
.dcc-bf .bf-hero--invisalign .bf-btn {
    margin-top: 24px;
    max-width: 580px;
    padding-top: 18.5px;
    padding-bottom: 18.5px;
    text-transform: none;
}
.dcc-bf .bf-hero__provider {
    display: block;
    width: 282px;
    height: auto;
    margin: 20px 0 0 -4px;
}

/* Diagnóstico · 03 "3 prestaciones para cuidar tu sonrisa" ------------------------ */
.dcc-bf .bfd-prestaciones {
    padding: 88px 0 80px;
    background: #fff;
}
.dcc-bf .bfd-prestaciones .dcc-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.dcc-bf .bfd-prestaciones__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
}
.dcc-bf .bfd-prestacion {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 34px 28px 32px;
    border-radius: 18px;
    background: #f3f6ff;
}
.dcc-bf .bfd-prestacion__numero {
    color: var(--bf-azul);
    font-family: var(--dcc-font-titulos);
    font-weight: 700;
    font-size: 19px;
}
.dcc-bf .bfd-prestacion h3 {
    margin-top: 8px;
    color: var(--imp-azul);
    font-family: var(--dcc-font-titulos);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
}
.dcc-bf .bfd-prestacion p {
    color: #4b5568;
    font-family: var(--dcc-font-titulos);
    font-size: 19px;
    line-height: 26px;
}
/* "Pack Estético": 4 tarjetas */
.dcc-bf .bfd-prestaciones__grid--4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dcc-bf .bfd-prestaciones__grid--4 .bfd-prestacion { gap: 12px; padding: 30px 28px 32px; }
.dcc-bf .bfd-prestaciones__grid--4 .bfd-prestacion h3 { margin-top: 6px; font-size: 28px; }
.dcc-bf .bfd-prestaciones__grid--4 .bfd-prestacion p { color: #3d4555; font-size: 19px; line-height: 27px; }

/* Cintillo: nota "(*) Válido para pagos superiores a $500.000." con más aire arriba */
.dcc-bf .dcc-beneficio__nota { margin-top: 6px; }

/* Invisalign · barra de atributos bajo el hero ------------------------------------ */
.dcc-bf .bfi-atributos {
    padding: 44px 24px 0;
    background: #fff;
}
.dcc-bf .bfi-atributos__barra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1370px;
    min-height: 124px;
    margin: 0 auto;
    padding: 10px 34px 10px 24px;
    border-radius: 62px;
    background: #f0faff;
    list-style: none;
}
.dcc-bf .bfi-atributo {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #3675bc;
    font-family: var(--dcc-font-texto);
    font-size: 31px;
    line-height: 32px;
}
.dcc-bf .bfi-atributo img { flex-shrink: 0; height: auto; }

/* Invisalign · "¿Cómo funciona…?": el título va dentro de la tarjeta azul (sin video) */
.bf-inv .invi-steps-card .invi-steps-title,
.bf-inv .invi-steps-card .invi-steps-subtitle { color: #fff; }
.bf-inv .invi-steps-card .invi-steps-subtitle { margin-bottom: 32px; }
/* el módulo de agendamiento queda entre "¿Cómo funciona…?" y "Alinea tus dientes…" */
.bf-inv .dcc-agenda { margin: 40px 0 30px; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1399.98px) {
    .dcc-bf .bf-hero__foto { width: min(var(--bf-foto-ancho, 930px), 48%); }
    .dcc-bf .bf-hero__contenido { margin-left: 0; }
}

@media (max-width: 1199.98px) {
    .dcc-bf .bf-hero__titulo { font-size: 44px; line-height: 41px; }
    .dcc-bf .bf-capsula { font-size: 27px; line-height: 34px; white-space: normal; }
    .dcc-bf .bf-capsula__precio { font-size: 25px; }
    .dcc-bf .bf-pill { font-size: 16px; }
    .dcc-bf .bf-precio { flex-basis: 280px; min-height: 200px; }
    .dcc-bf .bf-precio__valor { font-size: 66px; line-height: 66px; }
    .dcc-bf .bf-precio__referencia { font-size: 24px; line-height: 28px; }
    .dcc-bf .bfd-prestaciones__grid--4 { grid-template-columns: repeat(2, 1fr); }
    .dcc-bf .bfd-prestacion h3 { font-size: 24px; }
    .dcc-bf .bfd-prestacion p { font-size: 17px; line-height: 24px; }
    .dcc-bf .bfi-atributo { gap: 12px; font-size: 22px; line-height: 24px; }
    .dcc-bf .bfi-atributo img { width: 48px; }
}

/* Tablet y mobile: la foto va arriba y el contenido debajo, sobre fondo negro */
@media (max-width: 991.98px) {
    .dcc-bf .bf-hero__foto {
        position: relative;
        width: 100%;
        height: 420px;
    }
    .dcc-bf .bf-hero__foto img { object-position: var(--bf-foto-x-movil, 70%) 20%; }
    .dcc-bf .bf-hero__foto::before { display: none; } /* en mobile la foto termina con borde recto */
    /* el logo va debajo de la foto (diseño mobile) */
    .dcc-bf .bf-hero__inner { min-height: 0; }
    .dcc-bf .bf-hero__contenido { max-width: 661px; padding: 24px 0 48px; }
    .dcc-bf .bf-hero--diagnostico { --bf-foto-x-movil: 75%; } /* se ven las dos caras */
    .dcc-bf .bf-hero--diagnostico .bf-hero__foto { width: 100%; }
    .dcc-bf .bfd-prestaciones__grid { grid-template-columns: 1fr; max-width: 560px; gap: 16px; }
}

@media (max-width: 767.98px) {
    /* header mobile de la campaña: logo + botón, sin la fila del eslogan */
    .dcc-bf .dcc-header .dcc-header__inner { padding-bottom: 14px; }
    .dcc-bf .dcc-header__tagline--mobile { display: none; }

    .dcc-bf .bf-hero__foto { height: 370px; }
    .dcc-bf .bf-hero__inner { padding-right: 26px; padding-left: 26px; }
    .dcc-bf .bf-hero__contenido { padding: 18px 0 40px; }
    .dcc-bf .bf-hero__logo { width: var(--bf-logo-movil, 200px); }
    .dcc-bf .bf-hero__titulo { margin-top: 12px; font-size: 32px; line-height: 32px; }
    /* diagnóstico: el titular fluye en una sola frase ("…con / una sonrisa más / brillante") */
    .dcc-bf .bf-hero--diagnostico .bf-hero__titulo { margin-top: 6px; font-size: min(40px, 10vw); line-height: .9; }
    .dcc-bf .bf-hero--diagnostico .bf-hero__titulo span { display: inline; }
    .dcc-bf .bf-capsula { margin-top: 16px; padding: 12px 13px; border-width: 3px; font-size: 16.5px; line-height: 22px; white-space: nowrap; }
    .dcc-bf .bf-capsula__precio { font-size: 18px; }
    .dcc-bf .bf-pills { gap: 10px; margin-top: 18px; }
    .dcc-bf .bf-pill { padding: 6px 12px; border-width: 3px; font-size: 15px; line-height: 18px; }
    .dcc-bf .bf-btn,
    .dcc-bf .bf-btn:hover { padding: 17px 16px; font-size: 16px; line-height: 18px; white-space: normal; text-align: center; }
    .dcc-bf .bf-hero--implantes .bf-btn { margin-top: 24px; }
    .dcc-bf .bf-hero--diagnostico .bf-btn { margin-top: 28px; }
    .dcc-bf .bf-hero__legal { width: auto; max-width: none; margin-top: 18px; font-size: 12px; line-height: 15px; }

    /* diagnóstico: píldoras a todo el ancho y el precio debajo */
    .dcc-bf .bf-pack { flex-direction: column; gap: 18px; max-width: none; margin-top: 8px; padding: 20px 20px 22px; }
    .dcc-bf .bf-pack__lista { flex: none; justify-content: flex-start; gap: 10px; }
    .dcc-bf .bf-pack .bf-pill { height: 42px; font-size: 16px; }
    .dcc-bf .bf-precio { flex: none; width: 100%; min-height: 0; padding: 20px 14px 24px; }
    .dcc-bf .bf-precio__label { font-size: 26px; line-height: 30px; }
    /* crecen con el ancho de la pantalla sin pasarse de la caja (390px = diseño) */
    .dcc-bf .bf-precio__valor { font-size: min(74px, 18.6vw); line-height: 1.03; }
    .dcc-bf .bf-precio__referencia { margin-top: 8px; font-size: min(30px, 7.5vw); line-height: 1.15; }

    .dcc-bf .bf-inv-card { margin-top: 40px; }
    .dcc-bf .bf-inv-card__precio { padding: 16px 104px 14px 16px; }
    .dcc-bf .bf-inv-card__desde { font-size: 16px; line-height: 20px; white-space: normal; }
    .dcc-bf .bf-inv-card__valor { font-size: 54px; line-height: 56px; }
    .dcc-bf .bf-inv-card__meses { font-size: 18px; line-height: 22px; }
    .dcc-bf .bf-inv-card__estuche { top: -52px; right: -10px; width: 118px; }
    .dcc-bf .bf-inv-card__millas { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 16px 16px; }
    .dcc-bf .bf-inv-card__millas-texto { font-size: 15px; line-height: 18px; }
    .dcc-bf .bf-inv-card__milla { font-size: 18px; line-height: 22px; }
    .dcc-bf .bf-inv-card__tarjetas { width: 100%; max-width: 304px; }
    .dcc-bf .bf-hero--invisalign .bf-btn { margin-top: 20px; font-size: 18px; }
    .dcc-bf .bf-hero__provider { width: 200px; margin-top: 18px; }

    .dcc-bf .bfi-atributos { padding: 28px 16px 0; }
    .dcc-bf .bfi-atributos__barra { flex-direction: column; align-items: flex-start; gap: 14px; min-height: 0; padding: 20px 22px; border-radius: 24px; }
    .dcc-bf .bfi-atributo { font-size: 18px; line-height: 21px; }
    .dcc-bf .bfi-atributo img { width: 40px; }

    .dcc-bf .bfd-prestaciones { padding: 48px 0; }
    .dcc-bf .bfd-prestaciones .dcc-container { gap: 24px; }
    .dcc-bf .bfd-prestacion { padding: 24px 20px; gap: 10px; }
    .dcc-bf .bfd-prestacion h3 { margin-top: 4px; font-size: 22px; }
    .dcc-bf .bfd-prestacion p { font-size: 16px; line-height: 22px; }
    .dcc-bf .bfd-prestaciones__grid--4 .bfd-prestacion { gap: 10px; padding: 24px 22px; }
    .dcc-bf .bfd-prestaciones__grid--4 .bfd-prestacion h3 { margin-top: 4px; font-size: 22px; }
    .dcc-bf .bfd-prestaciones__grid--4 .bfd-prestacion p { font-size: 16px; line-height: 23px; }
}

/* entre 360 y 389px el logo del header y el botón no caben juntos: se achican un poco */
@media (max-width: 389.98px) {
    .dcc-bf .dcc-logo--header img { height: 26px; }
    .dcc-bf .dcc-btn--header { padding: 9px 12px; font-size: 12px; }
}

@media (max-width: 359.98px) {
    .dcc-bf .bf-hero__titulo { font-size: 27px; line-height: 28px; }
    .dcc-bf .bf-capsula { font-size: 14.5px; line-height: 20px; white-space: normal; }
    .dcc-bf .bf-capsula__precio { font-size: 15.5px; }
    .dcc-bf .bf-hero__inner { padding-right: 16px; padding-left: 16px; }
    .dcc-bf .bf-hero--diagnostico .bf-hero__titulo { font-size: 30px; line-height: 30px; }
    .dcc-bf .bf-precio__valor { font-size: 58px; line-height: 60px; }
    .dcc-bf .bf-precio__referencia { font-size: 20px; line-height: 26px; }
    .dcc-bf .bf-inv-card__precio { padding-right: 16px; }
    .dcc-bf .bf-inv-card__valor { font-size: 50px; line-height: 52px; }
    .dcc-bf .bf-inv-card__estuche { display: none; }
}
