/* ===================================
    Authenology · estilos corporativos
   (derivados de la base técnica del tema)
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@200;300;400;500;600;700;800&display=swap');

/* variable */
:root {
    --base-color: #0BA5BE;
    --medium-gray: #1C4575;
    --dark-gray: #014750;
    --light-red: #E5F6F8;
    --alt-font: 'League Spartan', sans-serif;
    --primary-font: 'League Spartan', sans-serif;
}

body {
    font-size: 17px;
    line-height: 32px;
}

sup {
    top: -0.7em;
}

.lh-42px {
    line-height: 42px;
}

/* FAQ block — left visual (no external image required) */
.faq-section-visual {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--light-red) 0%, rgba(11, 165, 190, 0.14) 42%, #fff 100%);
    padding: 3rem 2rem;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 55px rgba(1, 71, 80, 0.08);
}

.faq-section-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 28%, rgba(11, 165, 190, 0.2) 0%, transparent 52%),
        radial-gradient(circle at 82% 72%, rgba(28, 69, 117, 0.1) 0%, transparent 48%);
    pointer-events: none;
}

.faq-section-visual__svg {
    position: relative;
    z-index: 1;
    width: min(100%, 260px);
    height: auto;
    margin-bottom: 1.75rem;
    filter: drop-shadow(0 12px 24px rgba(1, 71, 80, 0.12));
}

.faq-section-visual__highlights {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 340px;
}

.faq-section-visual__highlights li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 15px;
    line-height: 1.45;
    color: var(--medium-gray);
    font-weight: 600;
}

.faq-section-visual__highlights li:last-child {
    margin-bottom: 0;
}

.faq-section-visual__highlights .icon-wrap {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 165, 190, 0.15);
    color: var(--base-color);
    font-size: 18px;
}

/* Detalle de servicio — bloque visual (reemplaza gráficos de plantilla) */
.service-detail-visual {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(155deg, var(--light-red) 0%, rgba(11, 165, 190, 0.12) 40%, #fff 100%);
    padding: 2.25rem 1.75rem;
    margin-top: 1.5rem;
    margin-bottom: 3.75rem;
    box-shadow: 0 22px 50px rgba(1, 71, 80, 0.07);
    text-align: center;
}

.service-detail-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 20%, rgba(11, 165, 190, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(28, 69, 117, 0.09) 0%, transparent 50%);
    pointer-events: none;
}

.service-detail-visual__svg {
    position: relative;
    z-index: 1;
    width: min(100%, 320px);
    height: auto;
    margin: 0 auto 1.25rem;
    filter: drop-shadow(0 10px 22px rgba(1, 71, 80, 0.1));
}

.service-detail-visual__logo {
    position: relative;
    z-index: 1;
    max-width: 220px;
    height: auto;
    margin: 0 auto;
}

/* box layout */
.box-layout {
    padding: 0 40px;
}

a {
    color: #878898;
}

b,
strong {
    font-weight: 700;
}

/* header */
.navbar .navbar-nav .nav-link {
    font-weight: 600;
    font-size: 17px;
}

header .navbar-brand img {
    max-height: 28px;
}

.header-icon .icon>a {
    font-size: 20px;
}

.navbar .btn.btn-switch-text.btn-medium>span {
    padding: 10px 25px;
    font-size: 14px;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
    border-radius: 0;
    box-shadow: 0 0 35px 0 rgb(0 0 0 / 10%);
}

.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a i {
    font-size: 29px;
    width: 28px;
    margin-right: 12px;
}

.navbar .navbar-nav .dropdown .dropdown-menu a,
.navbar .navbar-nav .dropdown .dropdown-menu a:hover,
.navbar .navbar-nav .dropdown .dropdown-menu li.active>a {
    color: var(--white);
    font-weight: 500;
}

.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
    font-size: 16px;
    line-height: 28px;
    padding: 18px 25px 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a:hover,
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li.active a {
    opacity: 0.6;
}

.navbar .navbar-nav .dropdown .dropdown-menu {
    background-color: var(--dark-gray);
}

/* heading */
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 25px;
}

/* page title */
.down-section {
    bottom: 30px;
}

