/* assets/css/custom.css */
@charset "UTF-8";

body {
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Poppins', sans-serif;
}

/* Gradientes Oficiales */
.gradient-brand-primary {
    background: linear-gradient(135deg, #152D9A 0%, #777DFB 100%);
}

.text-gradient-brand {
    background: linear-gradient(120deg, #00A9F0 0%, #BBDF33 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: linear-gradient(120deg, #777DFB 0%, #00A9F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Puntos decorativos del Brandbook */
.brand-dots-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #152D9A;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
}

.brand-dots-title .dots {
    display: inline-flex;
    gap: 5px;
}

.brand-dots-title .dots span:nth-child(1) {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #152D9A;
}

.brand-dots-title .dots span:nth-child(2) {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #777DFB;
}

.brand-dots-title .dots span:nth-child(3) {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #00A9F0;
}

/* Patrón geométrico de fondo */
.brand-geo-pattern {
    background-image: 
        radial-gradient(circle at 100% 100%, rgba(119, 125, 251, 0.08) 0, rgba(119, 125, 251, 0.08) 32px, transparent 32px),
        radial-gradient(circle at 0% 0%, rgba(0, 169, 240, 0.08) 0, rgba(0, 169, 240, 0.08) 32px, transparent 32px);
    background-size: 64px 64px;
}

/* Miniaturas Slider */
.brand-slider-thumb {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    background: #08133b;
}

.brand-slider-thumb.active {
    border-color: #BBDF33;
    box-shadow: 0 0 0 3px #BBDF33, 0 12px 30px rgba(119, 125, 251, 0.5);
    transform: scale(1.15) translateY(-3px);
}

.brand-slider-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tarjetas de Áreas y Servicios */
.brand-service-item {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #DDE7F6;
    transition: all 0.4s ease;
    height: 410px;
}

.brand-service-item .normal-state {
    padding: 36px 28px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.brand-service-item .hover-state {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.brand-service-item:hover .hover-state {
    opacity: 1;
    pointer-events: auto;
}

.brand-service-item:hover .normal-state {
    opacity: 0;
    transform: scale(0.95);
}

.brand-service-item .hover-img {
    height: 58%;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 19px 19px 0 0;
}

.brand-service-item .hover-info {
    height: 42%;
    background: linear-gradient(135deg, #152D9A 0%, #777DFB 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 15px;
    border-radius: 0 0 19px 19px;
}

.brand-service-item .hover-btn {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #BBDF33;
    color: #08133b;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.28);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 40;
    border: 3px solid #ffffff;
}

.brand-service-item:hover .hover-btn {
    transform: translateX(-50%) scale(1.12);
}

/* Pasos */
.brand-fancy-step {
    position: relative;
    background: #ffffff;
    border: 1px solid #DDE7F6;
    border-radius: 24px;
    padding: 42px 30px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.brand-fancy-step:hover {
    transform: translateY(-6px);
}

.brand-fancy-step .step-num {
    position: absolute;
    bottom: -18px;
    right: 15px;
    font-size: 92px;
    font-weight: 900;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    z-index: 1;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    user-select: none;
}

.brand-fancy-step:hover .step-num {
    transform: scale(1.06) translateY(-4px);
}

/* Cartelera */
.brand-blog-card {
    background: #ffffff;
    border: 1px solid #DDE7F6;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.brand-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px -10px rgba(21, 45, 154, 0.18);
}

.brand-blog-badge {
    background: linear-gradient(135deg, #152D9A 0%, #777DFB 100%);
    color: #ffffff;
    position: relative;
    padding: 10px 16px;
    margin-top: -22px;
    margin-left: 18px;
    margin-right: 18px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 8px 20px rgba(21, 45, 154, 0.28);
    z-index: 10;
}

/* Drawer Móvil */
#brand-drawer {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#brand-drawer.open {
    transform: translateX(0);
}

#brand-drawer-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#brand-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}