/* =====================================================================
 *  GOLWEL SECURITY SERVICES  -  Layout Stylesheet
 *  Header, navigation, footer, hero, floating elements
 * =================================================================== */

/* ----------  TOP BAR  ---------------------------------------------- */
.topbar {
    background: linear-gradient(90deg, var(--green-900) 0%, var(--green-800) 55%, var(--green) 100%);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.84rem;
    border-bottom: 1px solid rgba(236, 164, 52, 0.18);
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 42px;
}
.topbar a {
    color: rgba(255, 255, 255, 0.82);
    transition: color .2s ease;
}
.topbar a:hover { color: var(--gold); }
.topbar-info { display: flex; gap: 26px; align-items: center; }
.topbar-info span { display: flex; align-items: center; gap: 7px; }
.topbar-info i { color: var(--gold); }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a {
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.topbar-social a:hover {
    background: rgba(236, 164, 52, 0.18);
    color: var(--gold);
    transform: translateY(-1px);
}

/* ----------  HEADER  ----------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s ease, background .3s ease, border-color .3s ease;
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 6px 24px rgba(0, 42, 0, 0.10);
    border-bottom-color: transparent;
}
/* gold accent line under the header */
.site-header::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-300) 45%, transparent 100%);
    opacity: 0;
    transition: opacity .3s ease;
}
.site-header.scrolled::after { opacity: 1; }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    transition: height .3s ease;
}
.site-header.scrolled .header-inner { height: calc(var(--header-h) - 12px); }

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform .25s ease;
}
.brand:hover { transform: translateY(-1px); }
.brand img {
    height: 52px;
    width: auto;
    transition: height .3s ease;
}
.site-header.scrolled .brand img { height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.18rem;
    color: var(--green);
}
.brand-tag {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-700);
    font-weight: 700;
}

/* ----------  PRIMARY NAV  ------------------------------------------ */
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > li > a {
    position: relative;
    display: block;
    padding: 12px 15px;
    font-weight: 600;
    font-size: 0.93rem;
    color: var(--ink);
    border-radius: var(--radius-sm);
    transition: color .2s ease, background .2s ease;
}
/* animated underline */
.main-nav > li > a::after {
    content: "";
    position: absolute;
    left: 15px; right: 15px; bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .25s ease;
}
.main-nav > li > a:hover { color: var(--green); }
.main-nav > li > a:hover::after,
.main-nav > li > a.active::after { transform: scaleX(1); }
.main-nav > li > a.active {
    color: var(--green);
    background: var(--green-050);
}

/* dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 232px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
/* hover bridge so the menu doesn't close in the gap */
.dropdown::before {
    content: "";
    position: absolute;
    top: -8px; left: 0; right: 0;
    height: 8px;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--slate);
    font-size: 0.9rem;
    font-weight: 600;
    transition: background .18s ease, color .18s ease, padding-left .18s ease;
}
.dropdown a:hover {
    background: var(--green-050);
    color: var(--green);
    padding-left: 18px;
}

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-700) 100%);
    color: var(--green-900);
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 14px rgba(236, 164, 52, 0.35);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.header-cta .btn-gold:hover {
    color: var(--green-900);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(236, 164, 52, 0.45);
    filter: brightness(1.04);
}
.header-cta .btn-gold:active { transform: translateY(0); }

/* mobile-only CTA inside the menu (hidden on desktop) */
.nav-cta-mobile { display: none; }

/* mobile toggle */
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    width: 44px; height: 44px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    height: 2.5px;
    width: 24px;
    background: var(--green);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ----------  HERO CAROUSEL  ---------------------------------------- */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h) - 42px);
    display: grid;                 /* stack every slide in one cell */
    overflow: hidden;
    background: var(--green-900);
    isolation: isolate;
}