.page-title-extra-large h1 {
    font-size: 4.5rem;
    line-height: 4.5rem;
}

h1,
.h1 {
    font-size: 4.688rem;
    line-height: 4.688rem;
}

h2 {
    font-size: 3.125rem;
    line-height: 3.125rem;
}

.small-screen {
    height: 350px !important;
}

/* text gradient color — marca Authenology */
.text-gradient-orange-sky-blue,
.text-gradient-authenology {
    background-image: linear-gradient(to right, #0BA5BE, #088fa5, #1C4575, #014750);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* bg gradient color */
.bg-gradient-very-light-gray-transparent {
    background: -webkit-linear-gradient(right, rgba(240, 244, 253, 1.0), rgba(255, 255, 255, 0.0));
    background: linear-gradient(to right, rgba(240, 244, 253, 1.0), rgba(255, 255, 255, 0.0));
}

.bg-gradient-blue-whale-transparent {
    background: -webkit-linear-gradient(right, rgba(17, 27, 50, 1.0), rgba(255, 255, 255, 0.0));
    background: linear-gradient(to right, rgba(17, 27, 50, 1.0), rgba(255, 255, 255, 0.0));
}

.bg-gradient-quartz-light-transparent {
    background: -webkit-linear-gradient(right, rgba(227, 225, 245, 1.0), rgba(255, 255, 255, 0.0));
    background: linear-gradient(to right, rgba(227, 225, 245, 1.0), rgba(255, 255, 255, 0.0));
}

.bg-gradient-quartz-white {
    background-image: linear-gradient(to bottom, #f7f7ff, #f4f4fb, #f8f7fc, #fbfbfe, #ffffff);
}

.bg-gradient-base-color-transparent {
    background-image: linear-gradient(to top, rgba(11, 165, 190, 0.88) 0%, transparent 100%);
}

.bg-gradient-regal-blue-transparent {
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgb(22 35 64)), to(transparent));
    background-image: linear-gradient(to top, rgb(22 35 64) 0%, transparent 100%);
}

.bg-gradient-flamingo-amethyst-green {
    background-image: linear-gradient(to right, #0BA5BE, #088fa5, #1C4575, #014750);
}

.bg-gradient-authenology-accent {
    background-image: linear-gradient(to right, #0BA5BE, #1C4575, #014750);
}

.authenology-banner-bg {
    background: radial-gradient(circle at top right, rgba(11, 165, 190, 0.22), transparent 58%),
        linear-gradient(135deg, #162340 0%, #070d14 100%);
}

.authenology-section-deco {
    width: min(760px, 90vw);
    height: 792px;
    pointer-events: none;
    background: radial-gradient(ellipse 75% 55% at 35% 45%, rgba(11, 165, 190, 0.35), transparent 72%);
    filter: blur(2px);
}

/* Blog: cabecera de tarjeta solo con icono (sin imagen) */
.authenology-blog-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    width: 100%;
    background: linear-gradient(142deg, #162340 0%, #0d2830 48%, var(--base-color) 100%);
    color: #fff;
    text-decoration: none;
    transition: filter 0.3s ease;
    border-radius: 4px 4px 0 0;
}

.authenology-blog-card-icon:hover {
    filter: brightness(1.08);
    color: #fff;
}

.authenology-blog-card-icon i {
    font-size: clamp(3rem, 7vw, 4.5rem);
    line-height: 1;
    opacity: 0.92;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.card:hover .authenology-blog-card-icon i {
    transform: scale(1.06);
}

.authenology-about-hero-visual {
    width: 100%;
    max-width: 520px;
    min-height: 400px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    background: linear-gradient(155deg, rgba(11, 165, 190, 0.14) 0%, rgba(22, 35, 64, 0.06) 50%, rgba(1, 71, 80, 0.1) 100%);
}

@media (max-width: 991px) {
    .authenology-about-hero-visual {
        min-height: 320px;
    }
}

.bg-gradient-base-transparent {
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(22, 32, 44, 1)), to(transparent));
    background-image: linear-gradient(to top, rgba(22, 32, 44, .9) 8%, transparent 80%);
}

.bg-gradient-dark-transparent {
    background: -webkit-gradient(linear, left bottom, left top, color-stop(7%, #162340), to(transparent));
    background: linear-gradient(to top, #162340 7%, transparent 70%);
}

.bg-regal-blue {
    background-color: #162340;
}

.bg-blue-whale {
    background-color: #16233F;
}

/* top left right */
.top-40 {
    top: 40% !important;
}

.left-30 {
    left: 30% !important;
}

.right-30 {
    right: 30% !important;
}

.top-30 {
    top: 30%;
}

.top-20 {
    top: 20%;
}

.left-170px {
    left: 170px;
}

.mt-minus-2 {
    margin-top: -2px;
}

.left-minus-300px {
    left: -300px;
}

/* btn */
.btn {
    letter-spacing: 0px;
    text-transform: inherit;
}

.btn.btn-extra-large {
    font-size: 18px;
}

.btn.btn-large {
    font-size: 16px;
}

.btn.btn-medium {
    font-size: 15px;
}

.btn.btn-small {
    font-size: 14px;
}

.btn.btn-link {
    padding: 0 0 2px;
    position: relative;
    text-decoration: none;
    border: 0;
    border-bottom: 2px solid;
    letter-spacing: 0;
    background-color: transparent;
}

.btn-gradient-flamingo-amethyst-green {
    background-image: linear-gradient(to right, #f7693c, #c74e45, #7d3785, #582d9f, #3928af, #582d9f, #7d3785, #c74e45, #f7693c);
    background-size: 200% auto;
    color: var(--white);
}

/* box overlay */
.interactive-banner-style-02.dark-hover:hover .btn {
    opacity: 0.7;
}

/* blog comment */
.blog-comment li .btn-reply {
    padding: 6px 20px 7px;
}

/* process-step style 05 */
.process-step-style-05 .progress-step-separator {
    bottom: inherit;
    height: 100%;
}

/* interactive banner */
.interactive-banner-style-02:hover figure figcaption .features-icon {
    margin-bottom: 17px;
}

/* blog grid */
.pagination-style-01 .page-item .page-link:hover,
.pagination-style-01 .page-item.active .page-link {
    background: var(--dark-gray);
    color: var(--white);
}

.pagination-style-01 .page-item:first-child .page-link,
.pagination-style-01 .page-item:last-child .page-link {
    background: transparent;
    color: var(--medium-gray);
}

.pagination-style-01 .page-item:first-child .page-link:hover,
.pagination-style-01 .page-item:last-child .page-link:hover {
    color: var(--dark-gray);
}

.accordion-style-06 .accordion-item.active-accordion {
    background-image: linear-gradient(to bottom, #f7f8f9, #f9fafb, #fbfbfc, #fdfdfd, #ffffff);
}

/* google map */
#map {
    border-radius: 6px 0 0 6px;
}

.border-radius-top-lr {
    border-radius: 6px 6px 0 0;
}

footer ul li {
    margin-bottom: 0;
}

.scroll-progress {
    right: 10px;
}

/* google map */
.newsletter-style-02 input {
    font-size: 15px;
}

/* Revolution Slider */
#demo-corporate-slider {
    border-radius: 6px;
}

.hesperiden.tparrows {
    width: 54px;
    height: 54px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out
}

.hesperiden.tparrows:hover {
    border: 1px solid rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 1);
    ;
}

.hesperiden.tparrows:hover:before {
    color: #232323
}

.hesperiden.tparrows:before {
    line-height: 52px;
}

.hesperiden.tparrows.tp-leftarrow:before {
    content: "\f104";
    font-family: "Font Awesome 6 Free";
    font-size: 16px;
    font-weight: 900
}

.hesperiden.tparrows.tp-rightarrow:before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-size: 16px;
    font-weight: 900
}

.hesperiden.tparrows.tp-leftarrow:before {
    margin-left: 0;
}

.hesperiden.tparrows.tp-rightarrow:before {
    margin-right: 0;
}

.get-started-btn {
    transition: 0.3s ease-in-out !important;
}

.hesperiden.tparrows {
    z-index: 97;
}

/* media query responsive */
@media (max-width: 1700px) {
    .navbar .navbar-nav .nav-link {
        padding-left: 19px;
        padding-right: 19px;
    }
}

@media (max-width: 1600px) {
    .navbar .navbar-nav .nav-link {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 1350px) {
    .navbar .navbar-nav .nav-link {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 1300px) {
    .navbar .navbar-nav .nav-link {
        padding-left: 9px;
        padding-right: 9px;
    }
}

@media (max-width: 1199px) {
    .accordion-style-06 .accordion-item {
        padding: 15px 50px 15px 35px;
    }

    .box-layout {
        padding: 0;
    }

    #demo-corporate-slider {
        border-radius: 0;
    }

    .lg-border-radius-0px {
        border-radius: 0 !important;
    }

    .navbar .navbar-nav .nav-link {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 991px) {
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
        width: calc(100% + 30px) !important;
        margin-left: -15px;
        padding: 10px 45px;
        margin-bottom: 0;
        margin-right: -15px;
    }

    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a,
    .navbar-modern-inner .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a,
    .navbar-full-screen-menu-inner .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
        padding-left: 0;
        padding-right: 0;
    }

    [data-mobile-nav-style=modern] .navbar-modern-inner .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
        font-size: 17px;
        line-height: normal;
        display: flex;
        align-items: center;
    }

    [data-mobile-nav-style=modern] .navbar-modern-inner .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a i {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    #map {
        border-radius: 0;
    }

    .small-screen {
        height: 300px !important;
    }

    .h1,
    .h2,
    .h3,
    .h4,
    .h5,
    .h6,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        margin-bottom: 20px;
    }
}

@media (max-width: 575px) {
    .accordion-style-06 .accordion-item {
        padding: 15px;
    }

    footer .elements-social.social-icon-style-02 li {
        margin: 0 15px 0 0;
    }

    footer .elements-social.social-icon-style-02 li:first-child {
        margin-left: 0;
    }
}

/* Fix Revolution Slider arrow icons when revicons fonts are missing */
.tparrows:before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    content: "\f104" !important;
}

.tparrows.tp-rightarrow:before {
    content: "\f105" !important;
}

.rtl .tparrows.tp-leftarrow:before {
    content: "\f105" !important;
}

.rtl .tparrows.tp-rightarrow:before {
    content: "\f104" !important;
}

/* ===================================
    iPhone Mockup para Widget
====================================== */
.iphone-mockup {
    width: 320px;
    height: 650px;
    border: 8px solid #1f1f1f;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 0 2px #333, 0 20px 50px rgba(0,0,0,0.5);
    margin: 0 auto;
    background: #0f0f0f;
}

.iphone-mockup::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 25px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.screen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 5;
}

