@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap");

:root {
    --shell-ink: #101412;
    --shell-paper: #f3f0e8;
    --shell-muted: #c8c9c1;
    --shell-accent: #e47753;
    --shell-accent-light: #f3ad83;
    --shell-line: rgba(243, 240, 232, 0.18);
}

body {
    width: 100%;
    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
    font-family: "DM Sans", sans-serif !important;
}

body :not(.bi):not([class*="bi-"]) {
    font-family: "DM Sans", sans-serif !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    font-family: "Barlow Condensed", sans-serif !important;
    font-weight: 600;
    letter-spacing: 0;
}

.header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    min-height: 78px;
    max-height: none;
    align-items: center;
    justify-content: space-between;
    padding: 12px max(5vw, 24px);
    border-bottom: 1px solid var(--shell-line);
    background: rgba(13, 17, 15, 0.88);
    backdrop-filter: blur(18px);
}

.header::before,
.header::after {
    display: none;
}

.header .logo {
    position: static;
    display: flex;
    width: 132px;
    height: auto;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    overflow: visible;
}

.header .logo img {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 50px;
    height: auto;
    margin: 0;
    object-fit: contain;
    filter: none;
}

.header #check {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.header #check:focus-visible ~ .icons {
    outline: 2px solid var(--shell-accent-light);
    outline-offset: 4px;
}

.header .icons {
    position: static;
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--shell-line);
    border-radius: 50%;
    color: var(--shell-paper);
    font-size: 1.2rem;
    cursor: pointer;
}

.header .icons:hover {
    color: var(--shell-accent-light);
    transform: none;
}

.header .icons #close-icon,
.header #check:checked ~ .icons #menu-icon {
    display: none;
}

.header #check:checked ~ .icons #close-icon {
    display: block;
}

.header .navbar {
    position: static;
    display: flex;
    width: auto;
    height: auto;
    max-height: none;
    align-items: center;
    gap: 28px;
    overflow: visible;
    background: transparent;
    backdrop-filter: none;
}

.header .navbar a {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 8px 0;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    text-shadow: none;
    text-decoration: none;
    transform: none;
    opacity: 1;
    transition: color 180ms ease;
}

.header .navbar a:hover {
    color: var(--shell-accent-light);
    text-shadow: none;
    transform: none;
}

.header .navbar a::after {
    display: none;
}

.pie-pagina {
    width: 100%;
    padding: 38px max(5vw, 24px) 20px;
    border-top: 1px solid var(--shell-line);
    background: #0b0e0c;
    color: var(--shell-paper);
    filter: none;
    box-shadow: none;
}

.pie-pagina .grupo-1 {
    display: flex;
    max-width: 1180px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin: 0 auto;
    padding: 0 0 30px;
}

.pie-pagina .grupo-1 .box-1,
.pie-pagina .grupo-1 .box-2,
.pie-pagina .grupo-1 .box-3 {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    filter: none;
}

.pie-pagina .grupo-1 .box-1 img {
    width: 132px;
    max-width: 100%;
    padding: 0;
    filter: none;
}

.pie-pagina .grupo-1 .box-2 h2,
.pie-pagina .grupo-1 .box-3 h2 {
    margin: 0 0 8px;
    color: var(--shell-paper);
    font-family: "Barlow Condensed", sans-serif !important;
    font-size: 1.45rem;
    letter-spacing: 0;
    text-shadow: none;
}

.pie-pagina .grupo-1 .box-2 p {
    max-width: 340px;
    margin: 0;
    color: var(--shell-muted);
    font-size: 0.88rem;
    text-shadow: none;
}

.pie-pagina .grupo-1 .box-3 .red-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pie-pagina .grupo-1 .box-3 a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--shell-line);
    border-radius: 50%;
    background: transparent;
    color: var(--shell-paper);
    filter: none;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.pie-pagina .grupo-1 .box-3 a:hover {
    border-color: var(--shell-accent);
    background: var(--shell-accent);
    color: #151311;
    transform: none;
}

