﻿
root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Montserrat", sans-serif;
    --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --default-color: #222222; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #17172a; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #3251AC; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #ffffff;
    --nav-hover-color: #ffffff;
    --nav-mobile-background-color: #ffffff;
    --nav-dropdown-background-color: #ffffff;
    --nav-dropdown-color: #3251AC;
    --nav-dropdown-hover-color: #274290;
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: #f2f9f9;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
}

.accent-background {
    --background-color: #ffffff; /*#edb621*/
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --accent-color: #ffffff;
    --surface-color: #00b6a1;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}


body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    /*  overflow-x: hidden;*/
}

form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}


    a:hover {
        color: color-mix(in srgb, var(--accent-color), transparent 25%);
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    --background-color:#3251AC;
    background-color: rgba(50, 81, 172, 1);
    transition: background-color 0.3s ease-in-out;
    --heading-color: #ffffff;
    color: var(--default-color);
    transition: all 0.5s;
    z-index: 997;
    background-color: var(--background-color);
    position: sticky;
    top: 0;
}

    .header.scrolled {
        background-color: rgba(50,81,172, 0.9);
    }

    .header .topbar {
        background-color: #F5F5F5;
        height: 40px;
        padding: 0;
        font-size: 14px;
        transition: all 0.5s;
    }

        .header .topbar .contact-info i {
            font-style: normal;
            color: #3251AC;
        }

            .header .topbar .contact-info i a,
            .header .topbar .contact-info i span {
                padding-left: 5px;
                color: #3251AC;
                FONT-WEIGHT: BOLD;
            }

@media (max-width: 575px) {

    .header .topbar .contact-info i a,
    .header .topbar .contact-info i span {
        font-size: 13px;
    }
}

.header .topbar .contact-info i a {
    line-height: 0;
    transition: 0.3s;
}

    .header .topbar .contact-info i a:hover {
        color: var(--contrast-color);
        text-decoration: underline;
    }

.header .topbar .social-links a {
    color: color-mix(in srgb, #3251AC, transparent 40%);
    line-height: 0;
    transition: 0.3s;
    margin-left: 20px;
}

    .header .topbar .social-links a:hover {
        color: var(--contrast-color);
    }

.header .branding {
    min-height: 60px;
    padding: 11px 0;
}

.header .logo {
    line-height: 1;
}

    .header .logo img {
        max-height: 80px;
        margin-right: 8px;
    }

    .header .logo h1 {
        font-size: 30px;
        margin: 0;
        font-weight: 700;
        color: var(--heading-color);
    }

    .header .logo span {
        font-size: 32px;
        margin-left: 2px;
        color: var(--nav-hover-color);
    }

.scrolled .header {
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}




/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }

        .navmenu ul {
            margin: 0;
            padding: 0;
            display: flex;
            list-style: none;
            align-items: center;
        }

        .navmenu li {
            position: relative;
        }

        .navmenu > ul > li {
            white-space: nowrap;
            padding: 15px 14px;
        }

            .navmenu > ul > li:last-child {
                padding-right: 0;
            }

        .navmenu a,
        .navmenu a:focus {
            color: var(--nav-color);
            font-size: 15px;
            padding: 0 2px;
            font-family: var(--nav-font);
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: space-between;
            white-space: nowrap;
            transition: 0.3s;
            position: relative;
        }

            .navmenu a i,
            .navmenu a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
                transition: 0.3s;
            }

        .navmenu > ul > li > a:before {
            content: "";
            position: absolute;
            height: 2px;
            bottom: -6px;
            left: 0;
            background-color: var(--nav-hover-color);
            visibility: hidden;
            width: 0px;
            transition: all 0.3s ease-in-out 0s;
        }

        .navmenu a:hover:before,
        .navmenu li:hover > a:before,
        .navmenu .active:before {
            visibility: visible;
            width: 100%;
        }

        .navmenu li:hover > a,
        .navmenu .active,
        .navmenu .active:focus {
            color: var(--nav-color);
        }

        .navmenu .dropdown ul {
            margin: 0;
            padding: 10px 0;
            background: var(--nav-dropdown-background-color);
            display: block;
            position: absolute;
            visibility: hidden;
            left: 14px;
            top: 130%;
            opacity: 0;
            transition: 0.3s;
            border-radius: 4px;
            z-index: 99;
            box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
        }

            .navmenu .dropdown ul li {
                min-width: 200px;
            }

            .navmenu .dropdown ul a {
                padding: 10px 20px;
                font-size: 15px;
                text-transform: none;
                color: var(--nav-dropdown-color);
            }

                .navmenu .dropdown ul a i {
                    font-size: 12px;
                }

                .navmenu .dropdown ul a:hover,
                .navmenu .dropdown ul .active:hover,
                .navmenu .dropdown ul li:hover > a {
                    color: var(--nav-dropdown-hover-color);
                    transform: scale(1.06);
                }

        .navmenu .dropdown:hover > ul {
            opacity: 1;
            top: 100%;
            visibility: visible;
        }

        .navmenu .dropdown .dropdown ul {
            top: 0;
            left: -90%;
            visibility: hidden;
        }

        .navmenu .dropdown .dropdown:hover > ul {
            opacity: 1;
            top: 0;
            left: -100%;
            visibility: visible;
        }
}
/* Evita que Bootstrap subraye el anchor del menú  ya que lo tengo con doble subrayado*/
.navmenu a,
.navmenu a:visited,
.navmenu a:hover,
.navmenu a:focus,
.navmenu li:hover > a {
    text-decoration: none !important;
    border-bottom: none !important;
}



