/*
 * @Autor: David Vargas C.
 * @Telefono: +591 70870800
 * @Oficina: Sistemas | CCES-D
 * @Servicio: SEDES Santa Cruz
 * @Correo: dx.crazzy@gmail.com
 * @Version: Version 1.0.0
 */

.req-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.req-btn-ver {
    background: linear-gradient(135deg, #475569, #1e293b);
    color: white;
}
.req-btn-ver:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(30, 41, 59, 0.4);
}
.req-btn-descargar {
    background: linear-gradient(135deg, #00964f, #004631);
    color: white;
}
.req-btn-descargar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 119, 63, 0.4);
}

#hero-cursor {
    display: inline-block;
    width: 3px;
    height: 0.95em;
    background: #bedb8b;
    margin-left: 6px;
    vertical-align: middle;
    animation: hero-parpadeo 1s step-end infinite;
}
@keyframes hero-parpadeo {
    50% {
        opacity: 0;
    }
}
@media (max-width: 768px) {
    section[aria-labelledby="home-title"] {
        height: 420px;
    }
}
@media (max-width: 768px) {
    .hero-cards-overlap {
        margin-top: -230px !important;
    }
}

.ccesd-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    gap: 8px;
}
.ccesd-step-connector {
    position: absolute;
    top: 22px;
    left: 50%;
    width: calc(100% + 8px);
    height: 28px;
    z-index: 0;
    overflow: visible;
}
.ccesd-step-connector-pulse {
    stroke-dasharray: 30 220;
    filter: drop-shadow(0 0 3px rgba(0, 119, 63, 0.7));
    opacity: 0;
    animation-duration: 6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.ccesd-seg-0 {
    animation-name: ccesdSeg0;
}
.ccesd-seg-1 {
    animation-name: ccesdSeg1;
}
.ccesd-seg-2 {
    animation-name: ccesdSeg2;
}
@keyframes ccesdSeg0 {
    0% {
        stroke-dashoffset: 250;
        opacity: 1;
    }
    30% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    33% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
@keyframes ccesdSeg1 {
    0%,
    33% {
        stroke-dashoffset: 250;
        opacity: 0;
    }
    36% {
        opacity: 1;
    }
    63% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    66% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
@keyframes ccesdSeg2 {
    0%,
    66% {
        stroke-dashoffset: 250;
        opacity: 0;
    }
    69% {
        opacity: 1;
    }
    96% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
.ccesd-step {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 6px;
    border-radius: 12px;
    transition: all 0.4s ease;
    cursor: default;
}
.ccesd-step-icon {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 9999px;
    background: #fff;
    border: 2px solid #00773f;
    color: #00773f;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 4px 10px rgba(0, 119, 63, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ccesd-step:hover .ccesd-step-icon {
    background: linear-gradient(135deg, #00964f, #004631);
    color: #fff;
    transform: scale(1.15) rotate(-6deg);
    box-shadow:
        0 8px 20px rgba(0, 119, 63, 0.4),
        0 0 0 5px rgba(0, 119, 63, 0.12);
}
.ccesd-step-num {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 17px;
    height: 17px;
    border-radius: 9999px;
    background: #004631;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px #fff;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ccesd-step:hover .ccesd-step-num {
    transform: scale(1.25);
    background: #bedb8b;
    color: #004631;
}
.ccesd-step-title {
    font-weight: 600;
    color: #1e293b;
    font-size: 12px !important;
    line-height: 1.25;
    margin-bottom: 3px;
    transition: color 0.3s ease;
}
.ccesd-step:hover .ccesd-step-title {
    color: #00773f;
}
.ccesd-step-desc {
    color: #64748b;
    font-size: 11px !important;
    line-height: 1.35;
}
@media (max-width: 640px) and (min-width: 421px) {
    .ccesd-step-icon {
        width: 36px;
        height: 36px;
    }
    .ccesd-step-num {
        width: 14px;
        height: 14px;
        font-size: 8px;
    }
    .ccesd-step-title {
        font-size: 9px !important;
    }
    .ccesd-step-desc {
        display: none;
    }
    .ccesd-step-connector {
        top: 14px;
        height: 20px;
    }
}
@media (max-width: 420px) {
    .ccesd-stepper {
        flex-wrap: wrap;
        row-gap: 20px;
    }
    .ccesd-step {
        flex: 0 0 46%;
    }
    .ccesd-step:nth-child(2) .ccesd-step-connector {
        display: none;
    }
}

.quick-card-premium {
    border: 1.5px solid rgba(226, 232, 240, 0.8) !important;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.quick-card-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    transition: background 0.4s ease;
}
.quick-card-premium:hover::before {
    background: linear-gradient(135deg, #00773f, #bedb8b) !important;
}
.quick-card-premium:hover .icon-container {
    transform: scale(1.08) !important;
}

@keyframes kenburns {
    0% {
        transform: scale(1.08) translate(0, 0);
    }
    50% {
        transform: scale(1.16) translate(-1.5%, -1.2%);
    }
    100% {
        transform: scale(1.08) translate(0, 0);
    }
}
.kenburns-bg {
    animation: kenburns 30s ease-in-out infinite;
    transform-origin: center;
    will-change: transform;
}
.slider-track {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.quick-card {
    box-shadow:
        0 10px 24px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(15, 23, 42, 0.05);
}
.quick-card:hover {
    box-shadow:
        0 20px 35px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(15, 23, 42, 0.08);
}
@media (max-width: 768px) {
    .quick-card {
        padding: 0.9rem !important;
    }
    .quick-card .w-14.h-14 {
        width: 3rem !important;
        height: 3rem !important;
    }
    .quick-card h3 {
        font-size: 15px !important;
        line-height: 1.25 !important;
    }
    .quick-card p {
        font-size: 13px !important;
    }
}

.stat-block-anim {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.85s ease,
        transform 0.85s ease;
    transition-delay: var(--delay, 0ms);
}
.stat-block-anim.stat-visible {
    opacity: 1;
    transform: translateY(0);
}
.quick-card-premium.stat-block-anim.stat-visible:hover {
    transform: translateY(-0.5rem);
}

@keyframes panelFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.panel-animate {
    opacity: 0;
    transform: translateY(28px);
}
.panel-animate.panel-visible {
    animation: panelFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
