/* =========================================================
   CALM & CLEAN
   HEADER + MOBILE NAVIGATION + FOOTER
   RESPONSIVE SYSTEM
========================================================= */


/* =========================================================
   GLOBAL SAFETY
========================================================= */

.site-header,
.site-footer {
    width: 100%;
}

.site-header *,
.site-footer * {
    box-sizing: border-box;
}

body.mobile-menu-open {
    overflow: hidden;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 9999;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.site-header-inner {
    width: min(100% - 32px, 1240px);
    min-height: 82px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}


/* LOGO */

.site-branding {
    flex: 0 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.header-nav {
    flex: 1 1 auto;
}

.header-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.header-menu > li {
    position: relative;
}

.header-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;

    min-height: 50px;
    padding: 0 10px;

    color: #0d1b2a;
    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
    white-space: nowrap;

    transition: color .2s ease;
}

.header-menu > li > a:hover {
    color: #2ecc71;
}


/* SUBMENU */

.header-menu .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;

    width: 250px;

    margin: 0;
    padding: 10px;

    list-style: none;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 12px;

    box-shadow: 0 15px 40px rgba(13, 27, 42, .12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);

    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease;
}

.header-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-menu .sub-menu li a {
    display: block;

    padding: 11px 13px;

    color: #0d1b2a;
    font-size: 14px;
    font-weight: 500;

    text-decoration: none;

    border-radius: 8px;
}

.header-menu .sub-menu li a:hover {
    background: #f0fdf4;
    color: #169c52;
}


/* =========================================================
   HEADER CTA
========================================================= */

.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.header-btn-primary,
.header-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 42px;
    padding: 0 14px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
    white-space: nowrap;

    transition: transform .2s ease, opacity .2s ease;
}

.header-btn-primary {
    background: #0d1b2a;
    color: #ffffff;
}

.header-btn-whatsapp {
    background: #2ecc71;
    color: #ffffff;
}

.header-btn-primary:hover,
.header-btn-whatsapp:hover {
    transform: translateY(-1px);
    opacity: .92;
}


/* =========================================================
   MOBILE TOGGLE
========================================================= */

.mobile-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 9px;

    border: 0;
    border-radius: 8px;

    background: #0d1b2a;

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    background: #ffffff;

    transition: transform .2s ease, opacity .2s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

.mobile-navigation {
    display: none;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    margin-top: 0;
    background: #0d1b2a;
    color: #ffffff;
}

.footer-inner {
    width: min(100% - 32px, 1240px);
    margin: 0 auto;

    padding: 70px 0 55px;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
    gap: 45px;
}

.footer-col {
    min-width: 0;
}