/* Mobile Navigation */
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

        .navmenu ul {
            display: none;
            list-style: none;
            position: absolute;
            inset: 60px 20px 20px 20px;
            padding: 10px 0;
            margin: 0;
            border-radius: 6px;
            background-color: var(--nav-mobile-background-color);
            border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
            box-shadow: none;
            overflow-y: auto;
            transition: 0.3s;
            z-index: 9998;
        }

        .navmenu a,
        .navmenu a:focus {
            color: var(--nav-dropdown-color);
            padding: 10px 20px;
            font-family: var(--nav-font);
            font-size: 17px;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: space-between;
            white-space: nowrap;
            transition: 0.3s;
        }

            .navmenu a i,
            .navmenu a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
                width: 30px;
                height: 30px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                transition: 0.3s;
                background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
            }

                .navmenu a i:hover,
                .navmenu a:focus i:hover {
                    background-color: var(--accent-color);
                    color: var(--contrast-color);
                }

            .navmenu a:hover,
            .navmenu .active,
            .navmenu .active:focus {
                color: var(--nav-dropdown-hover-color);
            }

                .navmenu .active i,
                .navmenu .active:focus i {
                    background-color: var(--accent-color);
                    color: var(--contrast-color);
                    transform: rotate(180deg);
                }

        .navmenu .dropdown ul {
            position: static;
            display: none;
            z-index: 99;
            padding: 10px 0;
            margin: 10px 20px;
            background-color: var(--nav-dropdown-background-color);
            transition: all 0.5s ease-in-out;
        }

            .navmenu .dropdown ul ul {
                background-color: rgba(33, 37, 41, 0.1);
            }

        .navmenu .dropdown > .dropdown-active {
            display: block;
            background-color: rgba(33, 37, 41, 0.03);
        }

    .mobile-nav-active {
        overflow: hidden;
    }

        .mobile-nav-active .mobile-nav-toggle {
            color: #fff;
            position: absolute;
            font-size: 32px;
            top: 15px;
            right: 15px;
            margin-right: 0;
            z-index: 9999;
        }

        .mobile-nav-active .navmenu {
            position: fixed;
            overflow: hidden;
            inset: 0;
            background: rgba(33, 37, 41, 0.8);
            transition: 0.3s;
        }

            .mobile-nav-active .navmenu > ul {
                display: block;
            }
}



/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    scroll-margin-top: 112px;
    overflow: clip;
}

@media (max-width: 1199px) {

    section,
    .section {
        scroll-margin-top: 100px;
    }
}

