/* Botón de idioma en negro */
.frontend-background {
    background: #fff !important;
}

.language-btn-black {
    background: #1e4274;
    color: #fff !important;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.language-btn-black .header-icon {
    color: #fff !important;
}

.language-btn-black:hover {
    background: #222;
}

/* ── Landing navbar: 3 columnas + Home azul ── */
#navbar-responsive.landing-nav {
    align-items: center;
    min-height: 72px;
    padding: 0.5rem 1.25rem;
}

#navbar-responsive.landing-nav .landing-nav__col--logo {
    width: 100%;
}

#navbar-responsive.landing-nav .landing-nav__col--logo .navbar-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    padding: 0;
}

#navbar-responsive.landing-nav .landing-nav__col--logo .navbar-brand img,
#navbar-responsive.landing-nav #brand-img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 56px !important;
    object-fit: contain !important;
    object-position: left center;
}

/* Anula max-width:150px del tema compilado (frontend.scss) */
#main #navbar-responsive.landing-nav .navbar-brand img,
#main #navbar-responsive.landing-nav #brand-img {
    max-width: 100% !important;
    width: 100% !important;
}

#navbar-responsive.landing-nav .landing-nav-link--home,
#navbar-responsive.landing-nav .landing-nav-link--home.active,
#navbar-responsive.landing-nav .landing-nav-link--home:hover,
#navbar-responsive.landing-nav .landing-nav-link--home:focus {
    color: #1e4274 !important;
    font-weight: 700;
    text-shadow: none;
}

#navbar-responsive.landing-nav .landing-nav-link--home:hover {
    color: #16345c !important;
}

#navbar-responsive.landing-nav .landing-nav__menu {
    gap: 1.75rem;
}

#navbar-responsive.landing-nav .landing-nav__menu .nav-item {
    margin: 0;
}

#navbar-responsive.landing-nav .landing-nav-signin {
    color: #333;
    font-weight: 600;
    text-decoration: none;
}

#navbar-responsive.landing-nav .landing-nav-signin:hover {
    color: #1e4274;
}

/* CTA Symptom Checker — botón llamativo */
#navbar-responsive.landing-nav .landing-nav-cta-symptom {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
    margin: 0 !important;
    padding: 0.55rem 1.15rem !important;
    border-radius: 999px;
    background: linear-gradient(135deg, #0d9488 0%, #1e4274 100%);
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 0.9rem;
    line-height: 1.2;
    text-decoration: none !important;
    text-shadow: none !important;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    white-space: nowrap;
}

#navbar-responsive.landing-nav .landing-nav-cta-symptom i {
    font-size: 0.95rem;
}

#navbar-responsive.landing-nav .landing-nav-cta-symptom:hover,
#navbar-responsive.landing-nav .landing-nav-cta-symptom:focus {
    color: #fff !important;
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(30, 66, 116, 0.4);
}

body.blue-background #navbar-responsive.landing-nav .landing-nav-cta-symptom {
    background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%);
    color: #0f2d4a !important;
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.45);
}

body.blue-background #navbar-responsive.landing-nav .landing-nav-cta-symptom:hover,
body.blue-background #navbar-responsive.landing-nav .landing-nav-cta-symptom:focus {
    color: #0f2d4a !important;
    filter: brightness(1.05);
}

@media (max-width: 991.98px) {
    #navbar-responsive.landing-nav .landing-nav-cta-symptom {
        margin-top: 0.5rem !important;
        justify-content: center;
        width: 100%;
        max-width: 280px;
    }
}

/* Páginas internas (no home): menú blanco sobre fondo azul */
body.blue-background #navbar-container {
    background: linear-gradient(180deg, rgba(30, 66, 116, 0.97) 0%, rgba(29, 67, 115, 0.92) 100%);
    box-shadow: 0 2px 16px rgba(30, 66, 116, 0.12);
}

body.blue-background #navbar-responsive.landing-nav .landing-nav-link--home,
body.blue-background #navbar-responsive.landing-nav .landing-nav-link--home.active,
body.blue-background #navbar-responsive.landing-nav .landing-nav-link--home:hover,
body.blue-background #navbar-responsive.landing-nav .landing-nav-link--home:focus {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

