:root {
    --morado-900: #903f94;
    --morado-titulo: #77267b;
    --morado-700: #6f2dbd;
    --morado-500: #a663cc;
    --morado-100: #efe7ff;
    --blanco: #ffffff;
    --negro: #1a1a1a;
}

body {
    background: var(--blanco);
    color: var(--negro);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}


/* Carrusel */

header .carousel {
    max-height: 600px;
    overflow: hidden;
}

header .carousel img {
    object-fit: cover;
    width: 100%;
    height: 600px;
    filter: brightness(0.8);
}

@media (max-width: 768px) {
    header .carousel img {
        height: 350px;
    }
}

@media (max-width: 576px) {
    header .carousel img {
        height: 250px;
    }
}


/* NAVBAR (MENU DE INICIO)*/

.custom-nav {
    background: linear-gradient(90deg, var(--blanco), var(--blanco));
}

.nav-link {
    color: var(--negro) !important;
    font-weight: 600;
}

.nav-link:hover {
    color: var(--morado-900) !important;
    /*text-decoration: underline; */
}


/*COLOR DE LA HAMBURGUESA*/

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='purple' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Cambiar fuente del menú */

.navbar .nav-link {
    font-family: 'Roboto', sans-serif;
    /* Cambia 'Roboto' por la fuente que quieras */
    font-size: 15px;
    /* Cambia este número por el tamaño que quieras */
    font-weight: 600;
    /* Opcional: grosor de la letra */
}


/* SECCIONES DE TITULO Y TEXTO DEL SECTOR MORADO BLOQUE 2  */

.section-title {
    color: var(--blanco);
    font-weight: bold;
    text-align: center;
    font-size: 40px;
}

.section-texto {
    color: var(--blanco);
    font-size: 1.1rem;
    text-align: center;
    margin: 0 auto 0 auto;
    max-width: 800px;
    padding: 0 20px;
}

.section-alt {
    background: var(--morado-titulo);
}


/*   TITULOS Y TEXTOS DEL BLOQUE NUMERO 3 */

.section-titlebloque2 {
    color: var(--morado-titulo);
    font-weight: bold;
    text-align: center;
    font-size: 45px;
}

.text-textobloque2 {
    color: var(--morado-titulo);
    font-size: 1.1rem;
    text-align: center;
    margin: 30px auto 20px auto;
    max-width: 800px;
    padding: 0 20px;
}


/* TARJETAS DE SELLOS EMPRESARIALES */

.card {
    transition: transform 0.3s;
    text-align: center;
    align-items: center;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.card .btn {
    border: none;
    background: transparent;
}

.title-tituloSello {
    color: var(--morado-titulo);
    font-size: 50px;
    /* Cambia tamaño */
    font-size: 40px;
    font-weight: bold;
    /*font-family: 'Georgia', serif; */
    /* Cambia grosor */
    margin-top: 25px;
}

.Sello-texto {
    color: var(--morado-titulo);
    font-size: 50px;
    /* Cambia tamaño */
    font-size: 16px;
    font-weight: bold;
    font-family: 'Georgia', serif;
    /* Cambia grosor */
    margin-top: 25px;
}


/* IMAGEN GIZ */

.imagengiz {
    /* IMAGEN GIZ DE LA PAGINA WEB*/
    margin: 20px;
    /* margen igual en los 4 lados */
    /* o individualmente: */
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    /* Opcional: ajustar tamaño */
    width: 100%;
    height: auto;
    /* mantiene proporción */
}


/* REDES */

.social-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--blanco);
    color: var(--morado-900);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.2s;
}

.social-btn:hover {
    transform: translateY(-4px) rotate(5deg);
    color: var(--morado-700);
}


/* FOOTER */

.footer-grad {
    background: linear-gradient(90deg, var(--morado-700), var(--morado-900));
    color: var(--blanco);
}


/* BLOQUE SELLO IMAGEN LETRAS BOTONES BLOQUE 1 */

#sello-destacado {
    padding: 40px 20px;
}

.titulo-sello {
    color: var(--morado-titulo);
    /* Cambia tamaño */
    font-size: 60px;
    font-weight: bold;
    /*font-family: 'Georgia', serif; +/
    /* Cambia grosor */
}

