/* Automation SEO catalog and brand pages */

.seo-catalog-hero,
.seo-brand-hero {
    padding: 138px 0 58px;
    background:
        radial-gradient(circle at 16% 12%, rgba(37, 99, 235, 0.16), transparent 30%),
        radial-gradient(circle at 86% 16%, rgba(34, 197, 94, 0.13), transparent 26%),
        linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 52%, #EFF6FF 100%);
}

.seo-catalog-hero h1,
.seo-brand-copy h1 {
    max-width: 980px;
    margin: 0 0 16px;
    color: #0F172A;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.seo-catalog-hero p,
.seo-brand-copy p {
    max-width: 860px;
    color: #475569;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.68;
}

.seo-eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 12px;
    border: 1px solid #BFDBFE;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: #1D4ED8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.seo-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.seo-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.seo-catalog-stats {
    max-width: 980px;
    margin-top: 30px;
}

.seo-stat-grid div {
    padding: 18px;
    border: 1px solid #DBEAFE;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.seo-stat-grid strong {
    display: block;
    margin-bottom: 4px;
    color: #1D4ED8;
    font-size: 28px;
    line-height: 1;
}

.seo-stat-grid span {
    color: #64748B;
    font-size: 13px;
    line-height: 1.35;
}

.seo-brand-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 390px;
    gap: 34px;
    align-items: center;
}

.seo-brand-panel {
    padding: 24px;
    border: 1px solid #DBEAFE;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.09);
}

.seo-brand-logo,
.seo-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #E2E8F0;
}

.seo-brand-logo {
    height: 132px;
    margin-bottom: 18px;
    border-radius: 22px;
}

.seo-brand-logo img {
    max-width: 220px;
    max-height: 78px;
    object-fit: contain;
}

.seo-model-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.seo-model-chips span {
    padding: 7px 10px;
    border: 1px solid #DBEAFE;
    border-radius: 999px;
    background: white;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.seo-section {
    padding: 58px 0;
    background: #F8FAFC;
}

.seo-section:nth-of-type(even) {
    background: white;
}

.seo-section-head {
    max-width: 840px;
    margin-bottom: 24px;
}

.seo-section-head h2 {
    margin-bottom: 10px;
    color: #0F172A;
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.14;
}

.seo-section-head p {
    color: #64748B;
    line-height: 1.65;
}

.seo-category-grid,
.seo-legacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
}

.seo-category-card,
.seo-legacy-card {
    padding: 18px;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    background: white;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04);
}

.seo-category-card strong,
.seo-legacy-card strong {
    display: block;
    color: #0F172A;
    line-height: 1.35;
}

.seo-category-card span,
.seo-legacy-card span {
    display: block;
    margin-bottom: 7px;
    color: #2563EB;
    font-size: 12px;
    font-weight: 800;
}

.seo-legacy-card p {
    margin-top: 8px;
    color: #64748B;
    font-size: 13px;
    line-height: 1.55;
}

.seo-brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
    gap: 16px;
}

.seo-brand-card {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 16px;
    min-height: 168px;
    padding: 18px;
    border: 1px solid #E2E8F0;
    border-radius: 22px;
    background: white;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.seo-brand-card:hover {
    transform: translateY(-3px);
    border-color: #BFDBFE;
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.08);
}

.seo-card-logo {
    width: 74px;
    height: 74px;
    border-radius: 18px;
}

.seo-card-logo img {
    max-width: 58px;
    max-height: 42px;
    object-fit: contain;
}

.seo-brand-card h3 {
    margin: 2px 0 7px;
    color: #0F172A;
    font-size: 20px;
}

.seo-brand-card p {
    color: #64748B;
    font-size: 13px;
    line-height: 1.45;
}

.seo-brand-card span {
    display: block;
    margin-top: 8px;
    color: #2563EB;
    font-size: 12px;
    font-weight: 800;
}

.seo-card-models {
    grid-column: 1 / -1;
    color: #334155;
    font-size: 12px;
    line-height: 1.55;
}

