/* Shared landing header and footer styles. This file is loaded by layouts.app,
   so these rules apply to the landing and services layouts only. */
:root { --hh: 84px; }

body > header.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #000000;
    border-bottom: 1px solid #ffffff22;
}
body > header.header .bar {
    width: min(var(--max, 1220px), calc(100% - 48px));
    height: var(--hh);
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
body > header.header .logo {
    display: block;
    flex: 0 0 195px;
    width: 195px;
    height: 80px;
    overflow: hidden;
    position: relative;
}
body > header.header .logo img {
    position: absolute;
    width: 190px;
    max-width: none;
}
body > header.header .nav { display: flex; align-items: center; gap: 27px; }
body > header.header .nav > a,
body > header.header .drop button {
    background: none;
    border: 0;
    color: #ccc;
    font: 600 14px "DM Sans", sans-serif;
    cursor: pointer;
    text-decoration: none;
}
body > header.header .nav > a:hover,
body > header.header .drop button:hover { color: #fff; }
body > header.header .contact {
    background: #ffffff2b !important;
    color: #ffffff !important;
    padding: 9px 15px;
}
body > header.header .drop { position: relative; }
body > header.header .mega {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    visibility: hidden;
    width: 650px;
    background: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 14px;
    box-shadow: 0 20px 50px #000a;
    transition: .2s;
}
body > header.header .drop:hover .mega,
body > header.header .drop:focus-within .mega {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%);
}
body > header.header .mega a { padding: 11px; text-decoration: none; color: inherit; }
body > header.header .mega a:hover { background: #eff6ff; }
body > header.header .mega strong { display: block; font: 700 13px Manrope, sans-serif; }
body > header.header .mega span { font-size: 12px; color: var(--muted, #697584); }
body > header.header .hamburger,
body > header.header .mobile { display: none; }

body > footer.footer {
    padding: 0;
    background: #1b2d30;
    color: #9eabb8;
    font-size: 14px;
}
body > footer.footer .foot {
    width: min(var(--max, 1220px), calc(100% - 48px)) !important;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 25px 0;
    border-bottom: 1px solid #ffffff1c;
}
body > footer.footer .footer-logo {
    display: block;
    width: 180px;
    height: auto;
    margin: 0 0 15px;
}
body > footer.footer strong { color: #fff; }
body > footer.footer h4 {
    margin: 0 0 14px;
    color: #fff;
    font: 700 12px Manrope, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}
body > footer.footer ul { list-style: none; padding: 0; margin: 0; }
body > footer.footer li { margin-bottom: 9px; }
body > footer.footer a { color: inherit; text-decoration: none; }
body > footer.footer a:hover { color: var(--orange, #f57935); }
body > footer.footer .foot p { max-width: 330px; margin: 12px 0 0; }
body > footer.footer .foot-bottom {
    width: min(var(--max, 1220px), calc(100% - 48px)) !important;
    margin: 0 auto !important;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border: 0;
    font-size: 13px;
}

@media (max-width: 800px) {
    :root { --hh: 72px; }
    body > header.header .bar { width: calc(100% - 36px); height: 72px; }
    body > header.header .logo { flex-basis: 150px; width: 150px; height: 58px; }
    body > header.header .logo img { width: 150px; }
    body > header.header .nav { display: none; }
    body > header.header .hamburger {
        display: block;
        background: none;
        color: #fff;
        border: 1px solid #fff6;
        padding: 8px 14px;
        border-radius: 99px;
        font: 600 14px "DM Sans", sans-serif;
    }
    body > header.header .mobile.show { display: block; padding: 8px 21px 20px; background: #111; }
    body > header.header .mobile a {
        display: block;
        color: #eee;
        padding: 11px 0;
        border-bottom: 1px solid #fff2;
        text-decoration: none;
    }
    body > header.header .mega { display: none; }
    body > footer.footer .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body > footer.footer .foot-bottom { flex-direction: column; }
}
@media (max-width: 520px) {
    body > footer.footer .foot { grid-template-columns: 1fr; gap: 26px; }
}
.video-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Keep the shared layout identical on pages whose own styles also use .x/.foot. */
body > header.header .bar {
    width: min(var(--max), calc(100% - 48px));
    height: 84px;
    margin: 0 auto;
    padding: 0;
}
body > header.header .logo { flex: 0 0 195px; width: 195px; height: 80px; }
body > header.header .logo img { width: 190px; max-width: none; }
body > header.header .nav { gap: 27px; }
body > footer.footer { padding: 0; background: #000000;}
body > footer.footer .foot {
	
    width: min(var(--max), calc(100% - 48px)) !important;
    margin: 0 auto;
    padding: 25px 0;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}
body > footer.footer .foot-bottom {
    width: min(var(--max), calc(100% - 48px)) !important;
    margin: 0 auto !important;
    padding: 20px 0;
}

@media (max-width: 800px) {
    body > header.header .bar { width: calc(100% - 36px); height: 72px; }
    body > header.header .logo { flex-basis: 150px; width: 150px; height: 58px; }
    body > header.header .logo img { width: 150px; }
    body > footer.footer .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    body > footer.footer .foot { grid-template-columns: 1fr; gap: 26px; }
}
