/**
 * Brand Landing Pages
 * Shared styles for cargo bike brand pages (Black Iron Horse, Cargobike of Sweden, Omnium)
 */

/* ==========================================================================
   Base Layout
   ========================================================================== */

.kr-brand-page {
    background: #ffffff;
    padding-bottom: 4rem;
}

.kr-brand-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.kr-brand-hero {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    text-align: center;
}

.kr-brand-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.kr-brand-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.kr-brand-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a2e;
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
}

.kr-brand-hero-desc {
    font-size: 1.1875rem;
    line-height: 1.7;
    color: #4a4a6a;
    margin: 0 auto 2rem;
    max-width: 640px;
}

.kr-brand-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: #3b50d6;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.kr-brand-hero-cta:hover {
    background: #2d3fb8;
    transform: translateY(-1px);
    color: #ffffff;
}

.kr-brand-hero-cta svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s;
}

.kr-brand-hero-cta:hover svg {
    transform: translateX(3px);
}

/* Color themes per brand */
.kr-brand-page--bih .kr-brand-badge {
    background: #1a1a2e;
    color: #ffffff;
}

.kr-brand-page--cbs .kr-brand-badge {
    background: #0057a0;
    color: #ffffff;
}

.kr-brand-page--omnium .kr-brand-badge {
    background: #e63946;
    color: #ffffff;
}