.iphone-mockup-screen {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.iphone-mockup-screen::-webkit-scrollbar {
    width: 5px;
}

.iphone-mockup-screen::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 5px;
}

.iphone-mockup-screen .elfsight-app-c388e880-d3b3-4c1e-9e61-f543a2953fb8 {
    width: 100% !important;
}

/* ===================================
    Optimizaciones de Rendimiento (Hardware Acceleration)
====================================== */
html {
    scroll-behavior: smooth;
}

/* Forzar aceleración por hardware (GPU) en elementos interactivos */
.transform-hover, .btn-hover-animation-switch, .iphone-mockup, .swiper-wrapper {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Indicar al navegador que decodifique asíncronamente imágenes pesadas por CSS */
img {
    content-visibility: auto;
}
/* =======================================================
   AUTHENOLOGY MONITOR COMPONENT - HI-FI DESIGN
   ======================================================= */
.authenology-monitor-container {
    perspective: 1000px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}
.authenology-monitor-container:hover {
    transform: translateY(-12px) scale(1.05);
}
.authenology-monitor-screen {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 16/10;
    background: #1f2a38; /* Dark corporate bezel */
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15), inset 0 2px 4px rgba(255,255,255,0.1);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}
.authenology-monitor-container:hover .authenology-monitor-screen {
    box-shadow: 0 25px 50px rgba(0, 168, 150, 0.25), inset 0 2px 4px rgba(255,255,255,0.2);
    border-color: #00a896;
}
.authenology-monitor-display {
    background: linear-gradient(135deg, #e6f0fa 0%, #c8d9ed 100%);
    width: 100%;
    height: 100%;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}
/* Glass reflection effect */
.authenology-monitor-display::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    z-index: 10;
}
.authenology-monitor-stand {
    width: 25px;
    height: 15px;
    background: linear-gradient(to right, #151d26, #2a3746, #151d26);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.authenology-monitor-base {
    width: 70px;
    height: 6px;
    background: #151d26;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    transition: box-shadow 0.4s ease;
}
.authenology-monitor-container:hover .authenology-monitor-base {
    box-shadow: 0 15px 25px rgba(0,0,0,0.4);
}
.authenology-monitor-logo {
    max-width: 75%;
    max-height: 75%;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}
.authenology-monitor-container:hover .authenology-monitor-logo {
    transform: scale(1.15);
}
.authenology-monitor-display.empty-screen {
    background: linear-gradient(135deg, #d1dfed 0%, #a8bcd4 100%);
    position: relative;
}
.authenology-monitor-display.empty-screen::before {
    content: '< / >';
    font-family: monospace;
    font-size: 24px;
    color: #cbd5e1;
    font-weight: bold;
    opacity: 0.5;
    transition: all 0.3s ease;
}
.authenology-monitor-container:hover .authenology-monitor-display.empty-screen::before {
    color: #00a896;
    opacity: 0.8;
    transform: scale(1.1);
}

/* Secure CSS Animation for iPhone Mockup (replaces insecure inline onmouseover JS) */
.iphone-mockup {
    transition: transform 0.5s ease !important;
    cursor: pointer;
}
.iphone-mockup:hover {
    transform: translateY(-15px) !important;
}

/* ==========================================
   Phone landscape mockup (solo CSS)
   ========================================== */
.phone-landscape-wrapper {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
    border-radius: 38px;
    background: linear-gradient(145deg, #2c2c3a 0%, #1a1a2e 30%, #0f0f1a 70%, #16213e 100%);
    padding: 4px;
    box-shadow:
        0 35px 85px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: visible;
    transform-style: preserve-3d;
    isolation: isolate;
}

.phone-landscape-hand {
    display: none;
}

.phone-landscape-ground {
    position: absolute;
    left: 50%;
    bottom: -10%;
    width: 82%;
    height: 28px;
    z-index: -1;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}

.phone-landscape-screen {
    position: absolute;
    inset: 4px;
    border-radius: 34px;
    overflow: hidden;
    background: #000;
    z-index: 2;
}

.phone-landscape-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 15%, rgba(255,255,255,0.08) 0%, transparent 50%),
        linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 30%, rgba(0,0,0,0.15) 100%);
    z-index: 1;
    pointer-events: none;
}