body.blue-background #navbar-responsive.landing-nav .landing-nav-link--home:hover,
body.blue-background #navbar-responsive.landing-nav .landing-nav-link--home.active {
    color: rgba(255, 255, 255, 0.92) !important;
}

body.blue-background #navbar-responsive.landing-nav .landing-nav-signin {
    color: #fff !important;
}

body.blue-background #navbar-responsive.landing-nav .landing-nav-signin:hover {
    color: rgba(255, 255, 255, 0.88) !important;
}

body.blue-background #navbar-responsive.landing-nav .language-btn-black {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

body.blue-background #navbar-responsive.landing-nav .language-btn-black:hover {
    background: rgba(255, 255, 255, 0.22);
}

body.blue-background #navbar-responsive.landing-nav .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.45);
}

body.blue-background #navbar-responsive.landing-nav .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

@media (min-width: 992px) {
    #navbar-responsive.landing-nav {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 1.5rem;
        align-items: center;
    }

    #navbar-responsive.landing-nav .landing-nav__collapse {
        display: contents !important;
    }

    #navbar-responsive.landing-nav .landing-nav__col {
        min-width: 0;
    }

    #navbar-responsive.landing-nav .landing-nav__col--logo {
        grid-column: 1;
        display: flex;
        align-items: center;
        justify-content: stretch;
        width: 100%;
    }

    #navbar-responsive.landing-nav .landing-nav__col--logo .navbar-brand {
        flex: 1 1 100%;
        width: 100%;
    }

    #navbar-responsive.landing-nav .landing-nav__col--logo .navbar-brand img,
    #navbar-responsive.landing-nav .landing-nav__col--logo #brand-img {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 56px !important;
    }

    #navbar-responsive.landing-nav .landing-nav__col--center {
        grid-column: 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #navbar-responsive.landing-nav .landing-nav__col--center .navbar-nav {
        flex-direction: row;
        margin: 0;
        align-items: center;
        gap: 1.75rem;
    }

    #navbar-responsive.landing-nav .landing-nav__col--actions {
        grid-column: 3;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
}

@media (max-width: 991.98px) {
    #navbar-responsive.landing-nav {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    #navbar-responsive.landing-nav .landing-nav__col--logo {
        flex: 1 1 auto;
        width: calc(100% - 52px);
        max-width: none;
    }

    #navbar-responsive.landing-nav .landing-nav__col--logo .navbar-brand,
    #navbar-responsive.landing-nav .landing-nav__col--logo .navbar-brand img,
    #navbar-responsive.landing-nav .landing-nav__col--logo #brand-img {
        width: 100% !important;
        max-width: 100% !important;
    }

    #navbar-responsive.landing-nav .landing-nav__col--logo .navbar-brand img,
    #navbar-responsive.landing-nav .landing-nav__col--logo #brand-img {
        max-height: 44px !important;
    }

    /* Menú hamburguesa: fondo blanco */
    #navbar-responsive.landing-nav .landing-nav__collapse.navbar-collapse,
    #navbar-responsive.landing-nav .landing-nav__collapse.navbar-collapse.show,
    #navbar-responsive.landing-nav .landing-nav__collapse.navbar-collapse.collapsing {
        flex: 0 0 100%;
        width: 100%;
        background: #fff !important;
        box-shadow: 0 8px 24px rgba(30, 66, 116, 0.08);
        padding: 1.25rem 1rem 1.5rem;
        margin-top: 0.5rem;
        border-top: 1px solid #eef2f7;
    }

    #navbar-responsive.landing-nav .landing-nav__collapse .navbar-nav .nav-link {
        color: #1e4274 !important;
        text-shadow: none !important;
    }

    #navbar-responsive.landing-nav .landing-nav__collapse .landing-nav-signin {
        color: #333 !important;
    }

    #navbar-responsive.landing-nav .landing-nav__col--center {
        margin-bottom: 1rem;
        display: flex;
        justify-content: center;
    }

    #navbar-responsive.landing-nav .landing-nav__col--actions {
        display: flex;
        justify-content: center;
    }
}

/* Fondo blanco global */
body,
.frontend-body,
.blue-background {
    background: #fff !important;
}

