@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap");
html,
body {
    font-family: "Poppins", sans-serif;

}

select,
option,
.form-control,
.inputBox {
    font-family: inherit;
}

:root {
    --color-primary: #0182C4;
    --color-secondary: #002F47;
    --color-tertiary: #002F47;
    --color-text: #2F2F2F;
}

.div-click {
    text-decoration: none;
    color: inherit;
    display: block;
}

.div-click:hover {
    text-decoration: none;
    color: inherit;

}

.div-click:focus {
    text-decoration: none;
    color: inherit;

}

/* Header */
header {
    background-color: #ffffff;
    box-shadow: 0 8px 8px rgba(33, 28, 105, 0.15);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    top: 0;
    z-index: 1000;
}

/* Lado izquierdo */
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: right;
    justify-items: right;
    flex-wrap: wrap;
    gap: 12px;
    padding-right: 10px;
}

.header-left img {
    height: 60px;
    margin: 10px;
}


.header-right img {
    height: 60px;
    margin: 10px;

}
.system-title {
  font-size: 20px;
  font-weight: bold;
    color: var(--color-text);

}

.tipologia-descripcion {
    margin-top: 12px;
    padding: 12px 14px;
    border-left: 4px solid #0182C4;
    background: rgba(1, 130, 196, 0.06);
    color: #2F2F2F;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

/*PREGUNTAS FRECUENTES*/
.main-frame {
    position: relative;
    width: 100%;
    height: 450px;
    /* puedes ajustar la altura */
    background: url('banner_olimpia.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay oscuro para resaltar el texto */
.main-overlay {
    background: rgba(0, 0, 0, 0.4);
    /* capa semitransparente */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 140px;
}

/* Título */

.text-content {
    flex: 1;
    max-width: 80%;

    align-items: center;
    justify-content: center;
    justify-items: center;
}

.text-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-align: center;
}

.text-content p {
    font-size: 18px;
    color: white;
    text-align: center;
}

.divider {
    width: 100px;
    /* largo de la línea */
    height: 6px;
    /* grosor */
    background-color: var(--color-secondary);
    border-radius: 2px;
    margin: 0 0 20px 0;
    /* separación con el título y el párrafo */
}

.bttn-denuncia {
    background-color: var(--color-primary);
    border-radius: 24px;
    border-width: 0px;
    padding: 12px 30px;
    color: white;
    box-shadow: 0 5px 12px rgba(51, 37, 128, 0.3);
}

.bttn-denuncia:hover {
    color: white;
    box-shadow: 0 8px 12px rgba(23, 29, 65, 0.5);
}


/* Card */
.channels {
    background-color: white;
    width: 100%;
    padding: 40px;
}



.channel-card img {
    width: auto;
    height: 60px;
    margin-bottom: 15px;
}

.channel-card-content {
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text);
    margin: 0;
    justify-content: center;
    justify-items: center;
}

.channel-card-content p {
    margin-bottom: 12px;
    line-height: 1.4;
    align-content: center;

}

.phone-numbers {
    display: flex;
    flex-direction: row;
    /* uno debajo del otro */
    gap: 10px;
    padding-top: 20px;
    padding-bottom: 10px;
    min-width: 180px;
    flex-wrap: wrap;
    justify-content: center;
}

.email-list {
    display: flex;
    flex-direction: row;
    /* uno debajo del otro */
    gap: 10px;
    padding-bottom: 5px;
    padding-top: 5px;
    min-width: 180px;
    flex-wrap: wrap;
    justify-content: left;
}
.grid-email {
  display: grid;
  grid-template-columns: 2fr 3fr; 
  grid-template-rows: repeat(3, auto);
  gap: 12px 20px;
  align-items: center;
}

.grid-dir {
  display: grid;
  grid-template-columns: 3fr 9fr; 
  grid-template-rows: repeat(3, auto);
  gap: 12px 20px;
  align-items: center;
}



.bttn-box {
    display: flex;
    align-items: center;
    gap: 8px;

    border-radius: 10px;
    justify-content: center;
    justify-items: center;
    padding: 8px 12px;
    min-width: 140px;
    box-shadow: 0 3px 8px rgba(51, 37, 128, 0.2);
}

.bttn-box:hover {
    box-shadow: 0 5px 12px rgba(51, 37, 128, 0.3);
}

.bttn-box-yellow {
    background-color: var(--color-primary);
}

.bttn-box-blue {
    background-color: var(--color-primary);
}

.bttn-box-red {
    background-color: var(--color-primary);
}

.mini-bttn-box {
    display: flex;
    align-items: center;

    border-radius: 10px;
    justify-content: center;
    justify-items: center;
    padding: 6px 6px;
    min-width: 140px;
    box-shadow: 0 3px 8px rgba(51, 37, 128, 0.2);
}

.mini-bttn-box:hover {
    box-shadow: 0 5px 12px rgba(51, 37, 128, 0.3);
}

.mini-bttn-box-red {
    background-color: var(--color-primary);
}

.mini-bttn-box-blue {
    background-color: var(--color-primary);
}


.channel-bold {
    font-weight: 700;
    color: white;
    font-size: 15px;
}

.channel-mini {
    font-weight: 700;
    color: white;
    font-size: 11px;
}

.channel-grid {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* siempre 4 en línea */
    gap: 30px;
    margin: 0 auto;
    padding-bottom: 30px;
    padding-top: 30px;
}

.channel-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-text);
    margin-bottom: 10px;
    text-align: center;
}