.phone-landscape-screen::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    width: 48px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 3;
    pointer-events: none;
}

.phone-landscape-video {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.phone-landscape-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

.phone-landscape-notch {
    display: none;
}

.phone-landscape-buttons {
    position: absolute;
    right: -3px;
    top: 50%;
    transform: translateY(-50%);
    height: 110px;
    width: 3px;
    z-index: 5;
    pointer-events: none;
}

.phone-landscape-buttons span {
    display: block;
    width: 3px;
    height: 24px;
    border-radius: 0 2px 2px 0;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    box-shadow: none;
    position: absolute;
    right: 0;
}

.phone-landscape-buttons span:nth-child(1) {
    top: 6px;
    height: 26px;
}

.phone-landscape-buttons span:nth-child(2) {
    top: 42px;
    height: 34px;
    background: rgba(255, 255, 255, 0.15);
}

.phone-landscape-buttons span:nth-child(3) {
    top: 86px;
    height: 18px;
    opacity: 0.7;
}

.phone-landscape-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 38px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08) 0%,
        transparent 35%,
        rgba(0, 0, 0, 0.15) 70%
    );
    pointer-events: none;
    z-index: 3;
}

@media (max-width: 768px) {
    .phone-landscape-wrapper {
        border-radius: 28px;
        max-width: 420px;
    }

    .phone-landscape-screen {
        inset: 4px;
        border-radius: 24px;
    }

    .phone-landscape-screen::after {
        top: 6px;
        width: 36px;
        height: 5px;
    }

    .phone-landscape-buttons {
        right: -3px;
        height: 90px;
    }

    .phone-landscape-buttons span:nth-child(1) {
        top: 4px;
        height: 22px;
    }

    .phone-landscape-buttons span:nth-child(2) {
        top: 34px;
        height: 28px;
    }

    .phone-landscape-buttons span:nth-child(3) {
        top: 70px;
        height: 14px;
    }
}

