/* === main_mock.css — Hero, stats, brands, benefits for public homepage mock === */

/* ── Hero Section ────────────────────────────────────────────────────────── */
.lm-hero {
    position: relative;
    min-height: clamp(24rem, 30vw, 30rem);
    overflow: hidden;
    display: flex;
}

/* Full-bleed image behind everything */
.lm-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.lm-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* White gradient over the image left side — creates the clean text area */
.lm-hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        #ffffff  0%,
        #ffffff  30%,
        rgba(255,255,255,.88) 42%,
        rgba(255,255,255,.25) 58%,
        rgba(255,255,255,0)   70%
    );
}

/* Container anchors text to the shared grid — left edge aligns with header logo */
.lm-hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
}

/* Text block — top-aligned so H1 starts at the same Y on every page */
.lm-hero-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 34rem;
    padding-block: clamp(2.5rem, 4vw, 4.5rem);
}

.lm-hero-title {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: clamp(1.65rem, 1.1rem + 2vw, 2.5rem);
    line-height: 1.17;
    color: var(--navy);
    margin-bottom: 1rem;
}

.lm-hero-desc {
    font-size: clamp(.9rem, .85rem + .3vw, 1rem);
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: .85rem;
}

.lm-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.lm-btn-primary {
    background: var(--red);
    color: var(--white);
    border: 2px solid var(--red);
    padding: 13px 30px;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    display: inline-block;
    transition: background .2s, border-color .2s;
}
.lm-btn-primary:hover {
    background: var(--red-hover);
    border-color: var(--red-hover);
    color: var(--white);
}

/* Outline button: dark navy on white background */
.lm-btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    padding: 13px 30px;
    font-family: var(--font-h);
    font-weight: 600;
    font-size: .82rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    display: inline-block;
    transition: border-color .2s, background .2s, color .2s;
}
.lm-btn-outline:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

/* Tablet — stack: text above, image below */
@media (max-width: 991.98px) {
    .lm-hero { flex-direction: column; min-height: auto; }
    .lm-hero-image {
        position: relative;
        inset: auto;
        min-height: 280px;
        order: 2;
        flex-shrink: 0;
    }
    .lm-hero-image::after { display: none; }
    .lm-hero-container { order: 1; background: var(--white); }
    .lm-hero-text { max-width: 100%; }
}

/* Mobile — tighten text and stack CTA buttons */
@media (max-width: 575.98px) {
    .lm-hero-actions { flex-direction: column; align-items: stretch; }
    .lm-btn-primary,
    .lm-btn-outline { text-align: center; }
}

/* ── Statistics strip ────────────────────────────────────────────────────── */
.lm-stats {
    background: var(--gray-bg);
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
    padding: 40px 32px;
}

.lm-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

/* Horizontal: large icon on left, number+label on right */
.lm-stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 28px;
}

.lm-stat-item + .lm-stat-item {
    border-left: 1px solid var(--gray-border);
}

/* PNG icons from img/layout/ — mix-blend-mode removes white background */
.lm-stat-img {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.lm-stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lm-stat-number {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 2.25rem;
    color: var(--navy);
    line-height: 1;
}

.lm-stat-label {
    font-size: .8rem;
    color: var(--text-mid);
    line-height: 1.45;
}

/* 4th stat label (no number) — slightly larger text */
.lm-stat-label--lg {
    font-size: .85rem;
    color: var(--text-dark);
    font-weight: 500;
}

@media (max-width: 991px) {
    .lm-stats-inner { grid-template-columns: repeat(2, 1fr); }
    .lm-stat-item:nth-child(3) { border-left: none; }
    .lm-stat-item:nth-child(3),
    .lm-stat-item:nth-child(4) { border-top: 1px solid var(--gray-border); }
}

@media (max-width: 575px) {
    .lm-stats-inner { grid-template-columns: 1fr; }
    .lm-stat-item + .lm-stat-item { border-left: none; border-top: 1px solid var(--gray-border); }
    .lm-stat-item:nth-child(3) { border-left: none; }
    .lm-stat-img { width: 54px; height: 54px; }
    .lm-benefit-img { width: 54px; height: 54px; }
}

/* ── Brand carousel section ──────────────────────────────────────────────── */
.lm-brands {
    background: var(--white);
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
}

.lm-brands-title {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 1.5rem;
}

.lm-marquee-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Fade edges */
.lm-marquee-wrap::before,
.lm-marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.lm-marquee-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}
.lm-marquee-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.lm-marquee {
    display: flex;
    width: max-content;
    animation: lm-marquee 32s linear infinite;
}
.lm-marquee:hover { animation-play-state: paused; }

@keyframes lm-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.lm-marquee-track {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 0 24px;
}

.lm-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 56px;
}
.lm-logo-item img {
    max-height: 52px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
    opacity: .85;
    transition: opacity .2s;
}
.lm-logo-item img:hover { opacity: 1; }

@media (max-width: 575.98px) {
    .lm-logo-item { height: 44px; }
    .lm-logo-item img { max-height: 40px; max-width: 110px; }
}

/* ── Benefits section ────────────────────────────────────────────────────── */
.lm-benefits {
    background: var(--gray-bg);
    padding: 4rem 0 1rem;
    border-top: 1px solid var(--gray-border);
}

.lm-benefits-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.lm-benefits-title {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 2rem;
}

.lm-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.lm-benefit-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 3px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.lm-benefit-card:hover {
    border-color: var(--navy);
    box-shadow: 0 8px 28px rgba(27,42,82,.1);
    transform: translateY(-4px);
}

.lm-benefit-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 18px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    mix-blend-mode: multiply;
}

.lm-benefit-title {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.lm-benefit-desc {
    font-size: .82rem;
    color: var(--text-mid);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 991px) {
    .lm-benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .lm-benefits { padding: 2.5rem 1.25rem; }
    .lm-benefits-grid { grid-template-columns: 1fr; }
    .lm-brands { padding: 28px 0; }
}