.custom-padding-hero {
    padding-top: 20px;
    padding-bottom: 20px;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
}

    .section-title h2 {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 20px;
        padding-bottom: 20px;
        position: relative;
        color: #3251AC;
    }

        .section-title h2:after {
            content: "";
            position: absolute;
            display: block;
            width: 50px;
            height: 3px;
            background: #3251AC;
            left: 0;
            right: 0;
            bottom: 0;
            margin: auto;
        }

    .section-title p {
        margin-bottom: 0;
    }

    .section-title img {
        margin-bottom: 50px;
    }




/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

.hero {
    width: 100%;
    position: relative;
    padding: 100px 0 60px 0;
}

    .hero .container {
        position: relative;
        z-index: 3;
    }

    .hero h2 {
        font-size: 27px;
        font-weight: 700;
        margin-bottom: 20px;
        color: #222222;
    }

        .hero h2 .accent {
            color: #222222;
        }

    .hero p {
        color: black;
        font-weight: 400;
        margin-bottom: 20px;
    }

    .hero .btn-get-started {
        color: var(--contrast-color);
        background: var(--accent-color);
        font-family: var(--heading-font);
        font-weight: 500;
        font-size: 14px;
        letter-spacing: 1px;
        display: inline-block;
        padding: 14px 40px;
        border-radius: 50px;
        transition: 0.3s;
        border: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
        background-color: color-mix(in srgb, var(--default-color), transparent 90%);
    }

        .hero .btn-get-started:hover {
            border-color: color-mix(in srgb, var(--default-color), transparent 60%);
        }

    .hero .btn-watch-video {
        font-size: 16px;
        transition: 0.5s;
        margin-left: 25px;
        font-weight: 600;
        color: var(--default-color);
    }

        .hero .btn-watch-video i {
            color: color-mix(in srgb, var(--default-color), transparent 50%);
            font-size: 32px;
            transition: 0.3s;
            line-height: 0;
            margin-right: 8px;
        }

        .hero .btn-watch-video:hover i {
            color: var(--default-color);
        }

@media (max-width: 640px) {
    .hero h2 {
        font-size: 36px;
    }

    .hero .btn-get-started,
    .hero .btn-watch-video {
        font-size: 14px;
    }
}

.hero .icon-boxes {
    /* padding-bottom: 60px;*/
    z-index: 4;
}

@media (min-width: 1200px) {
    .hero .icon-boxes:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: calc(50% + 20px);
        background-color: var(--default-color);
        border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    }
}

.hero .icon-box {
    padding: 40px 20px;
    position: relative;
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
    text-align: center;
    transform: scale(1);
}

    .hero .icon-box .title {
        font-weight: 700;
        margin-bottom: 15px;
        font-size: 24px;
    }

        .hero .icon-box .title a {
            font-weight: bold;
            color: #3251AC;
            transition: all 0.3s ease-in-out;
            font-size: large;
        }

    .hero .icon-box .icon {
        font-size: 45px;
        color: #3251AC;
        transition: all 0.3s ease-in-out;
    }


    .hero .icon-box:hover {
        background: #3251AC;
        transform: scale(1.05);
    }

        .hero .icon-box:hover .icon,
        .hero .icon-box:hover .title a {
            color: #ffffff;
        }

.hero .section-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: #3251AC;
}

    .hero .section-title h2:after {
        content: "";
        position: absolute;
        display: block;
        width: 50px;
        height: 3px;
        background: #3251AC;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
    }

.hero .icon-boxes .row {
    justify-content: center;
}

.hero .icon-box {
    max-width: 360px;
    margin: 0 auto;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .hero .icon-box:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(0,0,0,.12);
    }