.kr-brand-page--bih .kr-brand-hero-cta { background: #1a1a2e; }
.kr-brand-page--bih .kr-brand-hero-cta:hover { background: #2c2c48; }

.kr-brand-page--cbs .kr-brand-hero-cta { background: #0057a0; }
.kr-brand-page--cbs .kr-brand-hero-cta:hover { background: #004080; }

.kr-brand-page--omnium .kr-brand-hero-cta { background: #e63946; }
.kr-brand-page--omnium .kr-brand-hero-cta:hover { background: #c1303b; }

/* ==========================================================================
   Hero Image
   ========================================================================== */

.kr-brand-hero-image {
    margin: 3rem auto 0;
    max-width: 900px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.kr-brand-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */

.kr-brand-section {
    padding: 3.5rem 0;
}

.kr-brand-section + .kr-brand-section {
    border-top: 1px solid #f0f0f5;
}

.kr-brand-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.kr-brand-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3b50d6;
    margin-bottom: 0.75rem;
}

.kr-brand-page--bih .kr-brand-section-label { color: #1a1a2e; }
.kr-brand-page--cbs .kr-brand-section-label { color: #0057a0; }
.kr-brand-page--omnium .kr-brand-section-label { color: #e63946; }

.kr-brand-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

.kr-brand-section-subtitle {
    font-size: 1.0625rem;
    color: #6c6c8a;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================================================
   Two Column Layout (Story/Brand Info)
   ========================================================================== */

.kr-brand-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.kr-brand-two-col--reverse {
    direction: rtl;
}

.kr-brand-two-col--reverse > * {
    direction: ltr;
}

.kr-brand-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 1rem;
}

.kr-brand-text p {
    font-size: 1rem;
    line-height: 1.75;
    color: #4a4a6a;
    margin: 0 0 1rem;
}

.kr-brand-text p:last-child {
    margin-bottom: 0;
}

.kr-brand-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.kr-brand-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

/* ==========================================================================
   Features Grid
   ========================================================================== */

.kr-brand-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.kr-brand-feature {
    background: #f8f9fc;
    border-radius: 14px;
    padding: 2rem 1.75rem;
    transition: box-shadow 0.2s, transform 0.2s;
}

.kr-brand-feature:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.kr-brand-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.kr-brand-feature-icon .material-symbols-outlined {
    font-size: 20px;
}

.kr-brand-page--bih .kr-brand-feature-icon { background: #e8eaf6; color: #1a1a2e; }
.kr-brand-page--cbs .kr-brand-feature-icon { background: #e3f2fd; color: #0057a0; }
.kr-brand-page--omnium .kr-brand-feature-icon { background: #fce4ec; color: #e63946; }

.kr-brand-feature h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.5rem;
}

.kr-brand-feature p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #5a5a7a;
    margin: 0;
}

/* ==========================================================================
   Models Section
   ========================================================================== */

.kr-brand-models {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.kr-brand-model {
    background: #ffffff;
    border: 1px solid #eeeef5;
    border-radius: 16px;
    padding: 2rem;
    transition: box-shadow 0.2s, transform 0.2s;
}

.kr-brand-model:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.kr-brand-model-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #f8f9fc;
}

.kr-brand-model-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

.kr-brand-model h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.5rem;
}

.kr-brand-model-tagline {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.kr-brand-page--bih .kr-brand-model-tagline { color: #1a1a2e; }
.kr-brand-page--cbs .kr-brand-model-tagline { color: #0057a0; }
.kr-brand-page--omnium .kr-brand-model-tagline { color: #e63946; }

.kr-brand-model p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #5a5a7a;
    margin: 0 0 1rem;
}

.kr-brand-model-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.kr-brand-spec-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    background: #f0f1f8;
    color: #4a4a6a;
}

/* ==========================================================================
   Estonia Section (Why this brand for Estonia)
   ========================================================================== */

.kr-brand-estonia {
    background: #f8f9fc;
    border-radius: 20px;
    padding: 3rem;
    margin: 0 0 1rem;
}

.kr-brand-estonia h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.kr-brand-estonia-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.kr-brand-estonia-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.kr-brand-estonia-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.kr-brand-estonia-icon .material-symbols-outlined {
    font-size: 18px;
}

.kr-brand-page--bih .kr-brand-estonia-icon { color: #1a1a2e; }
.kr-brand-page--cbs .kr-brand-estonia-icon { color: #0057a0; }
.kr-brand-page--omnium .kr-brand-estonia-icon { color: #e63946; }

.kr-brand-estonia-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.25rem;
}

.kr-brand-estonia-item p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #5a5a7a;
    margin: 0;
}

/* ==========================================================================
   Distributor / Trust Section
   ========================================================================== */

.kr-brand-trust {
    text-align: center;
    padding: 3.5rem 2rem;
    background: #1a1a2e;
    border-radius: 20px;
    color: #ffffff;
    margin-top: 1rem;
}

.kr-brand-page--cbs .kr-brand-trust { background: #0057a0; }
.kr-brand-page--omnium .kr-brand-trust { background: #1a1a2e; }

.kr-brand-trust h2 {
    color: #ffffff;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.kr-brand-trust p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.kr-brand-trust-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    background: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.kr-brand-trust-cta:hover {
    background: #f0f0f5;
    transform: translateY(-1px);
    color: #1a1a2e;
}

/* ==========================================================================
   Cross-links to Other Brands
   ========================================================================== */

.kr-brand-others {
    padding: 3rem 0 0;
}

.kr-brand-others h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 1.5rem;
}

.kr-brand-others-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.kr-brand-other-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: #f8f9fc;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
}

.kr-brand-other-link:hover {
    background: #eeeef5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.kr-brand-other-info {
    display: flex;
    flex-direction: column;
}

.kr-brand-other-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
}

.kr-brand-other-desc {
    font-size: 0.8125rem;
    color: #6c6c8a;
    margin-top: 0.125rem;
}

.kr-brand-other-arrow {
    color: #aaa;
    transition: transform 0.2s;
}

.kr-brand-other-link:hover .kr-brand-other-arrow {
    transform: translateX(3px);
    color: #3b50d6;
}

/* ==========================================================================
   SEO FAQ Section
   ========================================================================== */

.kr-brand-faq {
    padding: 3rem 0 0;
}

.kr-brand-faq h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 2rem;
}

.kr-brand-faq-item {
    border-bottom: 1px solid #eeeef5;
    padding: 1.25rem 0;
}

.kr-brand-faq-item:first-child {
    border-top: 1px solid #eeeef5;
}

.kr-brand-faq-item h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.5rem;
}

.kr-brand-faq-item p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #5a5a7a;
    margin: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
    .kr-brand-hero h1 {
        font-size: 2rem;
    }

    .kr-brand-hero-desc {
        font-size: 1.0625rem;
    }

    .kr-brand-two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .kr-brand-two-col--reverse {
        direction: ltr;
    }

    .kr-brand-features {
        grid-template-columns: 1fr;
    }

    .kr-brand-models {
        grid-template-columns: 1fr;
    }

    .kr-brand-estonia-grid {
        grid-template-columns: 1fr;
    }

    .kr-brand-others-grid {
        grid-template-columns: 1fr;
    }

    .kr-brand-estonia {
        padding: 2rem 1.5rem;
    }

    .kr-brand-trust {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .kr-brand-hero {
        padding: 2.5rem 0;
    }

    .kr-brand-hero h1 {
        font-size: 1.625rem;
    }

    .kr-brand-section h2 {
        font-size: 1.5rem;
    }

    .kr-brand-section {
        padding: 2.5rem 0;
    }

    .kr-brand-model {
        padding: 1.25rem;
    }
}