/* ===================================
    AuthentiCheck · Validador de Firmas
   Paleta oficial Authenology
====================================== */

.authenticheck-section {
    --ac-primary: #0f6b6f;
    --ac-primary-700: #0d5759;
    --ac-accent: #13808b;
    --ac-success: #10b981;
    --ac-danger: #e11d48;
    --ac-warning: #f9c123;
    --ac-font: #082f32;
    --ac-muted: #6b7280;
    --ac-bg: #f6f9fa;
    --ac-surface: #ffffff;
    --ac-glass: rgba(15, 107, 111, 0.06);
    --ac-border: #e6eef0;
}

/* Upload area */
.authenticheck-upload-area {
    background-color: var(--ac-surface);
    border: 2px dashed var(--ac-border);
    transition: all 0.3s ease;
    cursor: pointer;
}

.authenticheck-upload-area:hover,
.authenticheck-upload-area.drag-over {
    border-color: var(--ac-primary);
    background-color: var(--ac-glass);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(15, 107, 111, 0.08);
}

.authenticheck-upload-area .upload-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: var(--ac-glass);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.authenticheck-upload-area .upload-icon-wrapper i {
    color: var(--ac-primary);
}

.authenticheck-upload-area .file-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: rgba(225, 29, 72, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Spinner */
.authenticheck-spinner {
    position: relative;
    width: 56px;
    height: 56px;
    margin-left: auto;
    margin-right: auto;
}

.authenticheck-spinner .spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--ac-primary);
    animation: authenticheck-spin 1.2s linear infinite;
}

