/* Landing — #112911 primary, #d88702 accent */

:root {
    --brand-primary: #112911;
    --brand-accent: #d88702;
    --brand-footer: #0c1e0f;
    --brand-footer-deep: #081608;
}

.landing-page {
    --brand-primary: #112911;
    --brand-accent: #d88702;
    --text-muted: #5a635c;
    --section-pad: clamp(3rem, 6vw, 5rem);
    --hero-height: clamp(280px, 38vw, 560px);
    background: #fff;
    overflow-x: hidden;
}

/* ---- Hero banner ---- */
.landing-hero {
    position: relative;
    background: #fff;
    overflow: visible;
    margin-bottom: 0;
}

.landing-hero__bg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--hero-height);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
    z-index: 0;
    pointer-events: none;
}

.landing-hero__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--hero-height);
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        98deg,
        rgba(17, 41, 17, 0.82) 0%,
        rgba(17, 41, 17, 0.5) 38%,
        rgba(17, 41, 17, 0.12) 62%,
        transparent 82%
    );
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
}

.landing-hero .container {
    position: relative;
    z-index: 2;
    min-height: var(--hero-height);
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 2.5rem;
}

.landing-hero__content {
    max-width: 560px;
    color: #fff;
}

.landing-hero__tagline {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-accent);
    margin-bottom: 0.65rem;
}

.landing-hero__headline {
    font-family: "Ubuntu", sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1.25rem;
    text-transform: none;
    text-shadow: 0 1px 8px rgba(17, 41, 17, 0.35);
}

.landing-hero__headline b,
.landing-hero__headline strong {
    color: var(--brand-accent);
}

.landing-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.landing-btn {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.7rem 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 4px;
    border: 2px solid transparent;
}

.landing-btn--primary {
    background: var(--brand-accent);
    color: #fff;
    border-color: var(--brand-accent);
}

.landing-btn--primary:hover {
    background: #c07802;
    border-color: #c07802;
    color: #fff;
}

.landing-btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.9);
}

.landing-btn--outline:hover {
    background: #fff;
    color: var(--brand-primary);
}

/* ---- Header (uses existing .header-area + logo) ---- */
body.landing-page-active .header-area {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 200;
    background: transparent;
    border-bottom: none;
}

body.landing-page-active .header-area .main-menu ul li a {
    color: var(--brand-primary);
    font-weight: 600;
}

body.landing-page-active .header-area .main-menu ul li a:hover {
    color: var(--brand-accent);
}

body.landing-page-active .header-area .header-search li a {
    color: var(--brand-primary);
    background: rgba(255, 255, 255, 0.55);
}

/* Header scrolls with the page (not sticky) */
body.landing-page-active .header-area.header-fixed {
    position: absolute;
    background: transparent;
}

/* ---- Section titles ---- */
.landing-page .section-title {
    margin-bottom: 1.75rem;
}

.landing-page .section-title h4 {
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    padding-left: 0;
    color: var(--brand-accent);
    margin-bottom: 0.45rem;
}

.landing-page .section-title h4:before {
    display: none;
}

.landing-page .section-title h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1.25;
}

.landing-page .section-title h3 span {
    color: var(--brand-accent);
}

/* ---- About ---- */
.landing-page .merox-about-area {
    margin-top: 0;
    margin-bottom: 0;
    padding: var(--section-pad) 0;
    background: #fff;
}

.landing-page .about-img-area:before {
    display: none;
}

.landing-page .about-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.landing-page ul.about-content-list li i {
    color: var(--brand-accent);
}

.landing-page .btn-type-4 {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    border-radius: 4px;
}

.landing-page .btn-type-4:hover {
    color: var(--brand-accent);
}

/* ---- Products: use theme defaults (style.css) — no slider/card overrides ---- */
.landing-products-wrap {
    background: #fff;
    padding-bottom: var(--section-pad);
}

.landing-page .landing-products-wrap .merox-blog-area:first-child {
    margin-top: 0 !important;
}

.landing-page .landing-products-wrap .merox-blog-area:last-child {
    margin-bottom: 0 !important;
}

.landing-page .merox-blog-area h6 a {
    color: var(--brand-accent);
    font-weight: 600;
}

.landing-page .single-blog-wraper:hover .single-blog-content .post-title {
    color: var(--brand-accent);
}

/* ---- Contact CTA ---- */
.landing-cta {
    background: var(--brand-primary);
    padding: var(--section-pad) 0;
    text-align: center;
}

.landing-cta .section-title h3,
.landing-cta .section-title h4 {
    color: #fff;
}

.landing-cta .section-title h4 {
    color: var(--brand-accent);
}

.landing-cta p {
    color: rgba(255, 255, 255, 0.88);
    max-width: 520px;
    margin: 0 auto 1.5rem;
    font-size: 1rem;
}

/* ---- Footer: homogenous with brand green (distinct from CTA, same family) ---- */
footer .merox-footer-area {
    background: var(--brand-footer);
    padding-top: 55px !important;
    padding-bottom: 35px !important;
}

