/**
 * File purpose: Frontend styles for reusable Page Sections.
 *
 * Author: Emanuel Mandat
 * Company: Zuri IT
 * Modified: 23 July 2026
 */

/* ==========================================================================
   Page Section wrapper
   ========================================================================== */

.btr-content-section {
    width: 100%;
    padding: 5.5rem 1.5rem;
}

.btr-content-section.btr-width-full {
    position: relative;
    width: 100vw;
    max-width: none;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
}

.btr-content-section.btr-width-contained {
    width: min(calc(100% - 3rem), 1180px);
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
}

/* ==========================================================================
   Backgrounds
   ========================================================================== */

.btr-bg-white {
    background-color: #ffffff;
}

.btr-bg-soft-grey {
    background-color: #f4f4f6;
}

.btr-bg-purple {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #35115f 0%,
        #5e278d 65%,
        #a85da4 100%
    );
}

/* ==========================================================================
   Inner container
   ========================================================================== */

.btr-section-inner {
    width: 100%;
    max-width: 1120px;
    margin-right: auto;
    margin-left: auto;
}

/* ==========================================================================
   Section header and typography
   ========================================================================== */

.btr-section-header {
    max-width: 820px;
    margin: 0 auto 3rem;
    text-align: center;
}

.btr-section-title {
    margin: 0 0 1rem;
    color: #111111;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
}

.btr-section-subtitle {
    margin: 0 0 1.5rem;
    color: #666666;
    font-size: 1rem;
    line-height: 1.65;
}

.btr-section-content {
    color: #555555;
    font-size: 1rem;
    line-height: 1.65;
}

.btr-section-content > :first-child {
    margin-top: 0;
}

.btr-section-content > :last-child {
    margin-bottom: 0;
}

.btr-bg-purple .btr-section-title,
.btr-bg-purple .btr-section-subtitle,
.btr-bg-purple .btr-section-content {
    color: #ffffff;
}

/* ==========================================================================
   Item and process grids
   ========================================================================== */

.btr-item-grid,
.btr-process-grid {
    display: grid;
    gap: 1rem;
}

.btr-columns-1 {
    grid-template-columns: 1fr;
}

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

.btr-columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.btr-columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ==========================================================================
   Icons
   ========================================================================== */

.btr-item-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
}

.btr-item-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.btr-item-icon-line {
    width: 20px;
    height: 20px;
    color: #bd79b4;
}

.btr-item-icon-filled {
    width: 50px;
    height: 50px;
    padding: 13px;
    border-radius: 15px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #3d176d 0%,
        #59278a 60%,
        #b773b0 100%
    );
}

/* ==========================================================================
   Compact item cards
   ========================================================================== */

.btr-item-card {
    color: inherit;
    text-decoration: none;
}

.btr-item-card-compact {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 58px;
    padding: 0.9rem 1rem;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background-color: #ffffff;
}

.btr-item-text-wrap {
    display: grid;
    gap: 0.2rem;
}

.btr-item-title {
    color: #111111;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.35;
}

.btr-item-description {
    color: #6b6b6b;
    font-size: 0.9rem;
    line-height: 1.45;
}

/* ==========================================================================
   Image-list layout
   ========================================================================== */

.btr-image-list-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 3rem;
}

.btr-image-left .btr-section-copy {
    order: 2;
}

.btr-image-left .btr-section-image {
    order: 1;
}

.btr-image-none .btr-image-list-grid {
    grid-template-columns: 1fr;
}

.btr-section-copy .btr-section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.4rem);
}

.btr-section-image {
    margin: 0;
}

.btr-section-image img {
    display: block;
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 14px 35px rgba(20, 20, 20, 0.08);
}

/* ==========================================================================
   Feature and comparison cards
   ========================================================================== */

.btr-feature-card,
.btr-comparison-card {
    display: block;
    min-height: 210px;
    padding: 2rem;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    color: inherit;
    background-color: #ffffff;
    text-decoration: none;
}

.btr-feature-card h3,
.btr-comparison-card h3 {
    margin: 1.1rem 0 0.75rem;
    color: #111111;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.btr-feature-card p,
.btr-comparison-card p {
    margin: 0;
    color: #696969;
    font-size: 1rem;
    line-height: 1.65;
}

/* ==========================================================================
   Process layout
   ========================================================================== */

.btr-process-grid {
    align-items: stretch;
    gap: 2rem;
}

.btr-process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.btr-process-icon-wrap {
    position: relative;
    display: inline-flex;
    margin-bottom: 1.25rem;
}

.btr-item-icon-process {
    width: 66px;
    height: 66px;
    padding: 18px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #3d176d 0%,
        #59278a 60%,
        #b773b0 100%
    );
}

.btr-process-number {
    position: absolute;
    top: -8px;
    right: -7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    color: #ffffff;
    background-color: #bd79b4;
    font-size: 0.9rem;
    font-weight: 700;
}