/* HERO SECTION */
/* HERO SECTION */
/* HERO SECTION */
.landing-hero {
    background-image: url("/images/banner1-landing.jpg");
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    background-color: #fff;
    margin-top: 90px;
    color: #1e4274;
    height: 800px;
    padding: 0;
    display: flex;
    align-items: center;
}

/* Altura fija en tablet/móvil — fondo a opacidad plena */
@media (max-width: 992px) {
    .landing-hero {
        position: relative;
        overflow: visible;
        background-image: none;
        background-color: #fff;
        min-height: clamp(600px, 138vw, 760px);
        height: auto;
        padding: 0;
        display: flex;
        align-items: stretch;
    }

    .landing-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        min-height: 100%;
        background-image: var(--hero-bg, url("/images/banner1-landing.jpg"));
        background-size: cover;
        background-position: right center;
        background-repeat: no-repeat;
        opacity: 1;
        z-index: 0;
        pointer-events: none;
    }

    .landing-hero .container {
        position: relative;
        z-index: 1;
        flex: 1 1 auto;
        align-self: stretch;
        width: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .landing-hero .row {
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
        align-items: stretch;
        margin: 0;
        width: 100%;
        min-height: 0;
    }

    /* Columna en flex: título arriba con aire abajo; subtítulo + botón pegados abajo juntos */
    .landing-hero .col-md-6 {
        position: relative;
        flex: 1 1 auto;
        align-self: stretch;
        max-width: 100%;
        width: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 0.75rem 0.75rem;
    }

    /* Arriba: sin margen/padding superior; buen hueco debajo del título */
    .landing-hero .hero-title {
        flex: 0 0 auto;
        align-self: center;
        margin: clamp(1.35rem, 6vw, 3rem) auto clamp(4rem, 18vw, 9rem);
        padding: 0;
        width: 100%;
        max-width: 22rem;
        text-align: center;
        font-size: clamp(1.85rem, 7.5vw, 2.65rem);
        font-weight: 800;
        line-height: 1.15;
        opacity: 1;
    }

    /* Subtítulo pegado al botón: margin-top auto empuja el bloque subtítulo+botón al pie */
    .landing-hero .hero-subtitle {
        flex: 0 0 auto;
        align-self: center;
        margin-top: auto;
        margin-bottom: clamp(1.1rem, 4.5vw, 2rem);
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        width: 92%;
        max-width: 21rem;
        text-align: center;
        font-size: clamp(0.95rem, 3.6vw, 1.15rem);
        font-weight: 700;
        line-height: 1.35;
        opacity: 1;
    }

    .landing-hero .hero-button {
        flex: 0 0 auto;
        align-self: center;
        margin: 0 auto 0.25rem !important;
        display: inline-block;
        text-align: center;
        white-space: normal;
        max-width: 94%;
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    width: 100%;
    opacity: 1;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 1;
}

.hero-button {
    background: #00bcd4;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    margin-top: 20px !important;
}

.hero-button:hover {
    background: #0097a7;
    color: #1e4274 !important;
}

.hero-button-dos {
    background: #1e4274;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    margin-top: 20px !important;
}
.blue-background:hover {
    background: #222;
    color: #fff !important;
}

/*******************************************section 2 *********************************************/
.service-box {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: 0.2s ease;
}

a.service-box {
    color: inherit;
    cursor: pointer;
}

a.service-box:hover .service-title,
a.service-box:hover .service-text {
    color: inherit;
}

.service-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto;
}

/* ICONOS FILA 1 */
.icon-general {
    background-image: url("/icons/general.png");
}
.icon-cardiology {
    background-image: url("/icons/cardiology.png");
}
.icon-pediatrics {
    background-image: url("/icons/pediatrics.png");
}
.icon-dermatology {
    background-image: url("/icons/dermatology.png");
}

/* ICONOS FILA 2 */
.icon-women {
    background-image: url("/icons/women.png");
}
.icon-men {
    background-image: url("/icons/men.png");
}
.icon-allergies {
    background-image: url("/icons/allergies.png");
}
.icon-respiratory {
    background-image: url("/icons/respiratory.png");
}
.icon-mental {
    background-image: url("/icons/mental.png");
}
.icon-more {
    background-image: url("/icons/more.png");
}

