@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("../fonts/space-grotesk-latin-ext.woff2") format("woff2");
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.hero-title-modern {
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    letter-spacing: -0.04em;
    line-height: 0.96;
    text-wrap: balance;
}

.hero-copy-modern {
    font-family: "Manrope", "Segoe UI", sans-serif;
    letter-spacing: -0.015em;
    line-height: 1.55;
    text-wrap: pretty;
}

/* Hero Cars Block Carousel */
.hero-cars-track {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hero-cars-track::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.car-content {
    min-height: 140px;
    display: flex;
    width: 170px;
    flex-direction: column;
    justify-content: center;
    background-color: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
}

.car-content h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #186648;
}

.hero-cars-nav {
    top: calc(50% - 37px);
    transform: translateY(-50%);
}

.instagram-strip-shell {
    display: grid;
    width: 100%;
    gap: 2.5rem;
    padding: clamp(1.5rem, 3vw, 2.75rem);
    border-radius: 2rem;
    background:
        radial-gradient(circle at top right, rgba(236, 72, 153, 0.24), transparent 28%),
        radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.16), transparent 26%),
        linear-gradient(135deg, #08111f 0%, #0f172a 45%, #162133 100%);
    color: #f8fafc;
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.22);
    overflow: hidden;
}

.instagram-strip-head {
    display: grid;
    gap: 1.75rem;
    align-items: stretch;
}

.instagram-strip-copy {
    max-width: 52rem;
}

.instagram-strip-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.instagram-strip-title {
    margin: 0;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    max-width: 13ch;
    font-size: clamp(2.2rem, 4vw, 4.25rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
}

.instagram-strip-text {
    margin-top: 1rem;
    max-width: 44rem;
    color: rgba(226, 232, 240, 0.82);
    font-size: 1.05rem;
    line-height: 1.7;
}

.instagram-strip-panel {
    display: grid;
    gap: 1rem;
    align-content: start;
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.5rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.5) 100%);
    backdrop-filter: blur(18px);
}

.instagram-strip-identity {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.instagram-strip-avatar {
    width: 3.4rem;
    height: 3.4rem;
    flex: 0 0 3.4rem;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.instagram-strip-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.15rem;
}

.instagram-strip-identity-copy {
    display: grid;
    gap: 0.15rem;
}

.instagram-strip-handle {
    color: rgba(191, 219, 254, 0.9);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.instagram-strip-name {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
}

.instagram-strip-bio {
    margin: 0;
    color: rgba(226, 232, 240, 0.76);
    font-size: 0.98rem;
    line-height: 1.65;
}

.instagram-strip-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: stretch;
}

.instagram-strip-stats span {
    display: grid;
    gap: 0.18rem;
    min-width: 132px;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.9rem;
}

.instagram-strip-stats small {
    color: rgba(191, 219, 254, 0.74);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.instagram-strip-stats strong {
    color: #ffffff;
    font-weight: 800;
}

.instagram-strip-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    min-height: 3.2rem;
    padding: 0.9rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9999px;
    background: #ffffff;
    color: #050505;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
}

.instagram-strip-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.28);
    background: #f8fafc;
}

.instagram-strip-feed {
    min-width: 0;
}

.instagram-feed-grid,
.instagram-feed-fallback {
    display: grid;
    width: 100%;
    gap: 1.5rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.instagram-feed-card,
.instagram-feed-fallback-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 1.4rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(15, 23, 42, 0.3) 100%);
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.instagram-feed-fallback-card {
    min-height: 220px;
    padding: 1.4rem;
}

.instagram-feed-card {
    text-decoration: none;
    color: inherit;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    box-shadow: 0 18px 48px rgba(2, 6, 23, 0.16);
}

.instagram-feed-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 26px 56px rgba(2, 6, 23, 0.22);
}

.instagram-feed-card-media {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #111827;
}

.instagram-feed-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.03) 0%, rgba(15, 23, 42, 0.52) 100%);
    pointer-events: none;
}

.instagram-feed-card-thumb {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 260ms ease;
}

.instagram-feed-card:hover .instagram-feed-card-thumb {
    transform: scale(1.03);
}

.instagram-feed-card-thumb-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 2rem;
}

