/*
============================================================
P005 — APPROVED ARMOUR MOTORS HOMEPAGE
Intentionally does not style .site-footer or footer elements.
============================================================
*/


/* ---------- header visual alignment ---------- */

.site-header .brand {
    width: 150px !important;
    max-width: 150px !important;
}

.site-header .brand img {
    width: 100% !important;
    height: 58px !important;
    object-fit: contain !important;
}

.lang-switch {
    min-width: 34px;
    height: 38px;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    border: 1px solid rgba(255,255,255,.18);
    border-radius: 3px;
}


/* ---------- general ---------- */

.am-btn {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 22px;

    border: 0;
    border-radius: 4px;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;
}

.am-btn-orange {
    color: #fff;
    background: #eb5b16;
}

.am-btn-ghost {
    color: #fff;

    border: 1px solid rgba(255,255,255,.65);

    background: rgba(0,0,0,.2);
}


/* =========================================================
   HERO
   ========================================================= */

.am-hero {
    position: relative;

    min-height: 510px;

    overflow: hidden;

    color: white;
    background: #0a110d;
}

.am-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(6,12,8,.98) 0%,
            rgba(8,14,10,.94) 29%,
            rgba(8,14,10,.48) 51%,
            rgba(8,14,10,.08) 76%
        );

    pointer-events: none;
}

.am-hero-media {
    position: absolute;
    inset: 0;
}

.am-hero-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}

.am-hero-inner {
    position: relative;
    z-index: 2;

    min-height: 510px;

    display: flex;
    align-items: center;
}

.am-hero-copy {
    width: min(610px, 48%);

    padding: 48px 0 34px;
}

.am-eyebrow {
    margin: 0 0 14px;

    color: #b9bf82;

    font-size: 12px;
    line-height: 1.25;

    font-weight: 900;

    letter-spacing: .09em;
    text-transform: uppercase;
}

.am-hero h1 {
    margin: 0;

    font-family:
        "Arial Narrow",
        "Roboto Condensed",
        Arial,
        sans-serif;

    font-size: clamp(43px, 4.3vw, 68px);
    line-height: .94;

    letter-spacing: -.025em;

    text-transform: uppercase;
}

.am-hero h1 span {
    display: block;

    color: #b3ba79;
}

.am-hero-description {
    max-width: 560px;

    margin: 20px 0;

    color: #d3dad3;

    font-size: 15px;
    line-height: 1.5;
}

.am-hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.am-hero-badges {
    margin-top: 28px;

    display: flex;

    gap: 28px;
}

.am-hero-badges > div {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #e3e7df;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
}

.am-hero-badges b {
    color: #b9c17e;

    font-size: 22px;
}

.am-hero-mark {
    position: absolute;

    right: 20px;
    top: 25px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    padding-right: 13px;

    border-right: 3px solid #bac27f;
}

.am-hero-mark strong {
    color: #bac27f;

    font-size: 28px;
    line-height: 1;
}

.am-hero-mark span {
    margin-top: 5px;

    color: #ddd;

    font-size: 9px;
}


/* =========================================================
   CATEGORY CARDS
   ========================================================= */

.am-catalog {
    padding: 20px 0 14px;

    background: #f4f2eb;
}

.am-section-head {
    min-height: 44px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.am-section-head h2 {
    margin: 0;

    font-family:
        "Arial Narrow",
        "Roboto Condensed",
        Arial,
        sans-serif;

    font-size: 27px;
    line-height: 1;

    text-transform: uppercase;
}

.am-section-head > a,
.am-catalog-toggle {
    color: #e85b18;

    border: 0;
    background: transparent;

    font-size: 12px;
    font-weight: 850;

    cursor: pointer;
}

.am-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 10px;

    margin-top: 12px;
}

.am-category-card {
    position: relative;

    min-height: 132px;

    overflow: hidden;

    display: grid;
    grid-template-columns: 38px 1fr 105px;

    align-items: center;

    gap: 10px;

    padding: 12px;

    text-align: left;

    color: #151915;

    border: 1px solid #deddd7;
    border-radius: 6px;

    background: #fbfaf6;

    cursor: pointer;
}

.am-category-icon {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 6px;

    color: #b5bd78;
    background: #2f4129;

    font-size: 18px;
}

.am-category-copy {
    min-width: 0;
}

.am-category-copy h3 {
    margin: 0 0 7px;

    font-size: 14px;
    line-height: 1.15;

    text-transform: uppercase;
}

.am-category-copy p {
    margin: 0;

    color: #72766e;

    font-size: 10px;
    line-height: 1.35;
}

.am-category-card img {
    width: 100%;
    height: 95px;

    object-fit: contain;
}