/* TITULOS Y TEXTOS */
.service-title {
    font-weight: 700;
    font-size: 16px;
    color: #1e4274;
}

.service-titleP {
    color: #1e4274;
}

.service-text {
    color: #6c757d;
    font-size: 13px;
}

/********************************* section 3 *********************************************/

/* ICONOS SECCIÓN 3 */
.icon-families {
    background-image: url("/icons/families.png");
}

.icon-professionals {
    background-image: url("/icons/professionals.png");
}

.icon-seniors {
    background-image: url("/icons/seniors.png");
}

.icon-students {
    background-image: url("/icons/students.png");
}

.icon-international {
    background-image: url("/icons/international.png");
}

/* Desktop */
.medical-services {
    background: #1d4373 !important;
}
@media (min-width: 992px) {
    .medical-services .service-icon {
        width: 95px;
        height: 95px;
    }
}

/* Tablet */
@media (max-width: 991px) and (min-width: 768px) {
    .medical-services .service-icon {
        width: 80px;
        height: 80px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .medical-services .service-icon {
        width: 70px;
        height: 70px;
    }
}

/**************************************section 4 *********************************************/
/* Fondo azul cielo muy claro */
.global-trust-section {
    background: #eaf4ff; /* Ajusta si quieres un azul más claro o más saturado */
}

/* Caja blanca */
.trust-box {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: 0.2s ease;
}

.trust-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Iconos */
.trust-icon {
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto;
}

/* ICONOS SECCIÓN 4 */
.icon-247 {
    background-image: url("/icons/247.png");
}

.icon-standards {
    background-image: url("/icons/standards.png");
}

.icon-improving {
    background-image: url("/icons/improving.png");
}

.icon-users {
    background-image: url("/icons/users.png");
}

.icon-countries {
    background-image: url("/icons/countries.png");
}

/* Textos */
.trust-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e4274;
}

.trust-text {
    font-size: 13px;
    color: #6c757d;
}

/* Desktop */
@media (min-width: 992px) {
    .global-trust-section .trust-icon {
        width: 95px;
        height: 95px;
    }
}

