:root {
    --mp-accent: #ec430f;
    --mp-topbar: #333333;
    --mp-blue: #4d8bb8;
    --mp-red: #cd454b;
    --mp-orange: #e77600;
    --mp-warning: #405ea8;
    --mp-footer: #171717;
    --mp-text: #252525;
    --mp-muted: #777;
    --mp-aqua: #55c8cf;
    --mp-container: 1279px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--mp-text); background: #fff; font-family: Roboto, Arial, sans-serif; font-size: 16px; line-height: 1.55; }
body.offcanvas-open { overflow: hidden; }
a { color: var(--mp-accent); text-decoration: none; }
a:hover, a:focus { color: #c53207; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--mp-container)); margin-inline: auto; }
.narrow-container { max-width: 1140px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto !important; width: auto; height: auto; margin: 0; padding: 12px 16px; top: 8px; left: 8px; z-index: 999999; background: #fff; color: #111; }
.mp-icon { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: -.12em; }

/* Header */
.site-header { position: relative; z-index: 50; background: #fff; }
.topbar { background: var(--mp-topbar); color: #aaa; min-height: 34px; font-size: 12px; }
.topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.social-links { display: flex; align-items: center; gap: 17px; }
.social-links a { display: inline-flex; color: #aaa; font-size: 12px; }
.social-links a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 13px; align-items: center; }
.topbar-contact a, .topbar-contact span { color: #aaa; white-space: nowrap; }
.main-header { background: rgba(255,255,255,.98); min-height: 58px; box-shadow: 0 1px 0 rgba(0,0,0,.03); }
.header-inner { min-height: 58px; display: flex; align-items: center; gap: 20px; }
.site-branding { flex: 0 0 auto; min-width: 180px; display: flex; align-items: center; }
.custom-logo-link, .reference-logo { display: inline-flex; align-items: center; }
.custom-logo { max-height: 43px; width: auto; }
.reference-logo img { width: 132px; height: auto; display: block; }
.desktop-nav { margin-left: auto; }
.primary-menu, .desktop-nav ul { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; }
.primary-menu > li { position: relative; }
.primary-menu > li > a { display: flex; align-items: center; min-height: 58px; padding: 0 17px; color: #252525; font-size: 13px; font-weight: 400; }
.primary-menu > .current-menu-item > a, .primary-menu > .current-menu-ancestor > a, .primary-menu > li > a:hover { color: var(--mp-accent); }
.primary-menu .menu-item-has-children > a::after { content: ''; width: 6px; height: 6px; margin: -4px 0 0 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.primary-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; width: 240px; margin: 0; padding: 17px 0 20px; list-style: none; background: #fff; box-shadow: 0 5px 12px rgba(0,0,0,.18); z-index: 20; }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu li { position: relative; }
.primary-menu .sub-menu a { display: block; padding: 4px 20px; color: #333; font-size: 14px; font-weight: 400; line-height: 22px; white-space: normal; }
.primary-menu .sub-menu a:hover, .primary-menu .sub-menu a:focus, .primary-menu .sub-menu .current-menu-item > a { color: var(--mp-accent); }
.primary-menu .sub-menu .sub-menu { top: -17px; left: 100%; }
.header-search { position: relative; width: 176px; flex: 0 0 176px; }
.header-search input { width: 100%; height: 31px; border: 0; border-radius: 2px; background: #eef0f2; padding: 0 34px 0 12px; color: #555; font-size: 13px; }
.header-search button { position: absolute; right: 0; top: 0; width: 32px; height: 31px; border: 0; background: transparent; color: #444; cursor: pointer; }
.signin-link { display: flex; align-items: center; gap: 4px; color: var(--mp-accent); white-space: nowrap; font-size: 13px; }
.signin-link .mp-icon { font-size: 15px; }
.offcanvas-toggle { width: 30px; height: 36px; padding: 7px 3px; border: 0; background: transparent; display: flex; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; }
.offcanvas-toggle span { width: 24px; height: 2px; background: #111; display: block; }

/* Offcanvas */
.offcanvas-panel { position: fixed; z-index: 1002; top: 0; right: 0; width: min(390px, 82vw); height: 100dvh; padding: 65px 30px 30px; background: #fff; transform: translateX(105%); transition: transform .24s ease; overflow-y: auto; box-shadow: -10px 0 35px rgba(0,0,0,.15); }
.offcanvas-open .offcanvas-panel { transform: translateX(0); }
.offcanvas-backdrop { position: fixed; z-index: 1001; inset: 0; background: rgba(3,12,18,.74); backdrop-filter: blur(4px); opacity: 0; transition: opacity .22s ease; }
.offcanvas-backdrop.is-visible { opacity: 1; }
.offcanvas-close { position: absolute; top: 16px; right: 18px; border: 0; background: transparent; font-size: 45px; line-height: 1; font-weight: 200; cursor: pointer; }
.offcanvas-content h2 { margin: 8px 0 10px; font-size: 16px; }
.offcanvas-content .search-form { display: flex; margin-bottom: 20px; }
.offcanvas-content .search-field { width: 100%; height: 41px; border: 1px solid #ccd2d8; border-radius: 4px; padding: 0 12px; }
.offcanvas-content .search-submit { display: none; }
.offcanvas-menu, .offcanvas-menu ul { list-style: none; margin: 0; padding: 0; }
.offcanvas-menu a, .offcanvas-panel .primary-menu a { display: block; padding: 9px 0; color: #666; font-size: 18px; font-weight: 600; min-height: auto; }
.offcanvas-menu .current-menu-item > a, .offcanvas-panel .current-menu-item > a { color: #ff6b57; }
.offcanvas-panel .primary-menu { display: block; }
.offcanvas-panel .primary-menu .sub-menu { display: block; position: static; width: auto; margin: 0; box-shadow: none; padding: 0 0 0 15px; }

/* Home */
.home-hero { position: relative; height: 719px; overflow: hidden; background: #5994bd; }
.home-hero-track, .home-hero-slide { position: absolute; inset: 0; }
.home-hero-slide { opacity: 0; background-color: #5994bd; background-image: var(--hero-desktop), var(--hero-fallback); background-repeat: no-repeat; background-position: center center; background-size: cover; transition: opacity .65s ease; }
.home-hero-slide.is-active { opacity: 1; z-index: 1; }
.home-hero-arrow { position: absolute; z-index: 3; top: 50%; width: 44px; height: 58px; padding: 0; border: 0; border-radius: 2px; background: rgba(0,0,0,.25); color: #fff; font-size: 42px; font-weight: 300; line-height: 50px; cursor: pointer; transform: translateY(-50%); transition: background .2s ease; }
.home-hero-arrow:hover, .home-hero-arrow:focus { background: rgba(0,0,0,.5); }
.home-hero-prev { left: 20px; }
.home-hero-next { right: 20px; }
.home-hero-dots { position: absolute; z-index: 3; right: 0; bottom: 20px; left: 0; display: flex; justify-content: center; gap: 9px; }
.home-hero-dot { width: 11px; height: 11px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; box-shadow: 0 1px 4px rgba(0,0,0,.35); cursor: pointer; }
.home-hero-dot.is-active { background: #fff; }
.quick-links-section { padding: 27px 0 26px; background: #fff; }
.quick-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.quick-card { min-height: 168px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff !important; text-align: center; transition: transform .18s ease, filter .18s ease; }
.quick-card:hover { transform: translateY(-2px); filter: brightness(.96); }
.quick-card-blue { background: var(--mp-blue); }
.quick-card-red { background: var(--mp-red); }
.quick-card-orange { background: var(--mp-orange); }
.quick-card-icon { font-size: 49px; line-height: 1; margin-bottom: 15px; }
.quick-card-title { font-size: 17px; font-weight: 400; }
.commitment-section { padding: 30px 0 35px; }
.commitment-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 45px; align-items: center; }
.commitment-copy h1 { font-size: 25px; line-height: 1.25; margin: 0 0 12px; font-weight: 500; }
.commitment-copy p { margin: 0 0 21px; font-size: 14px; line-height: 1.6; }
.commitment-media { min-height: 300px; display: flex; align-items: center; justify-content: center; }
.commitment-image { width: 100%; min-height: 315px; background-image: var(--commitment-image), var(--commitment-fallback); background-repeat: no-repeat; background-position: center; background-size: contain; }
.employment-cta { min-height: 432px; position: relative; display: flex; align-items: center; justify-content: center; background-color: #577c9d; background-image: var(--cta-image); background-position: center; background-size: cover; color: #fff; overflow: hidden; }
.employment-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0,.28); }
.employment-content { position: relative; z-index: 1; text-align: center; }
.employment-content h2 { margin: 0 0 5px; font-size: 32px; font-weight: 400; }
.employment-content p { margin: 0 0 28px; font-size: 16px; }
.cta-button { display: inline-block; padding: 12px 19px; background: var(--mp-aqua); color: #fff !important; border-radius: 3px; font-size: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.cta-button:hover { filter: brightness(.94); }
.fraud-warning { background: var(--mp-warning); color: #fff; text-align: center; padding: 41px 0 42px; }
.fraud-warning h2 { margin: 0 0 11px; font-size: 26px; font-weight: 400; }
.fraud-warning p { max-width: 1210px; margin: 0 auto; font-size: 13px; line-height: 1.45; }
.front-page-extra-content { padding: 50px 0; }

/* Footer */
.site-footer { background: var(--mp-footer); color: #c8c8c8; padding: 54px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 55px; padding-bottom: 52px; }
.footer-col h2, .footer-widget-title { margin: 0 0 28px; color: #fff; font-size: 16px; font-weight: 600; }
.footer-col p, .footer-col li, .footer-col a { color: #aaa; font-size: 12px; line-height: 1.75; }
.footer-col a:hover { color: #fff; }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-bottom { min-height: 55px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); color: #666; font-size: 11px; }
.back-to-top { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #555; background: #181818; }

/* Page Hero */
.page-hero {
    position: relative;
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background-color: #ededed;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
}

.page-hero-inner {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: flex-end;
    align-items: center;

    height: 100%;
}

.page-hero-title {
    margin: 0;

    color: #777;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 300;
    text-transform: uppercase;
    text-align: right;

    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

@media (max-width: 820px) {

    .page-hero {
        height: 220px;
    }

    .page-hero-title {
        font-size: 32px;
    }
}

@media (max-width: 620px) {

    .page-hero {
        height: 180px;
        background-position: center center;
    }

    .page-hero-inner {
        justify-content: center;
    }

    .page-hero-title {
        font-size: 25px;
        text-align: center;
    }
}

/* Generic content */
#main-content article h1,
#main-content article h2,
#main-content article h3,
#main-content article h4 {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";    
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}

#main-content article h1 { 
    color: #3a84b6; 
    font-size: 2.5rem;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}
#main-content article h2{
    font-size: 1.75rem;
}
#main-content article hr{
    border: 0;
    height: 14px;
    background-color: #3a84b6;
    max-width:150px;
    margin-bottom: 30px;
    margin-top: 20px;
}

#main-content .btn-informe {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 0 17px;

    background-color: #f23d0d;
    color: #ffffff;

    border: none;
    border-radius: 6px;

    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;

    cursor: pointer;
    transition:
        background-color 0.25s ease,
        transform 0.15s ease;
}

#main-content .btn-informe:hover,
#main-content .btn-informe:focus {
    background-color: #354bd8;
    color: #ffffff;
    text-decoration: none;
}

#main-content .btn-informe:active {
    transform: translateY(1px);
}


.elementor h1,
.elementor h1.elementor-heading-title { color: #3a84b6; }

.content-shell { padding: 55px 0 70px; min-height: 55vh; background: #ffffff; }
.entry-card { 
    background: #fff; 
    padding: 38px; 
    margin-bottom: 25px; 
    /* box-shadow: 0 4px 24px rgba(0,0,0,.045);  */
}
.entry-title { margin-top: 0; font-size: 34px; line-height: 1.25; }
.entry-title a { color: #252525; }
.entry-meta { color: #888; font-size: 13px; margin-bottom: 20px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content img { height: auto; }
.entry-content .joomla-section { background-size: cover; background-position: center; padding: 70px 30px; }
.archive-entry { display: grid; grid-template-columns: minmax(220px, 34%) 1fr; gap: 28px; }
.archive-thumb img { width: 100%; height: 220px; object-fit: cover; }
.navigation.pagination { margin: 30px 0; }
.nav-links { display: flex; gap: 7px; }
.page-numbers { background: #fff; padding: 8px 13px; }
.page-numbers.current { background: var(--mp-accent); color: #fff; }
.error-404 { text-align: center; }
.error-404 > h1 { margin: 0; color: var(--mp-accent); font-size: 110px; line-height: 1; }

@media (max-width: 1180px) {
    .desktop-nav { display: none; }
    .site-branding { min-width: 140px; }
    .header-search { margin-left: auto; }
}

@media (max-width: 820px) {
    .container { width: min(calc(100% - 30px), var(--mp-container)); }
    .topbar-contact span:nth-child(2) { display: none; }
    .home-hero { height: 430px; }
    .home-hero-slide { background-image: var(--hero-mobile), var(--hero-fallback); }
    .quick-links-grid { grid-template-columns: 1fr; gap: 15px; }
    .quick-card { min-height: 125px; }
    .commitment-grid { grid-template-columns: 1fr; }
    .commitment-media { min-height: 0; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .archive-entry { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .topbar { display: none; }
    .main-header, .header-inner { min-height: 60px; }
    .header-search { display: none; }
    .signin-link span { display: none; }
    .site-branding { min-width: 0; margin-right: auto; }
    .reference-logo img { width: 118px; }
    .home-hero { height: 360px; }
    .home-hero-slide { background-position: center top; }
    .home-hero-arrow { width: 36px; height: 48px; font-size: 34px; line-height: 42px; }
    .home-hero-prev { left: 10px; }
    .home-hero-next { right: 10px; }
    .commitment-section { padding-top: 20px; }
    .employment-cta { min-height: 360px; }
    .employment-content h2 { font-size: 27px; }
    .fraud-warning h2 { font-size: 21px; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-col h2 { margin-bottom: 12px; }
    .entry-card { padding: 25px 20px; }
    .entry-title { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-slide { transition: none; }
}