.am-category-arrow {
    position: absolute;

    right: 10px;
    bottom: 8px;

    color: #ec5c18;

    font-size: 19px;
}


/* =========================================================
   PRODUCTS
   ========================================================= */

.am-products {
    padding: 10px 0 18px;

    background: #f7f5ef;
}

.am-search-wrap {
    width: min(360px, 100%);

    margin: 9px 0 10px auto;
}

.am-search-wrap input {
    width: 100%;
    height: 36px;

    padding: 0 12px;

    border: 1px solid #d9d8d1;
    border-radius: 4px;

    background: white;

    font-size: 11px;
}

.am-product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 8px;
}

.am-product-card {
    min-width: 0;

    overflow: hidden;

    background: white;

    border: 1px solid #deddd8;
    border-radius: 5px;
}

.am-product-card[hidden],
.am-extra-product:not(.is-visible) {
    display: none;
}

.am-product-media {
    height: 145px;

    display: grid;
    place-items: center;

    padding: 10px;

    background: #f3f1ea;
}

.am-product-media img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.am-product-copy {
    padding: 12px;

    display: flex;
    flex-direction: column;

    min-height: 192px;
}

.am-product-copy small {
    color: #69734a;

    font-size: 9px;
    font-weight: 850;

    text-transform: uppercase;
}

.am-product-copy h3 {
    margin: 5px 0 7px;

    font-size: 15px;
    line-height: 1.1;
}

.am-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 4px;
}

.am-tags span {
    padding: 4px 5px;

    border-radius: 3px;

    background: #f0f0ec;

    color: #555d53;

    font-size: 8px;
}

.am-product-copy > p {
    margin: 9px 0;

    color: #777d75;

    font-size: 9px;
    line-height: 1.35;
}

.am-product-actions {
    margin-top: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 5px;
}

.am-product-actions button {
    min-height: 34px;

    border-radius: 3px;

    border: 1px solid #d2d2cb;

    background: white;

    font-size: 9px;
    font-weight: 850;

    cursor: pointer;
}

.am-product-actions .primary {
    color: white;

    border-color: #ec5b17;

    background: #ec5b17;
}


/* =========================================================
   TRUST STRIP
   ========================================================= */

.am-trust {
    color: white;

    background:
        linear-gradient(
            90deg,
            #18251a,
            #293924
        );
}

.am-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.am-trust article {
    min-height: 100px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 18px 22px;

    border-right:
        1px solid rgba(255,255,255,.1);
}

.am-trust article:last-child {
    border-right: 0;
}

.am-trust article > b {
    color: #bbc482;

    font-size: 30px;
}

.am-trust strong,
.am-trust span {
    display: block;
}

.am-trust strong {
    font-size: 13px;

    text-transform: uppercase;
}

.am-trust span {
    margin-top: 3px;

    color: #a9b1a8;

    font-size: 9px;
    line-height: 1.3;
}


/* =========================================================
   LOWER AREA — FEATURE + CONSULTATION
   ========================================================= */

.am-lower {
    padding: 18px 0;

    background: #ece9e1;
}

.am-lower-grid {
    display: grid;
    grid-template-columns: 1.12fr .88fr;

    gap: 12px;
}

.am-feature {
    min-height: 280px;

    display: grid;
    grid-template-columns: .8fr 1.2fr;

    overflow: hidden;

    background: #f8f6ef;

    border: 1px solid #d8d6ce;
}

.am-feature-copy {
    position: relative;
    z-index: 2;

    padding: 28px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.am-feature-copy small {
    color: #657048;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: .14em;
}

.am-feature-copy h2 {
    margin: 5px 0 0;

    font-size: 31px;
    line-height: .95;

    text-transform: uppercase;
}

.am-feature-copy h3 {
    margin: 6px 0 12px;

    color: #657048;

    font-size: 13px;

    text-transform: uppercase;
}

.am-feature-copy p {
    margin: 0 0 15px;

    color: #686e66;

    font-size: 10px;
    line-height: 1.45;
}

.am-feature-copy .am-btn {
    align-self: flex-start;
}

.am-feature > img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 20px;
}

.am-contact {
    padding: 22px;

    background: #f6f4ed;

    border: 1px solid #d8d6ce;
}

.am-contact-title small {
    color: #657048;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: .12em;
}

.am-contact-title h2 {
    margin: 5px 0;

    font-size: 22px;

    text-transform: uppercase;
}

.am-contact-title p {
    margin: 0 0 13px;

    color: #72776f;

    font-size: 10px;
    line-height: 1.4;
}

.am-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 7px;

    margin-bottom: 7px;
}

.am-contact input,
.am-contact textarea {
    width: 100%;

    padding: 9px 10px;

    border: 1px solid #d4d3cc;
    border-radius: 3px;

    background: white;

    font-size: 10px;
}