/* each slide occupies the same grid cell and cross-fades */
.hero-slide {
    grid-area: 1 / 1;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: inherit;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s ease;
    z-index: 1;
}
.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-media,
.hero-media video,
.hero-media iframe,
.hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-media iframe { pointer-events: none; }
/* slow Ken Burns zoom on the active image slide */
.hero-media img { transform: scale(1); }
.hero-slide.is-active .hero-media img {
    animation: heroKenBurns 9s ease-out forwards;
}
@keyframes heroKenBurns {
    from { transform: scale(1.08); }
    to   { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg,
            rgba(0, 42, 0, 0.82) 0%,
            rgba(0, 20, 0, 0.55) 45%,
            rgba(0, 0, 0, 0.15) 100%),
        linear-gradient(to top,
            rgba(0, 0, 0, 0.55) 0%,
            transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 680px;
    padding: 60px 0;
}
.hero-content .eyebrow { color: var(--gold-300); }
.hero-content .eyebrow::before { background: var(--gold-300); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em {
    font-style: italic;
    color: var(--gold);
}
.hero-sub {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 32px;
    max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* staggered caption entrance on the active slide */
.hero-slide.is-active .hero-content > * {
    animation: heroCaptionUp .7s cubic-bezier(.22,.61,.36,1) both;
}
.hero-slide.is-active .hero-content > *:nth-child(1) { animation-delay: .15s; }
.hero-slide.is-active .hero-content > *:nth-child(2) { animation-delay: .28s; }
.hero-slide.is-active .hero-content > *:nth-child(3) { animation-delay: .40s; }
.hero-slide.is-active .hero-content > *:nth-child(4) { animation-delay: .52s; }
.hero-slide.is-active .hero-content > *:nth-child(5) { animation-delay: .64s; }
@keyframes heroCaptionUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-trust {
    display: flex;
    gap: 32px;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-trust .num {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold);
    font-weight: 600;
}
.hero-trust .lbl {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* hero slider dots */
.hero-dots {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}
.hero-dots button {
    width: 34px; height: 5px;
    border: 0;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.30);
    cursor: pointer;
    transition: background .25s ease, width .25s ease;
}
.hero-dots button:hover { background: rgba(255, 255, 255, 0.55); }
.hero-dots button.active { background: var(--gold); width: 46px; }

/* prev / next arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 52px; height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.28);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 1.35rem;
    cursor: pointer;
    opacity: 0;
    transition: background .25s ease, border-color .25s ease,
                opacity .3s ease, transform .25s ease;
}
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--green-900);
}
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }
.hero-arrow.prev:hover { transform: translateY(-50%) translateX(-3px); }
.hero-arrow.next:hover { transform: translateY(-50%) translateX(3px); }

/* autoplay progress bar */
.hero-progress {
    position: absolute;
    left: 0; bottom: 0;
    height: 3px;
    width: 100%;
    z-index: 5;
    background: rgba(255, 255, 255, 0.12);
}
.hero-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--gold-300), var(--gold));
}
.hero-progress span.run {
    animation: heroProgress var(--hero-delay, 6500ms) linear forwards;
}
@keyframes heroProgress {
    from { width: 0; }
    to   { width: 100%; }
}

/* ----------  PAGE BANNER (inner pages)  ---------------------------- */
.page-banner {
    position: relative;
    background:
        radial-gradient(680px 340px at 88% -20%, rgba(236,164,52,0.20), transparent 60%),
        linear-gradient(120deg, var(--green-900) 0%, var(--green) 55%, var(--green-600) 130%);
    color: #fff;
    padding: 92px 0 84px;
    overflow: hidden;
}
/* faint diagonal texture */
.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        135deg,
        rgba(255,255,255,0.04) 0,
        rgba(255,255,255,0.04) 1px,
        transparent 1px,
        transparent 22px);
    pointer-events: none;
}
.page-banner::after {
    content: "";
    position: absolute;
    right: -80px; bottom: -120px;
    width: 340px; height: 340px;
    background: radial-gradient(circle, rgba(236,164,52,0.18), transparent 70%);
    pointer-events: none;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 {
    color: #fff;
    position: relative;
    animation: fadeUp .6s ease both;
}
/* gold accent bar under the title */
.page-banner h1::after {
    content: "";
    display: block;
    width: 68px; height: 3px;
    margin-top: 18px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-300));
}
.page-banner .lead { animation: fadeUp .6s ease both; animation-delay: .1s; }

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
}
.breadcrumb-nav a { color: var(--gold-300); transition: color .2s ease; }
.breadcrumb-nav a:hover { color: var(--gold); }
.breadcrumb-nav span { color: rgba(255, 255, 255, 0.4); }