.authenticheck-spinner .spinner-ring:nth-child(2) {
    width: 76%;
    height: 76%;
    top: 12%;
    left: 12%;
    border-top-color: var(--ac-accent);
    animation-duration: 0.9s;
    animation-direction: reverse;
}

.authenticheck-spinner .spinner-ring:nth-child(3) {
    width: 52%;
    height: 52%;
    top: 24%;
    left: 24%;
    border-top-color: var(--ac-primary-700);
    animation-duration: 0.6s;
}

@keyframes authenticheck-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Alerts */
.authenticheck-alert {
    border: 1px solid transparent;
}

.authenticheck-alert.alert-danger {
    background-color: rgba(225, 29, 72, 0.06);
    border-color: rgba(225, 29, 72, 0.15);
    color: var(--ac-danger);
}

.authenticheck-alert.alert-warning {
    background-color: rgba(249, 193, 35, 0.08);
    border-color: rgba(249, 193, 35, 0.25);
    color: #92400e;
}

.authenticheck-alert .alert-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.authenticheck-alert.alert-danger .alert-icon {
    background-color: rgba(225, 29, 72, 0.12);
}

.authenticheck-alert.alert-warning .alert-icon {
    background-color: rgba(249, 193, 35, 0.18);
}

/* Status panel */
.authenticheck-status-panel {
    background-color: var(--ac-surface);
    border: 1px solid var(--ac-border);
    transition: all 0.3s ease;
}

.authenticheck-status-panel.status-success {
    border-left: 4px solid var(--ac-success);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.04) 0%, var(--ac-surface) 100%);
}

.authenticheck-status-panel.status-danger {
    border-left: 4px solid var(--ac-danger);
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.04) 0%, var(--ac-surface) 100%);
}

.authenticheck-status-panel.status-warning {
    border-left: 4px solid var(--ac-warning);
    background: linear-gradient(135deg, rgba(249, 193, 35, 0.04) 0%, var(--ac-surface) 100%);
}

.authenticheck-status-panel .status-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.authenticheck-status-panel .status-icon-wrapper.bg-success {
    background-color: var(--ac-success);
}

