/* =========================================
   Branches & Taxes Feature Page
   ========================================= */

:root {
    --bt-primary: #1a56db;
    --bt-primary-hover: #1e40af;
    --bt-bg-light: #F8FAFC;
    --bt-bg-white: #FFFFFF;
    --bt-text-main: #0F172A;
    --bt-text-muted: #475569;
    --bt-border-radius: 14px;
    --bt-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Section Header --- */
.bt-section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-inline: auto;
}

.bt-section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--bt-text-main);
}

.bt-section-header p {
    font-size: 1.15rem;
    color: var(--bt-text-muted);
}

/* --- Scroll Animation --- */
.bt-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.bt-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   EMPATHY SECTION
   ========================================= */
.bt-empathy-theme {
    background-color: var(--primary-background);
    background-image: radial-gradient(rgba(10, 25, 47, 0.05) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    color: var(--bt-text-main);
}

.bt-empathy-theme .bt-section-header h2 {
    color: var(--bt-text-main);
}

.bt-empathy-theme .bt-section-header p {
    color: var(--bt-text-muted);
}

.bt-empathy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.bt-empathy-card {
    border-radius: var(--bt-border-radius);
    overflow: hidden;
    transition: var(--bt-transition);
    background-color: var(--primary-header-and-footer-logo);
    border: 1.5px solid #dbe2f9;
}

.bt-empathy-card:hover {
    transform: translateY(-4px);
    box-shadow: 5px 5px 0 rgba(10, 25, 47, 0.08);
    border-color: #93a5d6;
}

.bt-empathy-card--icon {
    padding: 32px;
    text-align: center;
}

.bt-empathy-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.bt-empathy-icon--red {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.bt-empathy-icon--orange {
    background-color: rgba(255, 123, 38, 0.1);
    color: #ff7b26;
}

.bt-empathy-icon--purple {
    background-color: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.bt-empathy-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--bt-text-main);
}

.bt-empathy-card p {
    font-size: 0.9rem;
    color: var(--bt-text-muted);
    line-height: 1.7;
    margin: 0;
}

.bt-empathy-conclusion {
    margin-top: 48px;
    text-align: center;
    padding: 24px 32px;
    background-color: var(--primary-header-and-footer-logo);
    border: 1.5px solid #dbe2f9;
    border-radius: var(--bt-border-radius);
    transition: var(--bt-transition);
}

.bt-empathy-conclusion:hover {
    transform: translateY(-4px);
    box-shadow: 5px 5px 0 rgba(10, 25, 47, 0.08);
    border-color: #93a5d6;
}

.bt-empathy-conclusion p {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bt-text-main);
    margin: 0;
}

/* =========================================
   BENTO GRID (Features)
   ========================================= */
.bt-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.bt-bento-card {
    background-color: var(--primary-header-and-footer-logo);
    border: 1.5px solid #dbe2f9;
    border-radius: var(--bt-border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--bt-transition);
}

.bt-bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 5px 5px 0 rgba(10, 25, 47, 0.08);
    border-color: #93a5d6;
}

.bt-bento-card--wide {
    grid-column: 1 / -1;
}

/* Thematic group card — holds two related features */
.bt-bento-card--group {
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.bt-bento-group-label {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bt-text-muted);
    background-color: var(--primary-background);
    border: 1px solid #dbe2f9;
    border-radius: 999px;
    padding: 4px 14px;
    margin-bottom: 8px;
}

.bt-bento-group-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 0;
}

.bt-bento-group-item + .bt-bento-group-item {
    border-top: 1px solid #f1f5f9;
}

.bt-bento-group-item .bt-bento-icon {
    width: 48px;
    height: 48px;
    margin: 0;
    flex-shrink: 0;
}

.bt-bento-group-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--bt-text-main);
    line-height: 1.5;
}

.bt-bento-group-item p {
    font-size: 0.85rem;
    color: var(--bt-text-muted);
    line-height: 1.7;
    margin: 0;
}

.bt-bento-card-content {
    padding: 28px 28px 20px;
}

.bt-bento-card-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--bt-text-main);
    line-height: 1.4;
}

.bt-bento-card-content p {
    font-size: 0.9rem;
    color: var(--bt-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Icon Cards */
.bt-bento-card--icon {
    padding: 28px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.bt-bento-card--icon h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.bt-bento-card--icon p {
    font-size: 0.85rem;
}

.bt-bento-card--icon .bt-bento-icon {
    margin-bottom: 16px;
}

.bt-bento-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.bt-bento-icon--blue {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.bt-bento-icon--green {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.bt-bento-icon--teal {
    background-color: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
}

.bt-bento-icon--orange {
    background-color: rgba(255, 123, 38, 0.1);
    color: #ff7b26;
}

.bt-bento-icon--purple {
    background-color: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.bt-bento-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--bt-text-main);
    line-height: 1.4;
}

.bt-bento-card p {
    font-size: 0.95rem;
    color: var(--bt-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* =========================================
   BENEFITS SECTION
   ========================================= */
.bt-benefits-theme {
    background-color: var(--primary-background);
    background-image: radial-gradient(rgba(10, 25, 47, 0.05) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    color: var(--bt-text-main);
}

.bt-benefits-theme .bt-section-header h2 {
    color: var(--bt-text-main);
}

.bt-benefits-theme .bt-section-header p {
    color: var(--bt-text-muted);
}

.bt-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.bt-benefit-card {
    background-color: var(--primary-header-and-footer-logo);
    border: 1.5px solid #dbe2f9;
    border-radius: var(--bt-border-radius);
    padding: 32px;
    text-align: center;
    transition: var(--bt-transition);
}

.bt-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 5px 5px 0 rgba(10, 25, 47, 0.08);
    border-color: #93a5d6;
}

.bt-benefit-icon {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.bt-benefit-icon--green {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.bt-benefit-icon--blue {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.bt-benefit-icon--purple {
    background-color: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.bt-benefit-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--bt-text-main);
}

.bt-benefit-card p {
    font-size: 0.9rem;
    color: var(--bt-text-muted);
    line-height: 1.7;
    margin: 0;
}

.bt-benefits-conclusion {
    margin-top: 48px;
    text-align: center;
    padding: 24px 32px;
    background-color: var(--primary-header-and-footer-logo);
    border: 1.5px solid #dbe2f9;
    border-radius: var(--bt-border-radius);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    transition: var(--bt-transition);
}

.bt-benefits-conclusion:hover {
    transform: translateY(-4px);
    box-shadow: 5px 5px 0 rgba(10, 25, 47, 0.08);
    border-color: #93a5d6;
}

.bt-benefits-conclusion p {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bt-text-main);
    margin: 0;
}

/* =========================================
   CTA FORM - Disable Animations
   ========================================= */
.bt-main .cta-section,
.bt-main .cta-section.bt-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .bt-section-header h2 {
        font-size: 2rem;
    }

    .bt-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bt-bento-card--wide {
        grid-column: 1 / -1;
    }

    .bt-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bt-empathy-cards {
        grid-template-columns: 1fr;
    }

    .bt-bento-grid {
        grid-template-columns: 1fr;
    }

    .bt-bento-card--wide {
        grid-column: 1 / -1;
    }

    .bt-benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .bt-section-header h2 {
        font-size: 1.6rem;
    }

    .bt-bento-card-content {
        padding: 24px 20px 20px;
    }
}