/* ----------  CLIENTS MARQUEE  -------------------------------------- */
.marquee {
    overflow: hidden;
    padding: 18px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent,
        #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent,
        #000 8%, #000 92%, transparent);
}
.marquee-track {
    display: flex;
    gap: 56px;
    width: max-content;
    animation: scroll-x 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-x {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    min-width: 150px;
}
.marquee-item img {
    max-height: 56px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter .25s ease, opacity .25s ease;
}
.marquee-item:hover img { filter: grayscale(0); opacity: 1; }
.marquee-item .logo-fallback {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--green-300);
    font-size: 1.05rem;
    white-space: nowrap;
}

/* ----------  FOOTER  ----------------------------------------------- */
.site-footer {
    position: relative;
    background:
        radial-gradient(900px 420px at 12% 0%, rgba(236,164,52,0.08), transparent 55%),
        radial-gradient(700px 380px at 90% 20%, rgba(10,90,10,0.35), transparent 55%),
        linear-gradient(180deg, var(--green-900) 0%, #001d00 100%);
    color: rgba(255, 255, 255, 0.72);
    padding-top: 76px;
    overflow: hidden;
}
/* gold accent line across the very top */
.site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-300) 40%, transparent 90%);
}
.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 44px;
    padding-bottom: 52px;
}

/* brand block */
.footer-brand .brand { align-items: flex-start; gap: 12px; }
.footer-brand .brand-mark {
    width: 44px; height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-700) 100%);
    color: var(--green-900);
    font-size: 1.35rem;
    box-shadow: 0 6px 18px rgba(236,164,52,0.30);
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: var(--gold-300); }
.footer-about { font-size: 0.92rem; margin: 18px 0; line-height: 1.7; }

/* column headings with gold underline */
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 22px; }
.footer-col h4 {
    position: relative;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.08rem;
    margin-bottom: 22px;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 34px; height: 2px;
    border-radius: 2px;
    background: var(--gold);
}

/* quick links with hover chevron */
.footer-links li { margin-bottom: 11px; }
.footer-links a {
    position: relative;
    display: inline-block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    padding-left: 0;
    transition: color .2s ease, padding-left .2s ease;
}
.footer-links a::before {
    content: "\F285";              /* bi-chevron-right */
    font-family: "bootstrap-icons";
    position: absolute;
    left: -14px; top: 0;
    font-size: 0.72rem;
    color: var(--gold);
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
}
.footer-links a:hover { color: var(--gold); padding-left: 14px; }
.footer-links a:hover::before { opacity: 1; transform: translateX(4px); }

/* contact rows with gold icon chips */
.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.92rem;
    align-items: flex-start;
}
.footer-contact li i {
    width: 30px; height: 30px;
    flex-shrink: 0;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(236, 164, 52, 0.14);
    color: var(--gold);
    margin-top: 1px;
    font-size: 0.9rem;
    transition: background .2s ease, color .2s ease;
}
.footer-contact li:hover i { background: var(--gold); color: var(--green-900); }
.footer-contact a { color: rgba(255,255,255,0.8); }
.footer-contact a:hover { color: var(--gold); }

/* hotline callout */
.footer-hotline {
    background: linear-gradient(135deg, rgba(236,164,52,0.16), rgba(236,164,52,0.06));
    border: 1px solid rgba(236, 164, 52, 0.32);
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-top: 20px;
    transition: border-color .25s ease, transform .25s ease;
}
.footer-hotline:hover { border-color: var(--gold); transform: translateY(-2px); }
.footer-hotline .lbl {
    display: flex; align-items: center; gap: 7px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-300);
}
.footer-hotline .num {
    display: inline-block;
    margin-top: 4px;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: #fff;
    font-weight: 600;
}
.footer-hotline .num:hover { color: var(--gold); }