.pie-pagina .grupo-2,
.pie-pagina .grupo-3 {
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 0 0;
    border-top: 1px solid var(--shell-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-shadow: none;
}

.pie-pagina .grupo-2 {
    align-items: flex-start;
}

.pie-pagina .grupo-2 .pdf button {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--shell-paper);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: left;
}

.pie-pagina .grupo-2 .pdf button:hover {
    background: transparent;
    color: var(--shell-accent-light);
    filter: none;
    transform: none;
}

.pie-pagina .grupo-3 .credito {
    color: #aeb2ac;
    font-size: 0.76rem;
    text-shadow: none;
}

.pie-pagina .grupo-3 .credito a {
    color: var(--shell-paper) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.site-footer {
    padding: 44px max(5vw, 24px) 22px;
    border-top: 1px solid var(--shell-line);
    background: #0b0e0c;
}

.site-footer__main,
.site-footer__bottom {
    display: flex;
    max-width: 1180px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 0 auto;
}

.site-footer__main {
    padding-bottom: 34px;
}

.site-footer__brand {
    width: 156px;
    flex: 0 0 auto;
}

.site-footer__brand img {
    display: block;
    width: 100%;
    height: auto;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--shell-line);
    border-radius: 50%;
    color: var(--shell-paper);
    font-size: 1rem;
    text-decoration: none;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-links a:hover {
    border-color: var(--shell-accent);
    background: var(--shell-accent);
    color: #151311;
}

.site-footer__bottom {
    align-items: flex-start;
    padding-top: 20px;
    border-top: 1px solid var(--shell-line);
    color: #aeb2ac;
    font-size: 0.76rem;
}

.site-footer__bottom p {
    margin: 0;
}

.privacy-link,
.credit-link {
    color: var(--shell-paper);
    text-decoration-color: rgba(243, 240, 232, 0.45);
    text-underline-offset: 3px;
}

.privacy-link:hover,
.credit-link:hover {
    color: var(--shell-accent-light);
}

@media (max-width: 600px) {
    .site-footer {
        padding: 34px 20px 20px;
    }

    .site-footer__main,
    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer__main {
        gap: 24px;
        padding-bottom: 26px;
    }

    .social-links {
        justify-content: flex-start;
    }

    .site-footer__bottom {
        gap: 12px;
        font-size: 0.72rem;
    }
}

@media (max-width: 900px) {
    .header {
        min-height: 72px;
        padding: 10px 24px;
    }

    .header .logo {
        width: 120px;
    }

    .header .icons {
        display: inline-flex;
        order: 2;
    }

    .header .navbar {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        width: 100%;
        max-height: calc(100vh - 72px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow-y: auto;
        padding: 8px 24px 18px;
        border-bottom: 1px solid var(--shell-line);
        background: rgba(12, 15, 14, 0.98);
        backdrop-filter: blur(18px);
    }

    .header #check:checked ~ .navbar {
        display: flex;
        height: auto;
    }

    .header .navbar a {
        min-height: 52px;
        border-bottom: 1px solid rgba(243, 240, 232, 0.1);
        font-size: 1rem;
    }

    .pie-pagina .grupo-1 {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 24px;
    }

    .pie-pagina .grupo-1 .box-1,
    .pie-pagina .grupo-1 .box-2,
    .pie-pagina .grupo-1 .box-3 {
        flex: 1 1 200px;
    }
}

@media (max-width: 600px) {
    .header {
        padding-right: 18px;
        padding-left: 18px;
    }

    .header .navbar {
        padding-right: 20px;
        padding-left: 20px;
    }

    .pie-pagina {
        padding: 30px 20px 18px;
    }

    .pie-pagina .grupo-1 {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .pie-pagina .grupo-1 .box-1,
    .pie-pagina .grupo-1 .box-2,
    .pie-pagina .grupo-1 .box-3 {
        width: 100%;
        flex: auto;
        align-items: flex-start;
        text-align: left;
    }

    .pie-pagina .grupo-2 .pdf button {
        line-height: 1.5;
    }

    .pie-pagina .grupo-3 .credito {
        text-align: left;
    }
}