/* Tablet */
@media (max-width: 991px) and (min-width: 768px) {
    .global-trust-section .trust-icon {
        width: 80px;
        height: 80px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .global-trust-section .trust-icon {
        width: 70px;
        height: 70px;
    }
}
/************************************** SECTION 5 *********************************************/
/************************************** SECTION 5 *********************************************/

/* DESKTOP — Imagen como background */
.human-doctor-section {
    background-image: url("/images/doctor-banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 120px 40px;
    border-radius: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #eaf4ff;
}

/* Ocultar imagen interna en desktop */
.human-doctor-section .image-column {
    display: none;
}

/* Imagen interna (ya no se usará en mobile) */
.doctor-img {
    display: none;
}

/* Título */
.doctor-title {
    font-size: 36px;
    font-weight: 700;
    color: #1e4274;
}

/* Descripción */
.doctor-description {
    font-size: 16px;
    color: #4a5568;
    max-width: 420px;
    margin-bottom: 40px !important;
}

/* Botón desktop */
.hero-button-2 {
    display: inline-block;
    background-color: #1e4274;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

/* ============================= */
/* TABLET & MOBILE (≤ 850px)     */
/* ============================= */
@media (max-width: 850px) {
    /* 🔥 Usar imagen móvil como fondo */
    .human-doctor-section {
        background-image: url("/images/doctor-banner-movil.jpg");
        background-size: contain;
        background-position: right center;
        background-repeat: no-repeat;

        padding: 40px 20px;
        border-radius: 0;
        background-color: #c9d9ea;

        display: block; /* 🔥 elimina columnas */
        text-align: left;
        max-height: 300px;
        overflow: hidden;
    }

    /* 🔥 El texto ocupa todo el ancho */
    .human-doctor-section .text-column,
    .human-doctor-section .col-md-6 {
        width: 50%;
        max-width: 50%;
    }

    /* 🔥 Ajustes de texto */
    .doctor-title {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .doctor-description {
        font-size: 14px;
        margin-bottom: 20px !important;
    }

    /* 🔥 Botón adaptado */
    .hero-button-2 {
        white-space: normal;
        text-align: left;
        line-height: 1.3;
        padding: 12px 20px;
        font-size: 15px;
        width: 100%;
        max-width: 260px;
    }
}

@media (max-width: 600px) {
    .human-doctor-section .text-column,
    .human-doctor-section .col-md-6 {
        width: 100%;
        max-width: 100%;
    }

    .human-doctor-section {
        background-image: none;
    }
}

/************************************** SECTION 6 *********************************************/

/* DESKTOP — Imagen principal */
.human-doctor-section-seis {
    background-image: url("/images/app-banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 250px 20px;
    /* border-radius: 20px; */
    width: 100%;

    display: flex;
    align-items: center;
    background-color: #eaf4ff;
    text-align: left;
}
@media (max-width: 1044px) {
    .human-doctor-section-seis {
        background-image: url("/images/app-banner-movil.jpg");
    }

    .human-doctor-section-seis .col-md-6 {
        width: 100%;
        max-width: 100%;
    }
}
/* TABLET & MOBILE — desde 850px hacia abajo */
@media (max-width: 850px) {
    .human-doctor-section-seis {
        background-image: url("/images/app-banner-movil.jpg"); /* 🔥 nueva imagen */
        background-size: contain; /* se ve completa */
        background-position: top center;
        background-repeat: no-repeat;

        padding: 60px 0px;
        border-radius: 0; /* opcional si quieres quitar bordes */
        text-align: center;
        background-color: #eaf4ff;
        text-align: left;
        background-position: right center;
        justify-content: flex-start;
    }

    .human-doctor-section-seis .col-md-6 {
        width: 50%;
        max-width: 50%;
    }

    .human-doctor-section-seis .doctor-title {
        font-size: 24px;
        margin-bottom: 8px;

        text-align: left;
    }

    .human-doctor-section-seis .doctor-description {
        font-size: 14px;
        margin: 0 auto;
        text-align: left;
    }
}

/* ============================= */
/* BOTONES DE DESCARGA - SECTION 6 */
/* ============================= */

.app-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

.app-btn i {
    font-size: 26px;
    color: #fff;
}

.app-btn span {
    color: #fff;
    line-height: 1.1;
    text-align: left;
}

.app-btn:hover {
    background: #222;
}

/* MOBILE — botones uno debajo del otro */
@media (max-width: 850px) {
    .app-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .app-btn {
        width: 180px; /* puedes poner 100% si quieres */
    }
}

/* ============================= */
/* LANDING FOOTER (DocAI Health) */
/* ============================= */

.landing-footer {
    position: relative;
    background-color: #e4f2fb;
    background-image:
        radial-gradient(ellipse 120% 80% at 10% 20%, rgba(255, 255, 255, 0.55) 0%, transparent 55%),
        radial-gradient(ellipse 90% 70% at 85% 35%, rgba(255, 255, 255, 0.45) 0%, transparent 50%),
        radial-gradient(ellipse 100% 60% at 50% 90%, rgba(255, 255, 255, 0.35) 0%, transparent 45%),
        linear-gradient(180deg, #eaf6fd 0%, #d8ebf8 50%, #cfe5f5 100%);
    padding: 3.5rem 0 2.5rem;
    margin-top: 0;
    font-family: inherit;
    overflow: hidden;
}

.landing-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='0.25' d='M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: 100% 45%;
    background-repeat: no-repeat;
    background-position: center top;
    pointer-events: none;
    opacity: 0.9;
}

.landing-footer__inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
}

.landing-footer__brand {
    margin-bottom: 2.5rem;
}

.landing-footer__logo-link {
    display: inline-block;
    text-decoration: none;
}

.landing-footer__logo {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

.landing-footer__nav {
    row-gap: 2rem;
    margin-bottom: 2.75rem;
}

.landing-footer__col {
    text-align: center;
}

.landing-footer__heading {
    font-size: 1rem;
    font-weight: 700;
    color: #1e4274;
    margin-bottom: 0.85rem;
}

.landing-footer__links li {
    margin-bottom: 0.45rem;
}

.landing-footer__links a {
    color: #5a7a9a;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.landing-footer__links a:hover {
    color: #1e4274;
}

.landing-footer__links--bulleted {
    list-style: disc;
    padding-left: 1rem;
    text-align: left;
    margin: 0;
}

.landing-footer__legal-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 4.5rem;
    align-items: start;
    max-width: 440px;
    margin: 0 auto;
}

.landing-footer__links--legal-col {
    width: 100%;
    min-width: 0;
}

.landing-footer__col--legal {
    min-width: 0;
    padding-right: 0;
}

.landing-footer__col--support {
    padding-left: 0;
}

@media (min-width: 768px) {
    .landing-footer__col--legal {
        padding-right: 2.5rem;
    }

    .landing-footer__col--support {
        padding-left: 1.5rem;
    }
}

@media (min-width: 992px) {
    .landing-footer__col--legal {
        padding-right: 3.5rem;
    }

    .landing-footer__col--support {
        padding-left: 2.5rem;
    }
}

.landing-footer__col--legal .landing-footer__heading {
    text-align: center;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .landing-footer__col--legal .landing-footer__heading {
        text-align: left;
        padding-left: 1rem;
    }

    .landing-footer__legal-cols {
        margin: 0;
        max-width: none;
        padding-left: 0.15rem;
        gap: 0 6.5rem;
    }
}

.landing-footer__links--bulleted li {
    margin-bottom: 0.35rem;
    padding-left: 0;
    line-height: 1.35;
}

.landing-footer__links--bulleted li:last-child {
    margin-bottom: 0;
}

.landing-footer__col--legal .landing-footer__links a {
    font-size: 0.875rem;
    line-height: 1.35;
    display: inline-block;
    word-spacing: normal;
    letter-spacing: normal;
}

.landing-footer__links--bulleted li::marker {
    color: #1e4274;
    font-size: 0.7rem;
}

.landing-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.landing-footer__social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #fff;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.landing-footer__social-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    color: #fff;
}

.landing-footer__social-btn--linkedin {
    background: #0a66c2;
}

.landing-footer__social-btn--twitter {
    background: #14171a;
}

.landing-footer__social-btn--instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.landing-footer__social-btn--youtube {
    background: #ff0000;
}

.landing-footer__stores {
    margin-bottom: 2.25rem;
}

.landing-footer__stores-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 2.5rem 3rem;
}

.landing-footer__store-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.landing-footer__store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: #000;
    color: #fff;
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    text-decoration: none;
    min-width: 200px;
    transition: background 0.2s ease;
}

.landing-footer__store-badge:hover {
    background: #222;
    color: #fff;
}

.landing-footer__store-badge i {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.landing-footer__store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    text-align: left;
}

.landing-footer__store-text small {
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
}

.landing-footer__store-text strong {
    font-size: 1.05rem;
    font-weight: 600;
}

.landing-footer__rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.landing-footer__stars {
    color: #f5b301;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.landing-footer__score {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e4274;
}

.landing-footer__bottom {
    border-top: 1px solid rgba(30, 66, 116, 0.12);
    padding-top: 1.75rem;
    max-width: 820px;
    margin: 0 auto;
}

.landing-footer__copyright {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e4274;
    margin-bottom: 0.75rem;
}

.landing-footer__disclaimer {
    font-size: 0.78rem;
    line-height: 1.55;
    color: #6b8299;
    margin: 0;
}

.landing-footer__back-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
}

