
/*
 Theme Name: Hello Elementor Child
 Template: hello-elementor
 Version: 1.0.0
*/

/* Custom Header */
.top-strip,
.site-nav {
    display: none !important;
}

.header-menu-toggle {
    display: none;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.custom-header {
    width: 100%;
    background: linear-gradient(90deg, #fff9d9 0%, #fff3d0 52%, #f2d0c5 100%);
    padding: 12px 28px;
    border-bottom: 3px solid #f4b942;
    box-shadow: 0 3px 12px rgba(7, 31, 40, 0.24);
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 32px;
}

.header-logo img {
    height: 172px;
    width: auto;
    display: block;
    background: transparent;
    border: 0;
    mix-blend-mode: normal;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: #123a49;
    text-decoration: none;
}

.header-logo {
    justify-self: start;
}

.header-nav {
    min-width: 0;
    justify-self: center;
}

.header-certification {
    justify-self: end;
    display: block;
    line-height: 0;
}

.header-certification img {
    display: block;
    width: auto;
    height: 108px;
    max-width: 190px;
    object-fit: contain;
    background: transparent;
    mix-blend-mode: multiply;
}

.header-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px;
}

.header-menu li a {
    display: block;
    padding: 9px 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    color: #123a49;
    border: 1px solid transparent;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.header-menu li a:hover,
.header-menu li a:focus-visible {
    color: #123a49;
    background: #f4b942;
    border-color: #f4b942;
}

.header-menu-contact a {
    color: #123a49 !important;
    background: #f4b942;
    border-color: #f4b942 !important;
}

@media (max-width: 900px) {
    .custom-header {
        padding: 14px 18px;
    }

    .header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        grid-template-areas:
            "logo certification toggle"
            "nav nav nav";
        gap: 8px 14px;
    }

    .header-logo {
        grid-area: logo;
    }

    .header-logo img {
        height: 90px;
        max-width: 260px;
    }

    .header-nav,
    .header-menu {
        width: 100%;
    }

    .header-nav {
        grid-area: nav;
        margin-left: 0;
    }

    .header-certification {
        grid-area: certification;
        margin-left: auto;
    }

    .header-menu-toggle {
        grid-area: toggle;
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        padding: 0;
        border: 1px solid #d2ded6;
        border-radius: 4px;
        background: #e5ece6;
        color: #123a49;
        font-size: 21px;
        line-height: 1;
        cursor: pointer;
    }

    .header-nav {
        display: none;
    }

    .header-inner.menu-open .header-nav {
        display: block;
    }

    .header-certification img {
        height: 56px;
        max-width: 150px;
    }

    .header-menu {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .custom-header {
        padding: 6px 14px;
        background: linear-gradient(105deg, #fff9d9 0%, #fff3d0 58%, #f2d0c5 100%);
        border-bottom-width: 2px;
        box-shadow: 0 2px 8px rgba(7, 31, 40, 0.12);
    }

    .header-inner {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 92px;
        gap: 0;
    }

    .header-logo {
        display: block;
        min-width: 0;
        max-width: calc(100% - 58px);
        justify-self: auto;
    }

    .header-logo img {
        height: 86px;
        max-width: 230px;
        mix-blend-mode: multiply;
    }

    .header-nav {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        right: 0;
        z-index: 5;
        overflow: visible;
    }

    .header-menu-toggle {
        position: absolute;
        top: 50%;
        right: 0;
        z-index: 6;
        width: 40px;
        height: 40px;
        transform: translateY(-50%);
        border-color: #123a49;
        background: #123a49;
        color: #fff;
    }

    .header-certification {
        display: none;
    }

    .header-certification img {
        height: 40px;
        max-width: 92px;
    }

    .header-menu {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
        padding: 2px 0 0;
    }

    .header-menu li a {
        min-height: 36px;
        padding: 9px 8px;
        font-size: 12px;
        text-align: center;
        color: #123a49;
        background: #e5ece6;
        border-color: #d2ded6;
        border-radius: 4px;
    }

    .header-menu-contact a {
        background: #f4b942;
        border-color: #f4b942;
    }
}
/* Custom Footer */
.custom-footer {
    background: #123a49;
    color: #ffffff;
    padding: 40px 0 32px;
    border-top: 3px solid #f4b942;
    box-shadow: 0 -3px 12px rgba(7, 31, 40, 0.24);
    margin-top: 60px;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    gap: 26px;
    text-align: center;
}

.footer-brand {
    display: grid;
    gap: 6px;
}

.footer-brand strong {
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
}

.footer-brand span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f4b942;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 4px;
    transition: background-color 160ms ease, color 160ms ease;
}

.footer-links a:hover {
    background: #f4b942;
    color: #123a49;
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-contact a {
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    background: #f4b942;
    color: #123a49;
}

.footer-legal {
    font-size: 12px;
    color: #d2ded6;
    margin-top: 10px;
}

/* Mobile Footer */
@media (max-width: 480px) {
    .custom-footer {
        padding: 28px 0 24px;
        border-top-width: 2px;
        box-shadow: 0 -2px 8px rgba(7, 31, 40, 0.12);
    }

    .footer-inner {
        gap: 18px;
        padding: 0 18px;
    }

    .footer-brand strong {
        font-size: 18px;
    }

    .footer-brand span {
        font-size: 10px;
    }

    .footer-links a {
        background: #e5ece6;
        color: #123a49;
        border: 1px solid #d2ded6;
    }

    .footer-contact a {
        background: #f4b942;
        color: #123a49;
    }
}