footer .merox-copyright-area {
    background-color: var(--brand-footer-deep);
    border-top: 1px solid rgba(216, 135, 2, 0.25);
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

footer .footer-single-wedget {
    margin-bottom: 20px;
}

footer .footer-single-wedget h3 {
    font-size: 20px;
    margin-bottom: 26px;
    color: #fff;
}

footer .footer-single-wedget h3:before {
    width: 50px;
    height: 3px;
    bottom: -10px;
    background: var(--brand-accent);
}

footer .custom-html-widget p {
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: #fff !important;
    margin-bottom: 0;
}

footer .footer-logo img,
footer .custom-html-widget .footer-logo img {
    max-height: 52px;
    width: auto;
}

footer .custom-html-widget .footer-logo {
    margin-bottom: 22px;
}

footer .custom-html-widget .footer-social {
    padding-top: 18px;
    margin-top: 18px;
}

footer .footer-single-wedget .widget_nav_menu .menu li a {
    font-size: 14px;
    padding-left: 18px;
}

footer .footer-single-wedget .widget_recent_entries ul li a {
    font-size: 14px;
}

footer .footer-single-wedget .widget_recent_entries ul li {
    padding-bottom: 10px;
    margin-bottom: 10px;
}

footer .footer-single-wedget .custom-html-widget .contact-details li {
    font-size: 14px;
    margin-bottom: 16px;
}

footer .footer-single-wedget .custom-html-widget .contact-details li i {
    width: 26px;
    height: 26px;
    font-size: 12px;
    line-height: 26px;
    margin: 4px 10px 4px 0;
}

footer .footer-single-wedget .widget_nav_menu .menu li a:hover,
footer .footer-single-wedget .widget_recent_entries ul li a:hover,
footer .custom-html-widget .footer-social li a:hover {
    color: var(--brand-accent);
}

footer .footer-single-wedget .custom-html-widget .contact-details li i {
    color: var(--brand-accent);
}

footer .footer-single-wedget .custom-html-widget .contact-details li:hover i {
    background: var(--brand-accent);
}

footer .footer-copyright p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

footer .footer-copyright p a {
    color: var(--brand-accent);
}

/* ---- Tablet ---- */
@media (max-width: 991px) {
    .landing-page {
        --hero-height: clamp(240px, 44vw, 400px);
        --section-pad: 2.5rem;
    }

    .landing-hero__bg,
    .landing-hero__overlay {
        top: 0;
        height: 100%;
        background-size: cover;
        background-position: right bottom;
    }

    .landing-hero__overlay {
        background: linear-gradient(
            180deg,
            rgba(17, 41, 17, 0.88) 0%,
            rgba(17, 41, 17, 0.55) 45%,
            rgba(17, 41, 17, 0.1) 75%,
            transparent 100%
        );
    }

    .landing-hero .container {
        padding-top: 78px;
        align-items: flex-end;
        width: 100%;
        max-width: 100%;
    }

    .landing-hero__content {
        max-width: 100%;
        width: 100%;
    }

    body.landing-page-active .header-area .main-menu ul li a {
        color: inherit;
    }

    body.landing-page-active .header-area .header-logo {
        padding: 18px 0 8px;
    }

    body.landing-page-active .header-area .header-logo img {
        max-height: 50px;
        width: auto;
    }

    .landing-page .merox-blog-area .row > .col.text-right {
        text-align: left !important;
        margin-top: -0.5rem;
        margin-bottom: 1rem;
    }
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
    .landing-page {
        --hero-height: min(92svh, 640px);
        --section-pad: 2rem;
    }

    .landing-hero {
        width: 100%;
        min-height: var(--hero-height);
    }

    .landing-hero__bg,
    .landing-hero__overlay {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        min-height: var(--hero-height);
        background-size: cover;
        background-position: right bottom;
    }

    .landing-hero__overlay {
        background: linear-gradient(
            180deg,
            rgba(17, 41, 17, 0.75) 0%,
            rgba(17, 41, 17, 0.45) 40%,
            rgba(17, 41, 17, 0.2) 70%,
            transparent 100%
        );
        -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
        mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
    }

    .landing-hero .container {
        width: 100%;
        max-width: 100%;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        padding-top: 72px;
        padding-bottom: 2rem;
        min-height: var(--hero-height);
        align-items: flex-start;
    }

    .landing-hero__content {
        width: 100%;
        max-width: 100%;
    }

    .landing-hero__tagline {
        font-size: 0.75rem;
        letter-spacing: 0.08em;
    }

    .landing-hero__headline {
        font-size: 1.35rem;
        margin-bottom: 1rem;
        max-width: 100%;
    }

    .landing-hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        width: 100%;
    }

    .landing-btn {
        width: 100%;
        text-align: center;
        padding: 0.65rem 1rem;
        font-size: 0.8rem;
    }

    .landing-page .section-title h3 {
        font-size: 1.25rem;
    }

    .landing-page .merox-about-area {
        padding: 2rem 0;
    }

    .landing-page .merox-about-area .about-img-area {
        margin-bottom: 1.5rem;
    }

    .landing-cta {
        padding: 2rem 0;
    }

    .landing-cta .section-title h3 {
        font-size: 1.35rem;
    }

    .landing-cta p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .landing-cta .landing-btn {
        width: auto;
        min-width: 200px;
    }

    footer .merox-footer-area {
        padding-top: 40px !important;
        padding-bottom: 28px !important;
    }

    footer .footer-single-wedget .widget_nav_menu {
        margin-left: 0;
    }

    footer .footer-single-wedget h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    footer .custom-html-widget .footer-social li {
        margin-right: 14px;
    }
}

/* ---- Small phones ---- */
@media (max-width: 575px) {
    .landing-page {
        --hero-height: min(88svh, 560px);
    }

    .landing-hero .container {
        padding-top: 64px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .landing-hero__headline {
        font-size: 1.15rem;
    }
}
