@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;700&family=Roboto:wght@400;500;700&display=swap');

html {
    scroll-padding-top: 80px; /* Ajusta este valor según la altura real de tu header */
}

/* ESTILOS GLOBALES & RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    padding-top: 0;
}

/* ESTILOS DEL HEADER */
.main-header {
    background-color: transparent;
    width: 100%;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    transition: background-color 0.3s ease;
}

.main-header.scrolled {
    background-color: #001A51;
}

.nav-container {
    width: 95%;
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    border-bottom: 2px solid #ffffff;
}

.arrow {
    font-size: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

body.admin-bar .main-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .main-header {
        top: 46px;
    }
}

/* TRUCO HEADER PÁGINAS BLANCAS */
.solid-bg {
    background-color: #001A51 !important;
}

/* SUBMENÚ DROPDOWN */
.dropdown {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #001A51;
    list-style: none;
    padding: 10px 0;
    min-width: 220px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
    border-radius: 4px;
}

.dropdown:hover .submenu {
    display: block;
}

.submenu li {
    padding: 10px 20px;
}

.submenu li a {
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 0;
}

.submenu li a:hover {
    border-bottom: none;
    color: #a0bdec;
}

/* ESTILOS DEL FOOTER */
.site-content section {
    width: 100%;
    box-sizing: border-box;
}

.site-footer {
    background-color: #001A51;
    color: #ffffff; 
    height: 100vh; 
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    align-items: center;
    padding: 60px 20px 30px 20px;
    box-sizing: border-box;
    margin-top: 0;
    overflow: hidden;
}

.site-footer h2, 
.site-footer p, 
.site-footer a, 
.site-footer label {
    color: #ffffff !important;
}

.footer-top-form {
    max-width: 800px; 
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.footer-top-form h2 {
    font-weight: 700;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 30px;
}

.contact-form {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    padding: 40px;
    text-align: left;
    width: 100%;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: #ffffff;
    margin-bottom: 5px;
    font-size: 14px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    padding: 12px;
    color: #ffffff;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    outline: none;
}

.input-group textarea {
    height: 100px;
    resize: none;
}

.contact-form button {
    display: block;
    margin: 30px auto 0 auto;
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 10px 50px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: #ffffff;
    color: #001A51;
}

.footer-bottom-container {
    width: 95%;
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 50px;
    width: auto;
    display: block;
}

.footer-info {
    text-align: center;
    font-size: 13px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 5px;
}

.icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.fb { background-color: #1877F2; }
.ig { background-color: #E4405F; }
.in { background-color: #0A66C2; }

.habeas-data {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.footer-social p {
    font-size: 11px;
    margin: 0;
}

.success-message {
    display: none;
    text-align: center;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    background-color: transparent;
}

.success-message h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 700;
}

.success-message p {
    font-size: 16px;
}

/* RESPONSIVO GLOBAL / HEADER */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    gap: 5px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: 0.3s;
}

@media screen and (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #001A51;
        padding: 20px 0;
        gap: 20px;
        text-align: center;
        box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
    }

    .nav-links.active-menu {
        display: flex;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto;
    }
}