@media (min-width: 768px) {
    .landing-footer__nav {
        --bs-gutter-x: 2rem;
    }

    .landing-footer__col {
        text-align: left;
    }

    .landing-footer__social {
        justify-content: flex-start;
    }
}

@media (min-width: 992px) {
    .landing-footer__nav {
        justify-content: space-between;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575.98px) {
    .landing-footer {
        padding: 2.5rem 0 2rem;
    }

    .landing-footer__stores-row {
        gap: 1.75rem;
    }

    .landing-footer__store-badge {
        min-width: 180px;
    }
}

/********************************* DocAI interactive demo chat *********************************************/
.docai-demo {
    --docai-navy: #1e4274;
    --docai-navy-deep: #16345c;
    --docai-cyan: #00bcd4;
    --docai-cyan-dark: #0097a7;
    --docai-surface: #f4f7fb;
    --docai-line: rgba(30, 66, 116, 0.12);
    padding: clamp(3.5rem, 8vw, 5.5rem) 0;
    background:
        radial-gradient(ellipse 80% 50% at 10% 0%, rgba(0, 188, 212, 0.08), transparent 55%),
        radial-gradient(ellipse 70% 45% at 100% 100%, rgba(30, 66, 116, 0.07), transparent 50%),
        #fff;
}

.docai-demo__eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--docai-cyan-dark);
}