.instagram-feed-card-overlay {
    position: absolute;
    inset: 1rem 1rem auto 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.instagram-feed-card-badge,
.instagram-feed-card-date {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    backdrop-filter: blur(14px);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.instagram-feed-card-badge {
    background: rgba(5, 150, 105, 0.88);
    color: #ecfdf5;
}

.instagram-feed-card-date {
    margin-left: auto;
    background: rgba(15, 23, 42, 0.72);
    color: rgba(255, 255, 255, 0.84);
}

.instagram-feed-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.3rem 1.25rem 1.35rem;
}

.instagram-feed-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    color: rgba(191, 219, 254, 0.82);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.instagram-feed-card-title {
    margin: 0;
    color: #ffffff;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: clamp(1.22rem, 1.35vw, 1.58rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.03em;
    text-wrap: pretty;
}

.instagram-feed-card-caption {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.95rem;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.instagram-feed-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #86efac;
    font-size: 0.88rem;
    font-weight: 700;
}

.instagram-feed-fallback-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(251, 207, 232, 0.95);
}

.instagram-feed-fallback-card strong {
    display: block;
    margin-top: 0.9rem;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    font-size: 1.25rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.instagram-feed-fallback-card p {
    margin: 0.8rem 0 0;
    color: rgba(226, 232, 240, 0.78);
    line-height: 1.65;
}

.brand-filter-card-compact {
    padding: 0;
    background: transparent;
}

.brand-filter-card-body {
    position: relative;
    border-radius: 0.85rem;
    overflow: hidden;
    height: 60px;
}

.brand-filter-bg {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--brand-gradient, linear-gradient(90deg, #4b5563 0%, #111827 100%));
    z-index: 0;
}

.brand-filter-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
    padding-right: 78px;
    padding-left: 0.35rem;
}

.brand-truck-wrap {
    display: flex;
    flex: 0 0 96px;
    align-items: center;
    justify-content: center;
    width: 96px;
    min-width: 96px;
    height: 58px;
    overflow: hidden;
}

.brand-truck-img {
    width: 100%;
    max-width: 252px;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(1) translateX(0) translateY(0);
    transform-origin: center;
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.35));
}

.brand-logo-wrap {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.brand-logo-frame {
    width: 100%;
    max-width: 104px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-logo-frame-flex {
    max-width: 116px;
    height: 40px;
    flex: 1 1 auto;
    overflow: visible;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transform: scale(var(--brand-logo-scale, 1.08));
    transform-origin: center;
    image-rendering: auto;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.brand-logo-text {
    display: -webkit-box;
    overflow: hidden;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    text-wrap: balance;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.brand-count-wrap {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 3;
}

.brand-count-tip {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 10px;
    background: #0b0b0b;
    clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
    z-index: 4;
}

@media (max-width: 640px) {
    .instagram-strip-shell {
        gap: 1.6rem;
        padding: 1.25rem;
    }

    .instagram-strip-title {
        max-width: none;
        font-size: clamp(1.9rem, 9vw, 2.7rem);
    }

    .instagram-feed-grid,
    .instagram-feed-fallback {
        gap: 1.2rem;
    }

    .instagram-feed-card-body {
        padding: 1rem 1rem 1.15rem;
    }

    .instagram-feed-card-title {
        font-size: 1.08rem;
    }

    .instagram-strip-stats span {
        min-width: calc(50% - 0.4rem);
    }

    .instagram-feed-card-overlay {
        inset: 0.8rem 0.8rem auto 0.8rem;
    }

    .instagram-feed-card-badge,
    .instagram-feed-card-date {
        min-height: 1.85rem;
        padding: 0.35rem 0.62rem;
        font-size: 0.64rem;
    }

    .brand-filter-card-body {
        border-radius: 0.75rem;
        height: 56px;
    }

    .brand-filter-content {
        gap: 0.35rem;
        padding-right: 64px;
        padding-left: 0.25rem;
    }

    .brand-truck-wrap {
        flex-basis: 88px;
        width: 88px;
        min-width: 88px;
        height: 48px;
    }

    .brand-truck-img {
        height: 48px;
        transform: scale(0.96) translateX(0) translateY(0);
    }

    .brand-logo-frame {
        max-width: 90px;
        height: 30px;
    }

    .brand-logo-frame-flex {
        max-width: 96px;
        height: 34px;
    }

    .brand-logo-text {
        font-size: 0.72rem;
    }

    .brand-count-wrap {
        width: 62px;
        font-size: 1.2rem;
    }

    .brand-count-tip {
        width: 8px;
    }
}

@media (min-width: 768px) {
    .instagram-feed-grid,
    .instagram-feed-fallback {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .instagram-strip-head {
        grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
    }
}

@media (min-width: 1024px) {
    .instagram-feed-grid {
        gap: 1.5rem;
    }
}