/* newsletter subscribe */
.footer-subscribe .fs-row { display: flex; gap: 8px; margin-top: 10px; }
.footer-input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: var(--font-body);
    font-size: 16px;                 /* 16px prevents iOS zoom-on-focus */
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
/* keep the send button compact so the input stays wide (overrides mobile .btn width:100%) */
.footer-subscribe .fs-row .btn {
    width: auto;
    flex: 0 0 auto;
    min-width: 52px;
    padding-left: 16px;
    padding-right: 16px;
    align-self: stretch;
}
.footer-input::placeholder { color: rgba(255, 255, 255, 0.5); }
.footer-input:focus {
    outline: 0;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.10);
    box-shadow: 0 0 0 3px rgba(236, 164, 52, 0.20);
}

/* social icons */
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--green-900);
    transform: translateY(-3px);
}

/* bottom bar */
.footer-bottom {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.84rem;
    color: rgba(255,255,255,0.6);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.75); transition: color .2s ease; }
.footer-bottom a:hover { color: var(--gold); }

/* ----------  FLOATING WHATSAPP  ------------------------------------ */
.wa-float {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 300;
    display: flex;
    align-items: center;
    gap: 0;
}
.wa-float a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    padding: 14px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: transform .2s ease;
}
.wa-float a:hover { transform: scale(1.05); color: #fff; }
.wa-float i { font-size: 1.4rem; }

/* ----------  RESPONSIVE  ------------------------------------------- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
    .topbar-info span.hide-mobile { display: none; }
    .nav-toggle { display: flex; }
    .header-cta .btn { display: none; }
    .main-nav {
        position: fixed;
        top: var(--header-h); left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 2px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        transform: translateY(-120%);
        /* fully hide when closed so no white sliver paints over the top bar */
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .main-nav.open {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 0 0 0 16px;
        display: none;
    }
    .has-dropdown.open .dropdown { display: block; }

    /* larger, clearer mobile menu items */
    .main-nav > li { border-bottom: 1px solid var(--line); }
    .main-nav > li:last-child { border-bottom: 0; }
    .main-nav > li > a {
        padding: 14px 10px;
        font-size: 1rem;
        border-radius: 0;
    }
    .main-nav > li > a::after { display: none; }   /* drop the underline in vertical menu */
    .main-nav > li > a.active { background: var(--green-050); }
    .dropdown a { padding: 12px 14px; font-size: 0.95rem; }

    /* show the Request-a-Quote CTA inside the menu */
    .nav-cta-mobile { display: block; border-bottom: 0; padding-top: 14px; }
    .nav-cta-mobile .btn { display: flex; }
}
@media (max-width: 900px) {
    .hero-arrow { display: none; }
}
@media (max-width: 640px) {
    /* ---- topbar: stack into two centered lines so nothing overflows ---- */
    .topbar { font-size: 0.78rem; }
    .topbar .container {
        flex-direction: column;
        height: auto;
        gap: 6px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .topbar-info { gap: 16px; justify-content: center; flex-wrap: wrap; }
    .topbar-info .op-hours { display: none; }   /* trim to keep it tidy */
    .topbar-social { gap: 4px; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .hero-trust { gap: 20px; flex-wrap: wrap; justify-content: center; }
    .hero-content { padding: 48px 0; }
    .wa-float a span { display: none; }
    .wa-float a { padding: 14px; }

    /* Hero content centered on mobile */
    .hero-content {
        text-align: center;
    }
    .hero-sub {
        max-width: 100%;
    }

    /* Hero buttons centered and natural width on mobile */
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-actions .btn {
        width: auto;
        align-self: center;
    }

    /* Neutral dark overlay on mobile — no green tint */
    .hero-overlay {
        background: linear-gradient(
            105deg,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.40) 50%,
            rgba(0, 0, 0, 0.15) 100%);
    }
}

/* End of layout.css */