.docai-demo__lead {
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
}

.docai-demo__shell {
    max-width: 640px;
    margin: 0 auto;
}

.docai-demo__modes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.docai-demo__mode {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--docai-line);
    border-radius: 12px;
    background: #fff;
    color: var(--docai-navy);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.docai-demo__mode i {
    font-size: 0.95rem;
    opacity: 0.85;
}

.docai-demo__mode:hover {
    border-color: rgba(30, 66, 116, 0.35);
    box-shadow: 0 4px 14px rgba(30, 66, 116, 0.08);
}

.docai-demo__mode.is-active {
    background: var(--docai-navy);
    border-color: var(--docai-navy);
    color: #fff;
    box-shadow: 0 8px 20px rgba(30, 66, 116, 0.22);
}

.docai-chat {
    display: flex;
    flex-direction: column;
    min-height: 520px;
    max-height: min(720px, 78vh);
    border-radius: 18px;
    border: 1px solid var(--docai-line);
    background: #fff;
    box-shadow:
        0 4px 6px rgba(30, 66, 116, 0.04),
        0 18px 40px rgba(30, 66, 116, 0.1);
    overflow: hidden;
}

.docai-chat__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1.1rem;
    background: linear-gradient(135deg, var(--docai-navy) 0%, #2a5a94 100%);
    color: #fff;
}

.docai-chat__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.16);
    flex-shrink: 0;
}

.docai-chat__meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1;
}

.docai-chat__name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.docai-chat__status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    opacity: 0.9;
}

.docai-chat__pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5dffa8;
    box-shadow: 0 0 0 0 rgba(93, 255, 168, 0.55);
    animation: docai-pulse 1.8s ease-out infinite;
}

@keyframes docai-pulse {
    0% { box-shadow: 0 0 0 0 rgba(93, 255, 168, 0.55); }
    70% { box-shadow: 0 0 0 8px rgba(93, 255, 168, 0); }
    100% { box-shadow: 0 0 0 0 rgba(93, 255, 168, 0); }
}