.footer-logo {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.footer-about {
    max-width: 420px;

    margin: 0;

    color: #cbd5e1;

    font-size: 14px;
    line-height: 1.8;
}

.footer-title {
    margin: 0 0 20px;

    color: #ffffff;

    font-size: 17px;
    font-weight: 700;
}

.footer-links,
.footer-contact {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a,
.footer-contact a {
    color: #cbd5e1;
    text-decoration: none;

    font-size: 14px;

    transition: color .2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #2ecc71;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-bottom: 14px;

    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact li > span:first-child {
    flex: 0 0 20px;
}


/* SOCIAL */

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;
    padding: 0 12px;

    background: rgba(255,255,255,.08);
    color: #ffffff;

    border-radius: 7px;

    font-size: 12px;
    text-decoration: none;
}


/* FOOTER CTA */

.footer-cta {
    margin-top: 24px;
}

.footer-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 45px;
    padding: 0 18px;

    background: #2ecc71;
    color: #ffffff;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}


/* SERVICE AREA */

.footer-service-area {
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);

    padding: 20px 0;
}

.footer-service-area .container {
    width: min(100% - 32px, 1240px);
    margin: 0 auto;
}

.footer-service-area p {
    margin: 0;

    color: #cbd5e1;

    font-size: 13px;
    line-height: 1.7;
}


/* FOOTER BOTTOM */

.footer-bottom {
    padding: 22px 0;
}

.footer-bottom-inner {
    width: min(100% - 32px, 1240px);
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;

    color: #94a3b8;

    font-size: 12px;
    line-height: 1.6;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 8px;

    flex-wrap: wrap;
}

.footer-legal a,
.footer-legal span {
    color: #94a3b8;

    font-size: 12px;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #2ecc71;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .site-header-inner {
        gap: 14px;
    }

    .site-logo {
        width: 165px;
    }

    .header-menu > li > a {
        padding: 0 7px;
        font-size: 13px;
    }

    .header-btn-primary,
    .header-btn-whatsapp {
        padding: 0 10px;
        font-size: 12px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .site-header {
        position: sticky;
        top: 0;
    }

    .site-header-inner {
        width: min(100% - 24px, 700px);
        min-height: 68px;
    }

    .site-logo {
        width: 155px;
    }


    /* HIDE DESKTOP */

    .header-nav,
    .header-cta {
        display: none;
    }


    /* SHOW MOBILE BUTTON */

    .mobile-menu-toggle {
        display: flex;
    }


    /* MOBILE PANEL */

    .mobile-navigation {
        position: fixed;

        top: 68px;
        left: 0;
        right: 0;
        bottom: 0;

        display: block;

        background: #ffffff;

        overflow-y: auto;
        -webkit-overflow-scrolling: touch;

        padding: 15px 16px 35px;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);

        transition:
            opacity .2s ease,
            visibility .2s ease,
            transform .2s ease;

        z-index: 9998;
    }

    .mobile-navigation.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }


    /* MOBILE MENU */

    .mobile-menu {
        width: 100%;

        margin: 0;
        padding: 0;

        list-style: none;
    }

    .mobile-menu > li {
        border-bottom: 1px solid #e5e7eb;
    }

    .mobile-menu > li > a {
        display: flex;
        align-items: center;
        gap: 12px;

        min-height: 52px;

        padding: 0 5px;

        color: #0d1b2a;

        font-size: 15px;
        font-weight: 600;

        text-decoration: none;
    }


    /* SERVICES */

    .mobile-services-toggle {
        width: 100%;
        min-height: 52px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 0 5px;

        border: 0;
        background: transparent;

        color: #0d1b2a;

        font-family: inherit;
        font-size: 15px;
        font-weight: 600;

        cursor: pointer;
    }

    .mobile-services-toggle > span:first-child {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .mobile-services-arrow {
        transition: transform .2s ease;
    }

    .mobile-services-toggle.active .mobile-services-arrow {
        transform: rotate(180deg);
    }


    /* SERVICE SUBMENU */

    .mobile-services-submenu {
        display: none;

        margin: 0 0 10px;
        padding: 5px 0 5px 20px;

        list-style: none;

        border-left: 2px solid #2ecc71;
    }

    .mobile-services-submenu.open {
        display: block;
    }

    .mobile-services-submenu li a {
        display: block;

        padding: 11px 10px;

        color: #475569;

        font-size: 14px;
        font-weight: 500;

        text-decoration: none;
    }

    .mobile-services-submenu li a:hover {
        color: #169c52;
    }


    /* MOBILE BUTTONS */

    .mobile-menu-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;

        padding-top: 20px;
    }

    .mobile-call-btn,
    .mobile-whatsapp-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;

        min-height: 48px;

        border-radius: 8px;

        font-size: 14px;
        font-weight: 700;

        text-decoration: none;
    }

    .mobile-call-btn {
        background: #0d1b2a;
        color: #ffffff;
    }

    .mobile-whatsapp-btn {
        background: #2ecc71;
        color: #ffffff;
    }


    /* FOOTER */

    .footer-inner {
        width: min(100% - 28px, 700px);

        grid-template-columns: 1fr;

        gap: 35px;

        padding: 50px 0 40px;
    }

    .footer-about {
        max-width: none;
    }

    .footer-service-area .container,
    .footer-bottom-inner {
        width: min(100% - 28px, 700px);
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .site-header-inner {
        width: calc(100% - 20px);
    }

    .site-logo {
        width: 140px;
    }

    .mobile-menu-toggle {
        width: 42px;
        height: 42px;
    }

    .mobile-navigation {
        top: 68px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .mobile-menu-actions {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        gap: 30px;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-about,
    .footer-links a,
    .footer-contact a,
    .footer-contact li {
        font-size: 13px;
    }

}