.hero .section-title {
    padding-bottom: 20px;
    margin-bottom: 0;
}

    .hero .section-title h2 {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

.hero .icon-boxes .row {
    margin-top: 1.25rem !important;
}

.hero .icon-box .title a,
.hero .icon-box .title a:visited,
.hero .icon-box .title a:hover,
.hero .icon-box .title a:focus {
    text-decoration: none !important;
}

/* Botón "Convocatoria" sin subrayado en cualquier estado  se empalmaba el diseño con el bootstrap*/
.btn-get-started,
.btn-get-started:hover,
.btn-get-started:focus,
.btn-get-started:active,
.btn-get-started:visited {
    text-decoration: none !important;
    outline: none;
    box-shadow: none;
}


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about h3 {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 20px;
}

.about .fst-italic {
    color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
}

.about .content ul {
    list-style: none;
    padding: 0;
}

    .about .content ul li {
        padding: 0 0 10px 30px;
        position: relative;
    }

    .about .content ul i {
        position: absolute;
        font-size: 20px;
        left: 0;
        top: -3px;
        color: var(--accent-color);
    }

.about .content p:last-child {
    margin-bottom: 0;
}

.about .pulsating-play-btn {
    position: absolute;
    left: calc(50% - 47px);
    top: calc(50% - 47px);
}
/* Justificar solo los párrafos de contenido dentro de #about */
#about .container p {
    text-align: justify;
    text-justify: inter-word;
}

/* Pero mantener centrado el subtítulo */
#about .section-title p {
    text-align: center;
    text-justify: auto;
}


/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
    padding: 10px;
}

    .stats .stats-item i {
        font-size: 44px;
        color: var(--accent-color);
        line-height: 0;
        margin-right: 15px;
    }

    .stats .stats-item .purecounter {
        color: var(--heading-color);
        font-size: 40px;
        display: block;
        font-weight: 700;
        line-height: 40px;
    }

    .stats .stats-item p {
        color: color-mix(in srgb, var(--default-color), transparent 40%);
        padding: 15px 0 0 0;
        margin: 0;
        font-family: var(--heading-font);
        font-size: 14px;
    }

/**--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/ */
.stats .stats-item {
    padding: 10px;
}

.stats .stats-item i {
    font-size: 44px;
    color: var(--accent-color);
    line-height: 0;
    margin-right: 15px;
}

.stats .stats-item .purecounter {
    color: var(--heading-color);
    font-size: 40px;
    display: block;
    font-weight: 700;
    line-height: 40px;
}

.stats .stats-item p {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    padding: 15px 0 0 0;
    margin: 0;
    font-family: var(--heading-font);
    font-size: 14px;
}


/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
    background-color: var(--surface-color);
    padding: 40px;
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

    .services .service-item .icon {
        width: 48px;
        height: 48px;
        position: relative;
        margin-bottom: 50px;
    }

        .services .service-item .icon i {
            color: color-mix(in srgb, var(--heading-color), transparent 30%);
            font-size: 56px;
            transition: ease-in-out 0.3s;
            z-index: 2;
            position: relative;
        }

        .services .service-item .icon:before {
            position: absolute;
            content: "";
            height: 100%;
            width: 100%;
            background: color-mix(in srgb, var(--heading-color), transparent 95%);
            border-radius: 50px;
            z-index: 1;
            top: 10px;
            right: -20px;
            transition: 0.3s;
        }

    .services .service-item h3 {
        color: color-mix(in srgb, var(--heading-color), transparent 20%);
        font-weight: 700;
        margin: 0 0 20px 0;
        padding-bottom: 8px;
        font-size: 22px;
        position: relative;
        display: inline-block;
        border-bottom: 4px solid color-mix(in srgb, var(--heading-color), transparent 90%);
        transition: 0.3s;
    }

    .services .service-item p {
        line-height: 24px;
        font-size: 14px;
        margin-bottom: 0;
    }

    .services .service-item .readmore {
        margin-top: 15px;
        display: inline-block;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
    }

    .services .service-item:hover .icon i {
        color: var(--heading-color);
    }

    .services .service-item:hover .icon:before {
        background: color-mix(in srgb, var(--accent-color), transparent 50%);
    }

    .services .service-item:hover h3 {
        border-color: color-mix(in srgb, var(--accent-color), transparent 10%);
        color: var(--heading-color);
    }

    .services .service-item:hover .readmore {
        color: var(--accent-color);
    }
/*.services .service-item h3 {
        min-height: 100px;  
        display: flex;
        align-items: center;
    }*/

.titulo-alineado {
    min-height: 100px;
    display: flex;
    align-items: center;
}
/*
.services .service-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}*/


.services .service-item h3 {
    min-height: 120px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 20px;
}