.am-contact textarea {
    resize: vertical;
}

.am-contact form > button {
    width: 100%;
    min-height: 38px;

    margin-top: 7px;

    border: 0;
    border-radius: 3px;

    color: white;
    background: #2b3c25;

    font-size: 11px;
    font-weight: 850;

    cursor: pointer;
}

.am-form-status {
    min-height: 14px;

    margin: 7px 0 0;

    color: #6f756c;

    font-size: 9px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .am-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .am-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE — approved compact composition
   ========================================================= */

@media (max-width: 780px) {

    /*
    Header only.
    Footer intentionally untouched.
    */
    .site-header .brand {
        width: 116px !important;
        max-width: 116px !important;
    }

    .site-header .brand img {
        width: 116px !important;
        height: 52px !important;

        object-fit: contain !important;
    }

    .lang-switch {
        display: inline-flex !important;

        width: 36px;
        min-width: 36px;

        padding: 0 !important;
    }


    .am-hero {
        min-height: 600px;
    }

    .am-hero::after {
        background:
            linear-gradient(
                90deg,
                rgba(7,13,9,.96) 0%,
                rgba(7,13,9,.72) 48%,
                rgba(7,13,9,.18) 100%
            );
    }

    .am-hero-media img {
        object-position: center center;
    }

    .am-hero-inner {
        min-height: 600px;

        align-items: flex-start;
    }

    .am-hero-copy {
        width: 68%;

        padding: 34px 0 26px;
    }

    .am-eyebrow {
        max-width: 180px;

        margin-bottom: 12px;

        font-size: 9px;
    }

    .am-hero h1 {
        font-size: clamp(31px, 8.8vw, 44px);
        line-height: .92;
    }

    .am-hero-description {
        max-width: 260px;

        margin: 14px 0;

        font-size: 10px;
        line-height: 1.35;
    }

    .am-hero-actions {
        gap: 6px;
    }

    .am-btn {
        min-height: 40px;

        padding: 0 14px;

        font-size: 10px;
    }

    .am-hero-badges {
        position: absolute;

        left: 0;
        right: 0;
        bottom: 18px;

        justify-content: space-between;

        gap: 5px;
    }

    .am-hero-badges > div {
        gap: 4px;

        font-size: 8px;
    }

    .am-hero-badges b {
        font-size: 18px;
    }

    .am-hero-mark {
        right: 9px;
        top: 310px;
    }

    .am-hero-mark strong {
        font-size: 23px;
    }


    .am-catalog {
        padding-top: 12px;
    }

    .am-section-head h2 {
        font-size: 21px;
    }

    .am-section-head > a,
    .am-catalog-toggle {
        font-size: 9px;
    }

    .am-category-grid {
        grid-template-columns: 1fr 1fr;

        gap: 6px;
    }

    .am-category-card {
        min-height: 104px;

        grid-template-columns: 28px 1fr;

        gap: 6px;

        padding: 8px;
    }

    .am-category-icon {
        width: 27px;
        height: 27px;

        font-size: 13px;
    }

    .am-category-copy h3 {
        font-size: 10px;
    }

    .am-category-copy p {
        display: none;
    }

    .am-category-card img {
        grid-column: 1 / -1;

        position: absolute;

        right: 5px;
        bottom: 4px;

        width: 48%;
        height: 58px;
    }


    .am-search-wrap {
        margin: 7px 0;
    }

    .am-product-grid {
        display: flex;

        overflow-x: auto;

        gap: 7px;

        padding-bottom: 7px;

        scroll-snap-type: x mandatory;

        scrollbar-width: none;
    }

    .am-product-grid::-webkit-scrollbar {
        display: none;
    }

    .am-product-card {
        flex: 0 0 72%;

        scroll-snap-align: start;
    }

    .am-product-media {
        height: 125px;
    }

    .am-product-copy {
        min-height: 180px;
    }


    .am-trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .am-trust article {
        min-height: 82px;

        padding: 12px;

        border-bottom:
            1px solid rgba(255,255,255,.08);
    }

    .am-trust article > b {
        font-size: 22px;
    }

    .am-trust strong {
        font-size: 9px;
    }

    .am-trust span {
        font-size: 8px;
    }


    .am-lower-grid {
        grid-template-columns: 1fr;
    }

    .am-feature {
        min-height: 250px;

        grid-template-columns: .88fr 1.12fr;
    }

    .am-feature-copy {
        padding: 18px;
    }

    .am-feature-copy h2 {
        font-size: 25px;
    }

    .am-feature > img {
        padding: 10px;
    }


    .am-contact {
        padding: 18px;
    }

    .am-form-row {
        grid-template-columns: 1fr;
    }

}