.authenticheck-status-panel .status-icon-wrapper.bg-danger {
    background-color: var(--ac-danger);
}

.authenticheck-status-panel .status-icon-wrapper.bg-warning {
    background-color: var(--ac-warning);
}

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

.badge-success {
    background-color: rgba(16, 185, 129, 0.12);
    color: #047857;
}

.badge-danger {
    background-color: rgba(225, 29, 72, 0.12);
    color: #be123c;
}

.badge-warning {
    background-color: rgba(249, 193, 35, 0.18);
    color: #92400e;
}

/* Cards */
.authenticheck-card {
    background-color: var(--ac-surface);
    border: 1px solid var(--ac-border);
    transition: all 0.3s ease;
}

.authenticheck-card:hover {
    box-shadow: 0 8px 30px rgba(15, 107, 111, 0.06);
}

.authenticheck-card-glass {
    background-color: var(--ac-glass);
    border: 1px solid var(--ac-border);
}

.authenticheck-card .card-header {
    background-color: transparent;
}

.authenticheck-card .card-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: var(--ac-glass);
    color: var(--ac-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Definition list */
.authenticheck-dl .dl-row {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0;
    border-bottom: 1px solid var(--ac-border);
}

.authenticheck-dl .dl-row:last-child {
    border-bottom: none;
}

.authenticheck-dl dt {
    width: 40%;
    color: var(--ac-muted);
    font-weight: 500;
    font-size: 14px;
    padding-right: 12px;
}

.authenticheck-dl dd {
    width: 60%;
    color: var(--ac-font);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0;
    word-break: break-word;
}

.authenticheck-dl dd.text-muted {
    color: var(--ac-muted) !important;
    font-weight: 400;
}

/* Integrity panel */
.authenticheck-integrity {
    background-color: var(--ac-surface);
    border: 1px solid var(--ac-border);
}

.authenticheck-integrity.integrity-success {
    border-left: 4px solid var(--ac-success);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.04) 0%, var(--ac-surface) 100%);
}

.authenticheck-integrity.integrity-warning {
    border-left: 4px solid var(--ac-warning);
    background: linear-gradient(135deg, rgba(249, 193, 35, 0.04) 0%, var(--ac-surface) 100%);
}

/* Text colors using Authenology palette */
.text-success {
    color: var(--ac-success) !important;
}

.text-danger {
    color: var(--ac-danger) !important;
}

.text-warning {
    color: #92400e !important;
}

.text-primary {
    color: var(--ac-primary) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .authenticheck-dl dt {
        width: 100%;
        margin-bottom: 2px;
    }

    .authenticheck-dl dd {
        width: 100%;
    }

    .authenticheck-status-panel .d-flex.flex-column.flex-md-row {
        text-align: center;
    }

    .status-badge {
        margin-top: 8px;
    }
}

/* ===================================
   Documentos públicos · sección interactiva
====================================== */
.doc-publicos-section {
    position: relative;
    overflow: hidden;
}

.doc-publicos-pills {
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.doc-publicos-pills .nav-item {
    flex-shrink: 0;
}

.doc-publicos-pills .nav-link {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding: 12px 22px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 15px;
    color: var(--dark-gray);
    background: #fff;
    border: 2px solid transparent;
    box-shadow: 0 8px 25px rgba(1, 71, 80, 0.06);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.doc-publicos-pills .nav-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(11, 165, 190, 0.18);
    color: var(--base-color);
}

.doc-publicos-pills .nav-link.active {
    background: linear-gradient(135deg, var(--base-color) 0%, var(--medium-gray) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 16px 40px rgba(11, 165, 190, 0.35);
    transform: translateY(-2px);
}

.doc-publicos-pill-highlight {
    position: relative;
}

.doc-publicos-badge-nuevo {
    display: inline-block;
    flex-shrink: 0;
    white-space: nowrap;
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #fff;
    color: var(--dark-gray);
    padding: 3px 8px;
    border-radius: 20px;
    margin-left: 8px;
    animation: doc-publicos-pulse 2s ease-in-out infinite;
}

.doc-publicos-pills .nav-link.active .doc-publicos-badge-nuevo {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

@keyframes doc-publicos-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
}

.doc-publicos-preview {
    min-height: 320px;
    background: var(--dark-gray);
}

.doc-publicos-preview-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--dark-gray) 0%, var(--medium-gray) 55%, var(--base-color) 100%);
    transition: opacity 0.5s ease;
}