.channel-card {
    background: #f6f9fc;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.channel-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.channels-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 15px;
    text-align: center;
}

.channels-subtitle {
    font-size: 18px;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 15px;
}

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    
}
.ib-yellow{
    background-color: var(--color-secondary);
}
.ib-red{
    background-color: var(--color-secondary);
}

.ib-blue{
    background-color: var(--color-secondary);
}



/*FAQ*/

.faq-frame {
    position: relative;
    background: #f6f9fc;
    padding: 40px 100px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    overflow: hidden;
    /* para que los blurs no se salgan */
    min-height: 300px;
}


.faq-content {
    flex: 1;
    max-width: 70%;
    justify-content: center;
    justify-items: center;
}

.faq-content h1 {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 15px;
}

.faq-content p {
    font-size: 18px;
    color: var(--color-text);
}

.img-faq-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.frame-faq-content {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-items: center;
    width: 100%;
    z-index: 1;

}

.report-question-number {
    width: 50px;
    height: 50px;
    min-width: 36px;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 24px;
    
}

@media (max-width: 1400px) {
    .channel-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 por fila */
    }

    .faq-content {
        max-width: 80%;
    }

    .text-content {
        max-width: 90%;
    }

}

@media (max-width: 1266px) {
    .channel-grid {
        grid-template-columns: 1fr;
        
    }
    .grid-email {
        grid-template-columns: 1fr; 
        grid-template-rows: repeat(1, auto);
    }
    .grid-dir {
        grid-template-columns: 1fr; 
        grid-template-rows: repeat(1, auto);
    }

    .faq-content {
        max-width: 90%;
    }

    .text-content {
        max-width: 90%;
    }

    .main-overlay {
        padding: 20px;
    }
}

@media (max-width:800px) {
    .system-title {
        display: none;
    }

    .faq-content {
        max-width: 95%;
    }

    .text-content {
        max-width: 92%;
    }

    .faq-frame {
        padding: 20px;
    }
}

@media (max-width:500px) {
    .system-title {
        display: none;
    }

    .faq-content {
        max-width: 95%;
    }

    .text-content {
        max-width: 92%;
    }

    .faq-frame {
        padding: 20px;
    }

    .main-frame {
        height: 550px;
    }

    .text-content h1 {
        font-size: 36px;
        font-weight: 700;
    }

    .text-content p {
        font-size: 16px;

    }

    .channels {
        padding: 20px;
    }

    .faq-content h1 {
        font-size: 24px;
        font-weight: 600;
    }

    .faq-content p {
        font-size: 16px;
    }
}