
/* =========================================================
   RESET
========================================================= */

.cosas-page,
.cosas-page * {
    box-sizing: border-box;
}

.cosas-page {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.cosas-page img,
.cosas-page video,
.cosas-page iframe {
    max-width: 100%;
}


/* =========================================================
   HERO
========================================================= */

.cosas-page .cosas-hero {
    width: 100%;
    min-height: 390px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            135deg,
            #061A35 0%,
            #0B4EA2 55%,
            #1769D2 100%
        );
    padding: 80px 6%;
}

.cosas-page .cosas-hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.cosas-page .cosas-label {
    display: inline-block;
    margin-bottom: 18px;
    color: #8CC8FF;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}

.cosas-page .cosas-hero h1 {
    margin: 0 0 18px;
    color: #FFFFFF !important;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 900;
}

.cosas-page .cosas-hero p {
    max-width: 700px;
    margin: 0;
    color: #E6F2FF !important;
    font-size: 19px;
    line-height: 1.7;
}


/* =========================================================
   CONTENIDO
========================================================= */

.cosas-page .cosas-content {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 90px 5%;
}


/* =========================================================
   INTRO
========================================================= */

.cosas-page .cosas-intro {
    width: 100%;
    max-width: 850px;
    margin-bottom: 50px;
}

.cosas-page .section-label {
    display: block;
    margin-bottom: 14px;
    color: #1769D2 !important;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.cosas-page .cosas-intro h2 {
    margin: 0 0 20px;
    color: #071A35 !important;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.15;
    font-weight: 900;
}

.cosas-page .cosas-intro p {
    margin: 0;
    color: #64748B !important;
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   FILTROS
========================================================= */

.cosas-page .cosas-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.cosas-page .cosas-filter {
    width: auto !important;
    padding: 11px 21px !important;
    margin: 0 !important;
    border: 1px solid #DCE5EF !important;
    border-radius: 50px !important;
    background: #FFFFFF !important;
    color: #172B4D !important;
    font-family: 'Roboto', sans-serif;
    font-size: 12px !important;
    font-weight: 800 !important;
    cursor: pointer;
    transition: all .25s ease;
}

.cosas-page .cosas-filter:hover {
    border-color: #1769D2 !important;
    color: #1769D2 !important;
    transform: translateY(-2px);
}

.cosas-page .cosas-filter.active {
    background: #0B4EA2 !important;
    border-color: #0B4EA2 !important;
    color: #FFFFFF !important;
}


/* =========================================================
   GRID
========================================================= */

.cosas-page .cosas-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}


/* =========================================================
   TARJETA
========================================================= */

.cosas-page .cosa-card {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid #DDE6F0;
    border-radius: 22px;
    box-shadow:
        0 12px 35px rgba(7, 26, 53, .07);
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.cosas-page .cosa-card:hover {
    transform: translateY(-7px);
    box-shadow:
        0 20px 50px rgba(7, 26, 53, .13);
}


/* =========================================================
   MULTIMEDIA
========================================================= */

.cosas-page .cosa-media {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #EAF4FF,
            #F7FAFD
        );
}

/* Imagen */
.cosas-page .cosa-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Video HTML */
.cosas-page .cosa-media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Google Drive / iframe */
.cosas-page .cosa-media iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
}

/* Placeholder */
.cosas-page .cosa-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cosas-page .cosa-placeholder span {
    color: #0B4EA2 !important;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 1px;
}

.cosas-page .cosa-placeholder small {
    color: #64748B !important;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}


/* =========================================================
   CONTENIDO DE TARJETA
========================================================= */

.cosas-page .cosa-content {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.cosas-page .cosa-product {
    display: block;
    margin-bottom: 12px;
    color: #1769D2 !important;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.cosas-page .cosa-content h3 {
    margin: 0 0 15px;
    color: #071A35 !important;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 900;
}

.cosas-page .cosa-content p {
    margin: 0;
    color: #64748B !important;
    font-size: 14px;
    line-height: 1.75;
}

.cosas-page .cosa-content .cosa-description {
    margin-top: 15px;
}


/* =========================================================
   BOTÓN / ENLACE
========================================================= */

.cosas-page .cosa-button {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    padding: 24px 0 0;
    border: none;
    background: transparent;
    color: #0B4EA2 !important;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
    cursor: pointer;
    transition: all .2s ease;
}

.cosas-page .cosa-button span {
    margin-left: 5px;
    transition: transform .2s ease;
}

.cosas-page .cosa-button:hover {
    color: #1769D2 !important;
}

.cosas-page .cosa-button:hover span {
    margin-left: 10px;
}


/* =========================================================
   CTA
========================================================= */

.cosas-page .cosas-cta {
    width: 100%;
    margin-top: 100px;
    padding: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border-radius: 25px;
    background:
        linear-gradient(
            135deg,
            #071A35,
            #0B4EA2
        );
}

.cosas-page .cosas-cta span {
    color: #8CC8FF;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.cosas-page .cosas-cta h2 {
    margin: 12px 0;
    color: #FFFFFF !important;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.2;
    font-weight: 900;
}

.cosas-page .cosas-cta p {
    max-width: 650px;
    margin: 0;
    color: #DCEEFF !important;
    line-height: 1.7;
}

.cosas-page .cosas-cta a {
    flex-shrink: 0;
    padding: 15px 25px;
    border-radius: 10px;
    background: #FFFFFF;
    color: #0B4EA2 !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 900;
    transition: transform .25s ease;
}

.cosas-page .cosas-cta a:hover {
    transform: translateY(-3px);
}

.cosas-page .cosas-cta strong {
    margin-left: 8px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .cosas-page .cosas-content {
        padding: 70px 5%;
    }

    .cosas-page .cosas-grid {
        grid-template-columns: 1fr;
    }

    .cosas-page .cosas-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 600px) {

    .cosas-page .cosas-hero {
        min-height: 330px;
        padding: 60px 7%;
    }

    .cosas-page .cosas-hero h1 {
        font-size: 40px;
    }

    .cosas-page .cosas-hero p {
        font-size: 16px;
    }

    .cosas-page .cosas-content {
        padding: 55px 6%;
    }

    .cosas-page .cosas-intro h2 {
        font-size: 32px;
    }

    .cosas-page .cosas-filters {
        gap: 7px;
    }

    .cosas-page .cosas-filter {
        padding: 9px 14px !important;
        font-size: 11px !important;
    }

    .cosas-page .cosa-media {
        height: 220px;
    }

    .cosas-page .cosa-media iframe {
        min-height: 220px;
    }

    .cosas-page .cosa-content {
        padding: 24px;
    }

    .cosas-page .cosa-content h3 {
        font-size: 20px;
    }

    .cosas-page .cosas-cta {
        padding: 35px 25px;
        margin-top: 70px;
    }
}

