/* Additional home sections and mobile header refinement. */

.home-about-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
}

.home-about-media {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-radius: 34px;
    background: var(--store-bg-soft);
}

.home-about-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-about-card {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 20px;
    color: #fff;
    background: rgba(20, 20, 22, .72);
    backdrop-filter: blur(12px);
}

.home-about-card strong {
    display: block;
    font-size: .95rem;
}

.home-about-card span {
    display: block;
    margin-top: .3rem;
    color: rgba(255, 255, 255, .78);
    font-size: .78rem;
    line-height: 1.5;
}

.home-about-points {
    display: grid;
    gap: .8rem;
    margin-top: 1.35rem;
}

.home-about-point {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    color: var(--store-muted);
    font-size: .88rem;
    line-height: 1.55;
}

.home-about-point .home-reassurance-icon {
    width: 2.2rem;
    height: 2.2rem;
}

.home-logo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.home-logo-card {
    display: flex;
    min-height: 128px;
    align-items: center;
    gap: .9rem;
    padding: 1rem;
    border: 1px solid var(--store-border);
    border-radius: 22px;
    color: var(--store-text);
    background: var(--store-card);
    box-shadow: var(--store-card-shadow);
    transition: border-color .2s ease, transform .2s ease;
}

.home-logo-card:hover {
    border-color: var(--store-orange);
    transform: translateY(-3px);
}

.home-logo-mark {
    display: grid;
    width: 3.2rem;
    height: 3.2rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(135deg, var(--store-orange), var(--store-orange-hover));
    box-shadow: 0 12px 26px rgba(249, 115, 22, .22);
    font-size: .82rem;
    font-weight: 850;
    letter-spacing: .04em;
}

.home-logo-card strong {
    display: block;
    font-size: .92rem;
    line-height: 1.25;
}

.home-logo-card span {
    display: block;
    margin-top: .25rem;
    color: var(--store-muted);
    font-size: .72rem;
    line-height: 1.4;
}

.home-brand-strip {
    display: flex;
    gap: .9rem;
    overflow-x: auto;
    padding-bottom: .35rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.home-brand-strip::-webkit-scrollbar {
    display: none;
}

.home-brand-item {
    display: flex;
    min-width: 190px;
    min-height: 90px;
    flex: 1 0 190px;
    scroll-snap-align: start;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    padding: 1rem;
    border: 1px solid var(--store-border);
    border-radius: 22px;
    color: var(--store-text);
    background: var(--store-card);
    font-weight: 780;
    letter-spacing: .02em;
}

.home-brand-item .home-logo-mark {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 14px;
    font-size: .72rem;
}

.home-testimonial-shell {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    gap: 1.5rem;
    padding: clamp(1.4rem, 4vw, 3rem);
    border: 1px solid var(--store-border);
    border-radius: 32px;
    background: var(--store-bg-soft);
}

.home-testimonial-empty {
    display: flex;
    min-height: 240px;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border: 1px dashed var(--store-border);
    border-radius: 26px;
    text-align: center;
    background: var(--store-card);
}

.home-testimonial-empty-inner {
    max-width: 520px;
}

.home-testimonial-empty .home-reassurance-icon {
    margin: 0 auto .9rem;
}

.home-testimonial-empty h3 {
    color: var(--store-text);
    font-size: 1.2rem;
    font-weight: 760;
}

.home-testimonial-empty p {
    margin-top: .55rem;
    color: var(--store-muted);
    font-size: .84rem;
    line-height: 1.6;
}

.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.home-blog-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--store-border);
    border-radius: 26px;
    color: var(--store-text);
    background: var(--store-card);
    box-shadow: var(--store-card-shadow);
    transition: border-color .2s ease, transform .2s ease;
}

.home-blog-card:hover {
    border-color: var(--store-orange);
    transform: translateY(-4px);
}

.home-blog-image {
    height: 220px;
    overflow: hidden;
    background: var(--store-bg-soft);
}

.home-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.home-blog-card:hover .home-blog-image img {
    transform: scale(1.035);
}

.home-blog-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.15rem;
}

.home-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .75rem;
    color: var(--store-orange);
    font-size: .7rem;
    font-weight: 760;
}

.home-blog-title {
    margin-top: .7rem;
    color: var(--store-text);
    font-size: 1.15rem;
    font-weight: 760;
    line-height: 1.35;
}

.home-blog-copy {
    display: -webkit-box;
    margin-top: .55rem;
    overflow: hidden;
    color: var(--store-muted);
    font-size: .82rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-blog-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: auto;
    padding-top: 1rem;
    color: var(--store-orange);
    font-size: .8rem;
    font-weight: 760;
}

@media (max-width: 1023px) {
    .home-about-grid,
    .home-testimonial-shell {
        grid-template-columns: 1fr;
    }

    .home-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .home-about-media {
        min-height: 330px;
    }

    .home-logo-grid,
    .home-blog-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .home-logo-grid::-webkit-scrollbar,
    .home-blog-grid::-webkit-scrollbar {
        display: none;
    }

    .home-logo-card {
        min-width: 255px;
        flex: 0 0 82%;
        scroll-snap-align: start;
    }

    .home-blog-card {
        min-width: 285px;
        flex: 0 0 88%;
        scroll-snap-align: start;
    }

    .home-testimonial-shell {
        padding: 1.15rem;
        border-radius: 26px;
    }
}
