@font-face {
    font-family: 'Oleo Script';
    src: url('/fonts/OleoScript-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Material Symbols Rounded';
    font-style: normal;
    font-weight: 100 700;
    src: url('/fonts/material-symbols-rounded.woff2') format('woff2');
}

/* ===========================================
   CSS VARIABLES
=========================================== */
:root {
    --color-ubam-black: rgb(33, 33, 33);
    --color-ubam-dark: rgb(33, 37, 41);
    --color-ubam-dark-gray: rgb(27, 27, 35);
    --color-ubam-gray: rgb(137, 145, 169);
    --color-ubam-light-gray: rgb(230, 233, 244);
    --color-ubam-white: rgb(242, 242, 242);
    --color-ubam-white-pure: rgb(255, 255, 255);
    --color-ubam-blue: rgb(4, 178, 217);
    --color-ubam-dark-blue: rgb(18, 124, 166);
    --color-ubam-light-blue: rgb(227, 242, 253);
    --color-ubam-pink: rgb(217, 24, 114);
    --color-ubam-dark-pink: rgb(186, 7, 91);
    --color-ubam-light-pink: rgb(242, 5, 159);
    --color-ubam-red: rgb(255, 55, 55);
    --color-ubam-light-red: rgb(255, 236, 248);
    --color-ubam-green: rgb(5, 146, 18);
    --color-ubam-yellow: #f57c00;
    --color-ubam-white-light: rgb(255, 255, 255);
    /*Border top card*/
    --color-border-cards: linear-gradient(90deg, var(--color-ubam-blue), var(--color-ubam-pink));
    --color-ubam-icon-color: #666666;
    /* Shadows */
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* Transitions */
    --ubam-transition: all 0.3s ease;
    --fast-transition: all 0.2s ease;
    /*Menu varibles defaults*/
    --menu-padding: 0.75rem 1.25rem;
}

/* ===========================================
   BASE
=========================================== */
html, body {
    margin: 0;
    padding: 0;
    min-width: 320px;
    min-height: 100dvh;
    height: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--color-ubam-white);
    padding-top: 6rem;
}

main {
    height: auto;
    min-height: 80dvh;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(27, 27, 35, 0.7);
    border-radius: 8px;
    transition: var(--ubam-transition);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(27, 27, 35, 0.9);
}

/* ===========================================
   TYPOGRAPHY
=========================================== */
.subtitle, h4, .subtitle-cei {
    font-family: "Oleo Script", serif;
    font-weight: 700;
}

.subtitle-cei {
    font-size: 1.2rem;
    color: var(--color-ubam-dark-blue);
}

.header-title-section .subtitle {
    margin: 0;
    font-size: 1.75rem;
    color: var(--color-ubam-white);
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.header-title-section .subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-ubam-white);
    border-radius: 2px;
}

/* ===========================================
   BUTTONS
=========================================== */
.btn-custom {
    background-color: var(--color-ubam-dark-blue) !important;
    color: var(--color-ubam-white);
}

.btn-ubam {
    font-family: "Oleo Script";
    background-color: var(--color-ubam-blue);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--ubam-transition);
}

.btn-ubam:hover {
    background-color: var(--color-ubam-dark-blue);
    color: var(--color-ubam-white);
}

.btn-ubam-cancel {
    font-family: "Oleo Script";
    background-color: var(--color-ubam-pink);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--ubam-transition);
}

.btn-ubam-cancel:hover {
    background-color: rgb(252, 164, 205);
}

/* ===========================================
   LINKS
=========================================== */
.link-cei {
    text-decoration: none;
    color: var(--color-ubam-light-pink);
    transition: var(--fast-transition);
}

.link-cei:hover {
    font-weight: bold;
}

/* ===========================================
   ALERTS
=========================================== */
.custom-alert {
    display: none;
    align-items: center;
    padding: 0.75rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}

.custom-alert-danger {
    background-color: var(--color-ubam-light-red);
    color: var(--color-ubam-dark-pink);
}

.custom-alert-warning {
    background-color: var(--color-ubam-light-blue);
    color: var(--color-ubam-dark-blue);
}

.custom-alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px;
}

.custom-alert-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.custom-alert-text {
    flex: 1;
    word-wrap: break-word;
}

/* ===========================================
   CARDS
=========================================== */
.main-question {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-ubam-dark-blue);
    margin-bottom: 3rem;
}

.card-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: stretch;
}

.card-group > a {
    display: block;
    height: 100%;
    text-decoration: none;
}

.dashboard-card {
    display: flex;
    flex-direction: column;
    background: var(--color-ubam-white-pure);
    border-radius: 12px;
    padding: clamp(1rem, 1.2vw + .5rem, 1.5rem);
    box-shadow: var(--card-shadow);
    transition: transform .15s ease, box-shadow .15s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-ubam-blue), var(--color-ubam-pink));
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: .75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.card-title {
    font-size: clamp(1.1rem, .6vw + .95rem, 1.35rem);
    font-weight: 600;
    color: var(--color-ubam-black);
    margin: .25rem 0 .35rem;
}

.card-description {
    color: var(--color-ubam-gray);
    font-size: clamp(.95rem, .3vw + .85rem, 1rem);
    line-height: 1.55;
}

.icon-review {
    background: rgba(217, 24, 114, 0.1);
    color: var(--color-ubam-pink);
}

/* ===========================================
   UTILITIES
=========================================== */
.linea-contenedor {
    position: relative;
}

.linea-contenedor::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(43, 174, 209), var(--color-ubam-pink));
}

.custom-tooltip {
    --bs-tooltip-bg: white;
    --bs-tooltip-color: var(--color-ubam-dark-blue);
    font-family: "Oleo Script", serif;
}

.icon-social {
    text-decoration: none;
    width: 40px;
    height: 40px;
}

#facebook {
    filter: brightness(0) saturate(100%) invert(35%) sepia(92%) saturate(1819%) hue-rotate(197deg) brightness(96%) contrast(101%);
}

#whatsapp {
    filter: brightness(0) saturate(100%) invert(48%) sepia(93%) saturate(749%) hue-rotate(82deg) brightness(95%) contrast(92%);
}

/* ===========================================
   MATERIAL SYMBOLS
=========================================== */
.material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'liga';
}

.material-symbols-rounded.filled {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 32px !important;
}

/* ===========================================
   MEDIA QUERIES
=========================================== */
@media (max-width: 1024px) {
    .main-question {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .card-group {
        gap: 1.25rem;
    }
}

@media (max-width: 576px) {
    .custom-alert {
        flex-direction: column;
        text-align: center;
    }

    .custom-alert-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .dashboard-card {
        border-radius: 10px;
    }
}

@media (hover: none) {
    .dashboard-card:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dashboard-card {
        transition: none;
    }
}