.btr-process-step h3 {
    min-height: 1.6em;
    margin: 0 0 0.75rem;
    color: #111111;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.btr-process-step p {
    max-width: 260px;
    min-height: 4.8em;
    margin: 0 auto;
    color: #6c6c6c;
    font-size: 0.95rem;
    line-height: 1.6;
}

.btr-bg-purple .btr-item-title,
.btr-bg-purple .btr-feature-card h3,
.btr-bg-purple .btr-comparison-card h3,
.btr-bg-purple .btr-process-step h3 {
    color: #111111;
}

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

@media (max-width: 900px) {
    .btr-columns-4,
    .btr-columns-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .btr-image-list-grid {
        grid-template-columns: 1fr;
    }

    .btr-image-left .btr-section-copy,
    .btr-image-left .btr-section-image {
        order: initial;
    }

    .btr-section-image img {
        height: auto;
        max-height: 520px;
    }
}

@media (max-width: 600px) {
    .btr-content-section {
        padding: 4rem 1.25rem;
    }

    .btr-content-section.btr-width-contained {
        width: min(calc(100% - 2rem), 1180px);
    }

    .btr-columns-4,
    .btr-columns-3,
    .btr-columns-2 {
        grid-template-columns: 1fr;
    }

    .btr-section-header {
        margin-bottom: 2.5rem;
    }

    .btr-feature-card,
    .btr-comparison-card {
        min-height: 0;
        padding: 1.5rem;
    }

    .btr-section-image img {
        height: auto;
        aspect-ratio: 4 / 3;
    }
}

/**
 * Feature-card formatted descriptions and checklist styling.
 *
 * Author: Emanuel Mandat
 * Company: Zuri IT
 * Modified: 23 July 2026
 */

.btr-feature-description {
    width: 100%;
    color: #5f6570;
    line-height: 1.65;
}

.btr-feature-description p {
    margin: 0 0 16px;
}

.btr-feature-description p:last-child {
    margin-bottom: 0;
}

.btr-feature-description ul {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.btr-feature-description li {
    position: relative;
    margin: 0;
    padding-left: 25px;
    color: #111111;
    line-height: 1.45;
}

.btr-feature-description li::before {
    content: "✓";
    position: absolute;
    top: 0.08em;
    left: 0;

    display: inline-flex;
    width: 15px;
    height: 15px;
    align-items: center;
    justify-content: center;

    border: 1.5px solid #c16bc5;
    border-radius: 50%;
    color: #c16bc5;

    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}
/**
 * Individual Page Section item backgrounds.
 *
 * Author: Emanuel Mandat
 * Company: Zuri IT
 * Modified: 23 July 2026
 */

.btr-item-background-white {
    background-color: #ffffff;
    color: #17131d;
}

.btr-item-background-soft-grey {
    background-color: #f4f4f6;
    color: #17131d;
}

.btr-item-background-purple {
    background-color: #4f2b75;
    color: #ffffff;
}

.btr-item-background-purple h2,
.btr-item-background-purple h3,
.btr-item-background-purple h4,
.btr-item-background-purple p,
.btr-item-background-purple li {
    color: inherit;
}

.btr-item-background-purple a {
    color: #ffffff;
}

.btr-item-background-purple .btr-item-icon {
    color: #ffffff;
}
/**
 * Individual Page Section card backgrounds.
 *
 * Author: Emanuel Mandat
 * Company: Zuri IT
 * Modified: 23 July 2026
 */

.btr-item-background-white {
    background-color: #ffffff;
    color: #17131d;
}

.btr-item-background-soft-grey {
    background-color: #f4f4f6;
    color: #17131d;
}

.btr-item-background-purple {
    background-color: #4f2b75;
    color: #ffffff;
}

.btr-item-background-purple .btr-feature-title,
.btr-item-background-purple .btr-feature-description,
.btr-item-background-purple .btr-feature-description p,
.btr-item-background-purple .btr-feature-description li {
    color: #ffffff;
}

.btr-item-background-purple .btr-item-icon {
    color: #ffffff;
}

/**
 * Individual Page Section card backgrounds.
 *
 * Author: Emanuel Mandat
 * Company: Zuri IT
 * Modified: 23 July 2026
 */

.btr-feature-card.btr-item-background-white {
    background-color: #ffffff;
    color: #17131d;
}

.btr-feature-card.btr-item-background-soft-grey {
    background-color: #f4f4f6;
    color: #17131d;
}
/**
 * Purple CTA style.
 *
 * Author: Emanuel Mandat
 * Company: Zuri IT
 * Modified: 23 July 2026
 */

.btr-item-card.btr-item-background-purple {
    background-color: #4f2b75;
    color: #ffffff;
    text-align: center;

    padding: 1rem;
}

.btr-item-card.btr-item-background-purple .btr-item-text-wrap {
    width: 100%;
}

.btr-item-card.btr-item-background-purple .btr-item-title {
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.btr-item-card.btr-item-background-purple .btr-item-description {
    color: rgba(255,255,255,.9) !important;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.btr-item-card.btr-item-background-purple .btr-item-icon {
    display: none;
}