.services .service-item p {
    margin-top: 0;
}




/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .content h3 {
    font-weight: 400;
    font-size: 34px;
}

.faq .content p {
    font-size: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.faq .faq-container .faq-item {
    background-color: var(--surface-color);
    position: relative;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

    .faq .faq-container .faq-item:last-child {
        margin-bottom: 0;
    }

    .faq .faq-container .faq-item h3 {
        font-weight: 600;
        font-size: 18px;
        line-height: 24px;
        margin: 0 30px 0 0;
        transition: 0.3s;
        cursor: pointer;
        display: flex;
        align-items: flex-start;
    }

        .faq .faq-container .faq-item h3 .num {
            color: var(--accent-color);
            padding-right: 5px;
        }

        .faq .faq-container .faq-item h3:hover {
            color: var(--accent-color);
        }

    .faq .faq-container .faq-item .faq-content {
        display: grid;
        grid-template-rows: 0fr;
        transition: 0.3s ease-in-out;
        visibility: hidden;
        opacity: 0;
    }

        .faq .faq-container .faq-item .faq-content p {
            margin-bottom: 0;
            overflow: hidden;
        }

    .faq .faq-container .faq-item .faq-toggle {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 16px;
        line-height: 0;
        transition: 0.3s;
        cursor: pointer;
    }

        .faq .faq-container .faq-item .faq-toggle:hover {
            color: var(--accent-color);
        }

.faq .faq-container .faq-active h3 {
    color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
    grid-template-rows: 1fr;
    visibility: visible;
    opacity: 1;
    padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
    transform: rotate(90deg);
    color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-container {
    background-color: var(--accent-color);
    height: 100%;
    padding: 20px;
}

.contact .info-item {
    width: 100%;
    margin-bottom: 20px;
    padding: 20px;
    color: var(--contrast-color);
    background-color: color-mix(in srgb, var(--contrast-color), transparent 90%);
}

    .contact .info-item:last-child {
        margin-bottom: 0;
    }

    .contact .info-item i {
        font-size: 20px;
        color: var(--contrast-color);
        background-color: color-mix(in srgb, var(--contrast-color), transparent 80%);
        width: 44px;
        height: 44px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50px;
        transition: all 0.3s ease-in-out;
        margin-right: 15px;
    }

    .contact .info-item h3 {
        color: var(--contrast-color);
        font-size: 20px;
        padding: 0;
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .contact .info-item p {
        padding: 0;
        margin-bottom: 0;
        font-size: 14px;
    }

    .contact .info-item:hover i {
        background: var(--contrast-color);
        color: var(--accent-color);
    }

.contact .php-email-form {
    background-color: var(--surface-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    padding: 30px;
}

    .contact .php-email-form input[type=text],
    .contact .php-email-form input[type=email],
    .contact .php-email-form textarea {
        font-size: 14px;
        padding: 10px 15px;
        box-shadow: none;
        border-radius: 0;
        color: var(--default-color);
        background-color: var(--surface-color);
        border-color: color-mix(in srgb, var(--default-color), transparent 80%);
    }

        .contact .php-email-form input[type=text]:focus,
        .contact .php-email-form input[type=email]:focus,
        .contact .php-email-form textarea:focus {
            border-color: var(--accent-color);
        }

        .contact .php-email-form input[type=text]::placeholder,
        .contact .php-email-form input[type=email]::placeholder,
        .contact .php-email-form textarea::placeholder {
            color: color-mix(in srgb, var(--default-color), transparent 70%);
        }

    .contact .php-email-form button[type=submit] {
        color: var(--contrast-color);
        background: var(--accent-color);
        border: 0;
        padding: 10px 30px;
        transition: 0.4s;
        border-radius: 50px;
    }

        .contact .php-email-form button[type=submit]:hover {
            background: color-mix(in srgb, var(--accent-color), transparent 20%);
        }

.contact .map-card {
    position: relative;
    height: 100%; /* ocupa todo el alto disponible */
    padding: 0 !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,.1);
}

    .contact .map-card iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }

    .contact .map-card .ratio {
        border-radius: 8px;
    }

/* 
---------------------------------------------
footer
--------------------------------------------- 
*/


.footer {
    padding: 5px 0px;
    background-color: #3251AC;
    width: 100%;
    font-size: 14px;
    text-align: center;
    padding: 20px 0;
    position: relative;
    margin-top: auto;
    color: #fff;
}

    .footer h3 {
        font-size: 36px;
        font-weight: 700;
        color: white;
        position: relative;
        padding: 0;
        margin: 0 0 15px 0;
    }

    .footer p {
        font-size: 15px;
        font-style: italic;
        color: white;
        padding: 0;
        margin: 0 0 30px 0;
    }

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

    .footer-icons i {
        font-size: 30px;
        color: white;
        transition: transform 0.3s ease, color 0.3s ease;
        cursor: pointer;
    }

        .footer-icons i:hover {
            color: #f39c12;
            transform: scale(1.3);
        }

.footer .credits {
    font-size: 13px;
    color: white;
    margin: 4px 0;
    line-height: 1.2;
    text-align: center;
}

    .footer .credits a {
        color: #fff !important;
        text-decoration: none !important;
        font-weight: 700;
    }

        .footer .credits a strong {
            color: #c1d5d5 !important;
            font-weight: 800;
        }

        .footer .credits a:hover {
            color: #ffffff !important;
            transform: scale(1.02);
        }

    .footer .credits img {
        max-height: 50px;
        vertical-align: middle;
        margin-left: 8px;
        margin-top: 5px;
    }
#contact {
    padding-bottom: 56px; /* ajusta a tu gusto (40–72px) */
}
/* Footer móvil: mostrar solo el logo y evitar traslapes */
@media (max-width: 576px) {
    .footer .container {
        padding-right: 0; /* ya no reservamos espacio a la derecha */
    }

    .footer .credits {
        display: none; /* oculta las 2 líneas de texto */
    }

    .credits-right {
        position: static; /* deja de estar absolute */
        transform: none;
        justify-content: center;
        margin-top: 6px;
    }

    .cgtic-logo {
        height: 28px; /* ajusta si lo quieres más grande */
    }
}


.credits-right {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: right;
}

.cgtic-logo {
    height: 50px;
    display: block;
}



/*AJUSTE EXTRA DEL BANNER------------------------*/
#hero {
    position: relative;
    overflow: visible;
    background-color: #3251AC;
    padding-top: calc(112px + 28px);
    padding-bottom: 40px;
    margin-bottom: 80px;
}


    #hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: #3251AC;
        box-shadow: 0 0 0 100vmax #3251AC;
        clip-path: inset(0 -100vmax);
        z-index: -1;
    }


    #hero h2,
    #hero h2 .accent,
    #hero p {
        color: #fff;
    }

    #hero .btn-get-started {
        color: #fff;
        background: rgba(255,255,255,.12);
        border-color: rgba(255,255,255,.25);
    }

        #hero .btn-get-started:hover {
            background: rgba(255,255,255,.2);
            border-color: rgba(255,255,255,.4);
        }

.hero .d-flex a + a {
    margin-left: 12px; /* puedes subir a 16px si lo prefieres */
}
.title-badge {
    height: 80px;
    width: auto;
    transform: translateY(4px);
}

@media (max-width: 992px) {
    .title-badge {
        display: none;
    }

    .hero-title .word,
    .hero-title .subtitle {
        font-size: 42px;
    }
}

#access {
    --accent-color: #3251AC;
}
/*FIN AJUSTE EXTRA DEL BANNER------------------------*/

/* CONTENEDOR */
.uaadec-upload {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 8px;
}

/* INPUT FILE */
.uaadec-upload-input {
    font-size: 12px;
    padding: 4px 6px;
    border-radius: 4px;
    border: 1px solid #cfd4da;
    max-width: 260px;
}

/* BOTÓN SUBIR */
.uaadec-btn-upload {
    background-color: #2f4ea2; /* Azul institucional */
    color: #ffffff;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 4px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;
}

    .uaadec-btn-upload:hover {
        background-color: #243d82;
        color: #ffffff;
    }

    /* ICONO */
    .uaadec-btn-upload i {
        font-size: 13px;
    }