.seo-table-wrap {
    overflow-x: auto;
    border: 1px solid #E2E8F0;
    border-radius: 22px;
    background: white;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.seo-model-table {
    width: 100%;
    min-width: 1100px;
    border-collapse: collapse;
}

.seo-model-table th,
.seo-model-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #E2E8F0;
    text-align: left;
    vertical-align: top;
    font-size: 13px;
    line-height: 1.55;
}

.seo-model-table th {
    position: sticky;
    top: 0;
    background: #EFF6FF;
    color: #1E3A8A;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.seo-model-table tr:last-child td {
    border-bottom: 0;
}

.seo-model-cell {
    max-width: 420px;
    color: #0F172A;
    font-weight: 600;
}

.seo-table-pill {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    background: #EFF6FF;
    color: #1D4ED8;
    font-size: 12px;
    font-weight: 800;
}

.seo-rfq-band {
    padding: 54px 0;
    background: linear-gradient(135deg, #0F172A 0%, #172554 100%);
    color: white;
}

.seo-rfq-band .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
}

.seo-rfq-band h2 {
    margin-bottom: 10px;
    color: white;
    font-size: clamp(26px, 3.4vw, 40px);
}

.seo-rfq-band p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.6;
}

.seo-rfq-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.seo-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.seo-faq-grid div {
    padding: 20px;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    background: white;
}

.seo-faq-grid h3 {
    margin-bottom: 8px;
    color: #0F172A;
}

.seo-faq-grid p {
    color: #64748B;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .seo-brand-hero-grid,
    .seo-rfq-band .container,
    .seo-faq-grid {
        grid-template-columns: 1fr;
    }

    .seo-rfq-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .seo-catalog-hero,
    .seo-brand-hero {
        padding: 102px 0 30px;
    }

    .seo-catalog-hero h1,
    .seo-brand-copy h1 {
        font-size: 31px;
    }

    .seo-catalog-hero p,
    .seo-brand-copy p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 14px;
        line-height: 1.52;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }

    .seo-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .seo-stat-grid div {
        padding: 13px;
        border-radius: 14px;
    }

    .seo-stat-grid strong {
        font-size: 23px;
    }

    .seo-stat-grid span {
        font-size: 11px;
    }

    .seo-brand-panel {
        padding: 15px;
        border-radius: 20px;
    }

    .seo-brand-logo {
        height: 88px;
        margin-bottom: 12px;
        border-radius: 16px;
    }

    .seo-brand-logo img {
        max-width: 180px;
        max-height: 54px;
    }

    .seo-catalog-stats,
    .seo-brand-panel,
    .seo-model-chips {
        display: none;
    }

    .seo-model-chips {
        gap: 6px;
        margin-top: 18px;
    }

    .seo-model-chips span {
        padding: 6px 8px;
        font-size: 11px;
    }

    .seo-section {
        padding: 38px 0;
    }

    .seo-section-head {
        margin-bottom: 18px;
    }

    .seo-section-head h2 {
        font-size: 25px;
    }

    .seo-section-head p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.5;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .seo-category-grid,
    .seo-legacy-grid,
    .seo-brand-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .seo-category-card,
    .seo-legacy-card,
    .seo-brand-card {
        padding: 14px;
        border-radius: 16px;
    }

    .seo-brand-card {
        min-height: auto;
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 12px;
    }

    .seo-card-logo {
        width: 58px;
        height: 58px;
        border-radius: 14px;
    }

    .seo-card-logo img {
        max-width: 46px;
        max-height: 34px;
    }

    .seo-brand-card h3 {
        font-size: 17px;
    }

    .seo-card-models {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .seo-model-table {
        min-width: 980px;
    }

    .seo-model-table th,
    .seo-model-table td {
        padding: 11px 12px;
        font-size: 12px;
    }

    .seo-rfq-band {
        padding: 36px 0;
    }

    .seo-rfq-band h2 {
        font-size: 24px;
    }

    .seo-rfq-band p {
        font-size: 13px;
    }

    .seo-hero-actions {
        margin-top: 16px;
        gap: 8px;
    }

    .seo-rfq-actions .btn,
    .seo-hero-actions .btn {
        width: 100%;
    }
}