.doc-publicos-preview.is-switching .doc-publicos-preview-bg {
    opacity: 0.7;
}

.doc-publicos-preview-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.doc-publicos-preview.is-switching .doc-publicos-preview-icon {
    transform: scale(0.85) rotate(-8deg);
}

.doc-publicos-preview-title,
.doc-publicos-preview-desc {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.doc-publicos-preview.is-switching .doc-publicos-preview-title,
.doc-publicos-preview.is-switching .doc-publicos-preview-desc {
    opacity: 0;
    transform: translateY(8px);
}

.doc-publicos-preview-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
}

.doc-publicos-preview-progress-bar {
    height: 100%;
    background: #fff;
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.doc-publicos-panels .tab-pane {
    animation: doc-panel-in 0.45s ease forwards;
}

@keyframes doc-panel-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.doc-publicos-accordion .accordion-item {
    border: none;
    margin-bottom: 12px;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(1, 71, 80, 0.06);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.doc-publicos-accordion .accordion-item:hover {
    box-shadow: 0 18px 45px rgba(11, 165, 190, 0.12);
    transform: translateY(-2px);
}

.doc-publicos-doc-item-featured {
    border: 2px solid var(--base-color) !important;
}

.doc-publicos-doc-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--light-red);
    color: var(--base-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.doc-publicos-doc-item.active-accordion .doc-publicos-doc-icon,
.doc-publicos-doc-item:hover .doc-publicos-doc-icon {
    background: var(--base-color);
    color: #fff;
    transform: scale(1.05);
}

.doc-publicos-doc-trigger {
    padding: 18px 22px !important;
    display: flex !important;
    align-items: center !important;
}

/* Anular el padding doble del header que viene de accordion-style-02 */
.doc-publicos-accordion.accordion-style-02 .accordion-item .accordion-header {
    padding: 0 !important;
}

/* Anular el padding extra del body que viene de accordion-style-02 + Bootstrap */
.doc-publicos-accordion.accordion-style-02 .accordion-item .accordion-body {
    padding: 4px 22px 20px 22px !important;
}

/* Quitar el padding-right de .accordion-title que deja espacio para icono de flecha */
.doc-publicos-accordion .accordion-item .accordion-header .accordion-title {
    padding-right: 0 !important;
}

/* Permitir que el bloque de texto ceda espacio al badge "DISPONIBLE" sin cortar */
.doc-publicos-doc-trigger > div {
    min-width: 0;
}
.doc-publicos-doc-trigger > div > .d-flex {
    min-width: 0;
    flex: 1 1 auto;
}
.doc-publicos-doc-trigger .text-start.ms-3 {
    min-width: 0;
}
.doc-publicos-doc-trigger .text-start.ms-3 .accordion-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-publicos-status {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    border-radius: 30px;
    background: var(--very-light-gray, #f7f7f7);
    color: var(--medium-gray);
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease;
}

.doc-publicos-status.is-available {
    background: rgba(11, 165, 190, 0.12);
    color: var(--base-color);
}

.doc-publicos-status.is-pending {
    background: rgba(28, 69, 117, 0.08);
    color: var(--medium-gray);
}

.doc-publicos-download-btn {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.doc-publicos-download-btn:active {
    transform: scale(0.97);
}

.doc-publicos-download-btn.is-loading {
    pointer-events: none;
    opacity: 0.75;
}

.doc-publicos-toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: var(--dark-gray);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(1, 71, 80, 0.25);
    font-size: 15px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.doc-publicos-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.doc-publicos-toast i {
    color: var(--base-color);
    font-size: 22px;
}

@media (max-width: 991px) {
    .doc-publicos-toolbar {
        flex-direction: column;
        align-items: stretch !important;
    }

    .doc-publicos-pills {
        justify-content: center;
    }

    .doc-publicos-counter {
        text-align: center;
    }

    .doc-publicos-preview {
        margin-bottom: 10px;
    }
}
