/*
Theme Name: Bluera Tema Profesional
Author: Daniel
Version: 1.0
*/

/* ============================================
RESET Y ROOTS
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f0f2f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}
/* ////////////////////////////////////////////////////
//////////////////////////////////////////////////////
/////////////////////////////////////////////////// */



/* ============================================
HEADER MENU
============================================ */
header {
    position: relative;
    margin: 10px auto;
    border-radius: 3rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    width: calc(100% - 60px);
    max-width: 1400px;
}

header::before {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-radius: 3rem;
    pointer-events: none;
}   

header::after {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(20, 41, 123, 0.25);
    border-radius: 3rem;
    pointer-events: none;
}

header .brillo {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: 3rem;
    box-shadow: inset 2px 2px 3px 0 rgba(255, 255, 255, 0.3),
                inset -1px -1px 2px 1px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.navContenedor {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2rem;
    gap: 2rem;
}

.logoHeader img {
    width: 220px;
    height: 80px;
}

.navLinks {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.navLinks li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1rem;
    padding: 1.0rem 1.0rem;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    display: inline-block;
}

.navLinks li {
    background:
        linear-gradient(rgba(0, 0, 0, 0.563), rgba(0, 0, 0, 0.563)) left center / 1px 30% no-repeat,
        linear-gradient(rgba(0, 0, 0, 0.563), rgba(0, 0, 0, 0.563)) right center / 1px 30% no-repeat;
}

.navLinks li a::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #f5c542, #ffda6a);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.navLinks li a:hover::before {
    width: 100%;
}

.navLinks li a:hover {
    transform: translateY(-2px);
    color: white;
    text-shadow: 0 0 8px rgba(245, 197, 66, 0.6);
}

.botonHeader {
    display: flex;
    align-items: center;
}

.botonAmarillo {
    background: linear-gradient(135deg, #f5c542 0%, #f7d44a 100%);
    border: none;
    border-radius: 2rem;
    padding: 0.7rem 1.6rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 2.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.15);
}

.botonAmarillo p {
    margin: 4px;
    font-weight: 700;
    color: #14287b;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.botonAmarillo:hover {
    transform: scale(0.96);
    background: linear-gradient(135deg, #f7d44a 0%, #f9de6e 100%);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

header:hover {
    transform: scale(1.01);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}


.fondoInicio > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    object-fit: cover;
    z-index: -1;
    clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 60%,
    75% 70%,
    60% 95%,
    40% 95%,
    25% 70%,
    0% 60%
);
}

.fondoInicio::before {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 0;
    clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 60%,
    75% 70%,
    60% 95%,
    40% 95%,
    25% 70%,
    0% 60%
);
}
/* ////////////////////////////////////////////////////
//////////////////////////////////////////////////////
/////////////////////////////////////////////////// */



/* ============================================
TARJETA DE INICIO
============================================ */
.contenedorTarjeta {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 33rem;
    padding: 2rem;
    border-radius: 1.5rem;
    background: rgb(20, 41, 123, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    color: white;
    text-align: center;
    transition: all 0.4s ease;
}

.contenedorTarjeta::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;

    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.25),
        rgba(255,255,255,0.05),
        transparent
    );

    opacity: 0.6;
    pointer-events: none;
}

.contenedorTarjeta:hover {
    transform: translate(-50%, -55%) scale(1.03);

    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(255, 255, 255, 0.15),
        inset 0 0 30px rgba(255, 255, 255, 0.08);
}

.tarjetaInicio h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;

    text-shadow: 
        0 0 10px rgba(245, 197, 66, 0.8),
        0 0 20px rgba(245, 197, 66, 0.4);
    
    position: relative;
}

.tarjetaInicio h1::after {
    content: "";
    position: absolute;

    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);

    width: 70%;
    height: 2px;

    background: linear-gradient(
        to right,
        transparent,
        rgba(255,255,255,0.8),
        transparent
    );

    border-radius: 100px;
}

.tarjetaInicio p {
    margin-bottom: 15px;
}

.tarjetaInicio .botonAmarillo p {
    margin: 4px;
}


@keyframes glassMove {
    0% { transform: translateX(0%); }
    100% { transform: translateX(100%); }
}

.tarjetaInicio::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0%;
    width: 50%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.119),
        transparent
    );
    border-radius: 20px;

    animation: glassMove 4s infinite alternate;
    z-index: -1;
}
/* ////////////////////////////////////////////////////
//////////////////////////////////////////////////////
/////////////////////////////////////////////////// */



/* ============================================
CONTENEDOR DE DOS COLUMNAS
============================================ */
.contenedorDosColumnas {
    display: flex;
    gap: 2rem;
    max-width: 1600px;
    margin: 30rem auto;
    padding: 0 2rem;
    position: relative;
    align-items: flex-start;
    z-index: 10;
}

.columnaIzquierdaAncha {
    flex: 3;
    min-width: 0;
    background-color: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(20, 40, 120, 0.2);
}

.columnaDerechaFija {
    flex: 1;
    position: sticky;
    top: 20px;
    align-self: flex-start;
}
/* ////////////////////////////////////////////////////
//////////////////////////////////////////////////////
/////////////////////////////////////////////////// */