.docai-chat__restart {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.docai-chat__restart:hover {
    background: rgba(255, 255, 255, 0.2);
}

.docai-chat__messages {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1.15rem 1.1rem 0.5rem;
    background: var(--docai-surface);
    scroll-behavior: smooth;
}

.docai-msg {
    display: flex;
    margin-bottom: 0.85rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.docai-msg.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.docai-msg--bot {
    justify-content: flex-start;
}

.docai-msg--user {
    justify-content: flex-end;
}

.docai-msg__bubble {
    max-width: min(92%, 420px);
    padding: 0.8rem 0.95rem;
    border-radius: 14px;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #243447;
}

.docai-msg--bot .docai-msg__bubble {
    background: #fff;
    border: 1px solid var(--docai-line);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(30, 66, 116, 0.05);
}

.docai-msg--user .docai-msg__bubble {
    background: var(--docai-navy);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.docai-msg__bubble > p {
    margin: 0;
}

.docai-msg__file {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.docai-typing {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 1rem;
}

.docai-typing i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(30, 66, 116, 0.35);
    animation: docai-dot 1.2s ease-in-out infinite;
}

.docai-typing i:nth-child(2) { animation-delay: 0.15s; }
.docai-typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes docai-dot {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
    40% { transform: translateY(-4px); opacity: 1; }
}

.docai-chat__footer {
    padding: 0.85rem 1.1rem 1.15rem;
    border-top: 1px solid var(--docai-line);
    background: #fff;
}

.docai-chat__hint {
    margin: 0 0 0.55rem;
    font-size: 0.78rem;
    color: #6c757d;
    min-height: 1.1em;
}

.docai-chat__choices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.docai-choice {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 0.9rem;
    border: 1.5px solid rgba(0, 188, 212, 0.45);
    border-radius: 999px;
    background: rgba(0, 188, 212, 0.06);
    color: var(--docai-navy);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.docai-choice:hover {
    background: rgba(0, 188, 212, 0.14);
    border-color: var(--docai-cyan);
    transform: translateY(-1px);
}

.docai-choice--file {
    border-radius: 12px;
    border-style: dashed;
}

.docai-chat__composer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.docai-chat__composer.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}

.docai-chat__input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.7rem 0.9rem;
    border: 1.5px solid var(--docai-line);
    border-radius: 12px;
    background: var(--docai-surface);
    color: #243447;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.docai-chat__input:focus {
    border-color: rgba(0, 188, 212, 0.65);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.15);
    background: #fff;
}

.docai-chat__input::placeholder {
    color: #8a93a0;
}

.docai-chat__send {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 12px;
    background: var(--docai-navy);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.docai-chat__send:hover {
    background: var(--docai-navy-deep);
    transform: translateY(-1px);
}

.docai-chat__cta {
    margin-top: 0.35rem;
    text-align: center;
}

.docai-chat__cta.is-hidden {
    display: none;
}

.docai-chat__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    max-width: 360px;
    padding: 0.9rem 1.25rem;
    border-radius: 10px;
    background: var(--docai-cyan);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.docai-chat__cta-btn:hover {
    background: var(--docai-cyan-dark);
    color: #fff;
}

.docai-chat__cta-note {
    margin: 0.65rem 0 0;
    font-size: 0.8rem;
    color: #6c757d;
}

.docai-result__intro {
    margin: 0 0 0.7rem !important;
}

.docai-result {
    display: grid;
    gap: 0.75rem;
}

.docai-result__risk {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    background: #fff8e6;
    border: 1px solid rgba(200, 140, 20, 0.25);
}

.docai-result__risk--low {
    background: #eefaf2;
    border-color: rgba(40, 160, 100, 0.25);
}

.docai-chat__composer.is-hidden {
    display: none;
}

.docai-result__risk--elevated {
    background: #fff0ef;
    border-color: rgba(190, 60, 50, 0.25);
}

.docai-result__risk-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #6c757d;
}

.docai-result__risk strong {
    color: var(--docai-navy);
    font-size: 0.95rem;
}

.docai-result__block h4 {
    margin: 0 0 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--docai-navy);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.docai-result__block ul {
    margin: 0;
    padding-left: 1.1rem;
}

.docai-result__block li {
    margin-bottom: 0.25rem;
    font-size: 0.86rem;
}

.docai-result__disclaimer {
    margin: 0.15rem 0 0 !important;
    font-size: 0.72rem;
    color: #8a93a0;
    line-height: 1.35;
}

.docai-result__invite {
    margin: 0.65rem 0 0 !important;
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
    background: rgba(0, 188, 212, 0.1);
    border: 1px solid rgba(0, 188, 212, 0.28);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--docai-navy);
    line-height: 1.4;
}

.docai-lab {
    display: grid;
    gap: 0.65rem;
}

.docai-lab__row {
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
    background: var(--docai-surface);
    border: 1px solid var(--docai-line);
}

.docai-lab__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.docai-lab__top strong {
    font-size: 0.88rem;
    color: var(--docai-navy);
}

.docai-lab__badge {
    flex-shrink: 0;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.docai-lab__badge--normal {
    background: rgba(40, 160, 100, 0.12);
    color: #1f7a4d;
}

.docai-lab__badge--attention {
    background: rgba(200, 120, 20, 0.14);
    color: #9a5b00;
}

.docai-lab__value {
    font-size: 0.92rem;
    font-weight: 700;
    color: #243447;
    margin-bottom: 0.2rem;
}

.docai-lab__note {
    margin: 0;
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.4;
}

@media (max-width: 575.98px) {
    .docai-demo__mode span {
        font-size: 0.82rem;
    }

    .docai-chat {
        min-height: 480px;
        border-radius: 14px;
    }

    .docai-chat__restart span {
        display: none;
    }

    .docai-choice {
        width: 100%;
        justify-content: center;
        border-radius: 10px;
    }
}