.imagen-sello {
    width: 100%;
    max-width: 350px;
    height: auto;
}

.btn-sello {
    background-color: var(--negro);
    color: var(--blanco);
    padding: 12px 24px;
    /* Cambia tamaño */
    font-size: 16px;
    border: none;
    border-radius: 6px;
    /* Cambia forma del botón */
    text-decoration: none;
}

.btn-sello {
    background-color: var(--negro);
    color: var(--blanco);
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-sello:hover {
    background-color: #333;
    color: var(--blanco);
}

body {
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
}


/* CRONOGRAMA BLOQUE 6 */


/* Contenedor principal */

.contenedor {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 0px;
}

.bloque {
    background-color: var(--blanco);
    color: var(--morado-titulo);
    width: 250px;
    height: 180px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}


/* Efecto al pasar el mouse */

.bloque:hover {
    transform: translateY(-5px);
    background-color: var(--morado-500);
}


/* Estilo del título  BLOQUE DE 3X3*/

.bloque h2 {
    margin: 0 0 10px;
    font-size: 22px;
}


/* Estilo del subtítulo */

.bloque p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}


/* imagenes 3x3 */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f4f4;
}


/* Estructura principal */

.seccion {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
    /* MODIFICACION DEL TAMAÑO DE LA DIVISION*/
}


/* Texto (lado izquierdo) */

.seccion {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
}

.texto {
    flex: 1 1 100%;
    text-align: center;
    max-width: 800px;
}

.texto h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--morado-titulo);
    font-weight: bold;
}

.texto h3 {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
}

.galeria {
    flex: 1 1 100%;
    max-width: 1000px;
}


/* Galería (lado derecho) */

.galeria {
    flex: 2;
    text-align: center;
}


/* Grid de imágenes 3x3 */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5px;
}

.grid img {
    width: 100%;
    height: auto;
    object-fit: fill;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}


/* Cuadro de nombres debajo del grid */

.premios-container {
    background-color: #7B1FA2;
    /* morado */
    color: #fff;
    text-align: center;
    padding: 3px 5px;
    border-radius: 8px;
    max-width: 100%;
    max-height: auto;
    margin: 1px auto;
}

.premios {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 200px;
    font-size: 34px;
    font-weight: 700;
}

.premio-item span {
    font-weight: 500;
    margin-left: 5px;
}

.premios-texto {
    margin-top: 5px;
    font-size: 25px;
    font-weight: 400;
    font-weight: bold;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}


/* Modal (pantalla emergente) */

.modal {
    display: none;
    position: fixed;
    z-index: 1200;
    left: 0;
    top: 50;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-contenido {
    /* IMAGEN CONFIGURACION*/
    display: block;
    width: 500px;
    height: 500px;
    margin: 60px auto;
    max-width: 100%;
    border-radius: 10px;
}

.cerrar {
    position: absolute;
    top: 60px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}


/*REDES SOCIALES*/


/* Barra social fija */

.barra-social {
    position: fixed;
    top: 50%;
    right: 10px;
    /* Cambia a left: 20px; si la quieres al lado derecho */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}


/* Estilo general de los iconos */

.barra-social .icono {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: var(--negro);
    /* morado */
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
}


/* Efecto hover */

.barra-social .icono:hover {
    transform: scale(1.15);
    background-color: #9C27B0;
}


/* Ejemplo de colores específicos si quieres personalizar */

.icono.facebook:hover {
    background-color: #1877f2;
}

.icono.instagram:hover {
    background-color: #e4405f;
}

.icono.twitter:hover {
    background-color: #000;
}

.icono.tiktok:hover {
    background-color: #5b5c58;
}

.icono.youtube:hover {
    background-color: #e4405f;
}

@media (max-width: 576px) {
    .barra-social {
        position: static;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
    }
}


/* === Tablets (menores a 768px) === */

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .title-tituloSello {
        font-size: 1.8rem;
    }
    .imagen-sello {
        max-width: 280px;
    }
}


/* === Celulares (menores a 576px) === */

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }
    .section-texto,
    .text-textobloque2 {
        font-size: 1rem;
        padding: 0 10px;
    }
    .card {
        margin: 10px auto;
        width: 90%;
    }
    .premios {
        flex-direction: column;
        gap: 10px;
        font-size: 1.5rem;
    }
}