/* ============================================
CONTENEDOR IZQUIERDO PRIMER BLOQUE
============================================ */
.bloqueUno {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.bloqueUno .textoDestacado {
    font-size: 1.5rem;
    font-weight: 600;
    color: #14287b;
    text-shadow: 0 0 8px rgba(20, 40, 120, 0.3);
    border-left: #14287b 3px solid;
    padding-left: 10px;
    background: rgba(20, 41, 123, 0.27);
    width: 50%;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.imagenBloqueUno {
    width: 95%;
    margin: 0 auto;
    height: 32rem;
    border-radius: 1rem;
    overflow: hidden;
}

.imagenBloqueUno img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
/* ////////////////////////////////////////////////////
//////////////////////////////////////////////////////
/////////////////////////////////////////////////// */



/* ============================================
CONTENEDOR IZQUIERDO - BLOQUE DOS
============================================ */
.bloqueDos {
    display: flex;
    flex-direction:row;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.bloqueDos .columnaUno, .bloqueDos .columnaDos {
    flex: 1;
    background: rgb(20, 41, 123, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: inset 0 0 10px rgba(20, 40, 120, 0.1);
    border-left: #14287b 3px solid;
}

.bloqueDos .columnaUno h3, .bloqueDos .columnaDos h3 {
    margin-bottom: 10px;
}
/* ////////////////////////////////////////////////////
//////////////////////////////////////////////////////
/////////////////////////////////////////////////// */



/* ============================================
CONTENEDOR IZQUIERDO - BLOQUE TRES
============================================ */
.bloqueTres {
    background: rgb(20, 41, 123, 0.05);
    border-radius: 1rem;
    padding: 1.5rem 1.5rem 0.1rem 1.5rem;
    box-shadow: inset 0 0 10px rgba(20, 40, 120, 0.1);
    margin-bottom: 2rem;
}

.bloqueTres h1 {
    color: #14287b;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #f5c542;
    padding-bottom: 0.75rem;
    text-align: center;
}

.servicioItem {
    background: rgba(20, 41, 123, 0.601);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    clip-path: polygon(
        0% 0%,
        100% 0%,
        100% calc(100% - 20px),
        95% calc(100% - 12px),
        90% calc(100% - 18px),
        85% calc(100% - 10px),
        80% calc(100% - 16px),
        75% calc(100% - 8px),
        70% calc(100% - 14px),
        65% calc(100% - 6px),
        60% calc(100% - 12px),
        55% calc(100% - 4px),
        50% calc(100% - 10px),
        45% calc(100% - 4px),
        40% calc(100% - 12px),
        35% calc(100% - 6px),
        30% calc(100% - 14px),
        25% calc(100% - 8px),
        20% calc(100% - 16px),
        15% calc(100% - 10px),
        10% calc(100% - 18px),
        5% calc(100% - 12px),
        0% calc(100% - 20px)
    );
}

.servicioItem:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.servicioItem h3 {
    color:#f5c542;
}

.servicioItem p {
    color: #ffffff;
    margin-bottom: 5px;
}
/* ////////////////////////////////////////////////////
//////////////////////////////////////////////////////
/////////////////////////////////////////////////// */



/* ============================================
CONTENEDOR DERECHO - INFORMACIÓN DE CONTACTO
============================================ */
.bloqueInfo {
    background: rgb(20, 41, 123, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    padding: 1.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bloqueInfo h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid #f5c542;
    padding-bottom: 0.75rem;
}

.infoContacto {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.infoItem {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.infoIcono {
    font-size: 1.8rem;
    min-width: 45px;
}

.infoItem h3 {
    color: #f5c542;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.infoItem p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.botonInfo {
    width: 100%;
    margin-top: 1rem;
}

.botonInfo p {
    color: #14287b;
    font-weight: bold;
}
/* ////////////////////////////////////////////////////
//////////////////////////////////////////////////////
/////////////////////////////////////////////////// */







/* ============================================
BLOQUE CUATRO - FAQ DESPLEGABLE
============================================ */
.bloqueCuatro {
    margin-bottom: 2rem;
}

.faq-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
    border-radius: 2rem;
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(20, 41, 123, 0.15);
    border: 1px solid rgba(20, 41, 123, 0.1);
}

.faq-titulo {
    text-align: center;
    color: #14287b;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.faq-titulo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #f5c542, #ffda6a);
    border-radius: 3px;
}

.faq-subtitulo {
    text-align: center;
    color: #666;
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 1rem;
    border: 1px solid rgba(20, 41, 123, 0.15);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: rgba(245, 197, 66, 0.5);
    box-shadow: 0 4px 12px rgba(20, 41, 123, 0.1);
}

.faq-pregunta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-pregunta span {
    font-weight: 600;
    color: #14287b;
    font-size: 1rem;
    flex: 1;
    padding-right: 1rem;
}

.faq-toggle {
    background: rgba(20, 41, 123, 0.1);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
}

.faq-toggle:hover {
    background: #f5c542;
    transform: rotate(90deg);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: #14287b;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    background: #f5c542;
    transform: rotate(45deg);
}

.faq-item.active .faq-toggle:hover {
    transform: rotate(45deg) scale(1.1);
}

.faq-respuesta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(20, 41, 123, 0.02);
    border-top: 1px solid transparent;
}

.faq-item.active .faq-respuesta {
    max-height: 300px;
    border-top-color: rgba(20, 41, 123, 0.1);
}

.faq-respuesta p {
    padding: 1.25rem 1.5rem;
    color: #444;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}