/* ==========================================================================
   B2B Landing Styles (Uniform #eff8ff background & Homepage Article Card Match)
   ========================================================================== */

.b2b-page,
.b2b-page .section,
.b2b-hero,
.b2b-benefits,
.b2b-calc-section,
.b2b-packages-section,
.b2b-clinical-section,
.b2b-articles-teaser,
.b2b-lead-section {
    background-color: #eff8ff !important;
}

.b2b-section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary, #b62881);
    margin-bottom: 12px;
}

.b2b-pill-badge {
    display: inline-flex;
    align-items: center;
    background: #f8d7ec;
    color: var(--primary-dark, #6f0d4b);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: var(--pill, 60px);
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}

.b2b-card {
    background: var(--card, #fff);
    border-radius: var(--radius, 24px);
    padding: 32px;
    box-shadow: 0 10px 28px rgba(35, 48, 68, 0.06);
    border: 1px solid rgba(203, 141, 180, 0.2);
}

.btn--block {
    width: 100%;
}

/* 1. Hero */
.b2b-hero {
    padding-top: 40px;
    padding-bottom: 60px;
}

.b2b-hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.b2b-hero__title {
    font-size: 46px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--primary-dark, #6f0d4b);
    margin-bottom: 20px;
}

.b2b-hero__subtitle {
    font-size: 17px;
    line-height: 1.5;
    color: var(--ink, #29233e);
    margin-bottom: 32px;
    max-width: 560px;
}

.b2b-hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.b2b-hero__media {
    border-radius: var(--radius, 24px);
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(35, 48, 68, 0.08);
}

.b2b-hero__photo {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

/* 2. Benefits */
.b2b-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.b2b-benefit-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.b2b-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(35, 48, 68, 0.1);
}

.b2b-benefit-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f8d7ec;
    color: var(--primary, #b62881);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.b2b-benefit-card__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink, #29233e);
    margin-bottom: 12px;
}

.b2b-benefit-card__text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted, #625f6d);
    margin: 0;
}

/* 3. Calculator */
.b2b-calc__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.b2b-calc__title {
    text-align: left;
    margin-bottom: 16px;
}

.b2b-calc__desc {
    font-size: 18px;
    line-height: 1.5;
    color: var(--muted, #625f6d);
    margin-bottom: 24px;
}

.b2b-calc__notice {
    background: #dff2fc;
    border-radius: var(--radius-md, 16px);
    padding: 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #1B4965;
}

.b2b-calc__box {
    padding: 36px;
}

.b2b-calc__inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.b2b-field {
    margin-bottom: 16px;
}

.b2b-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted, #625f6d);
    margin-bottom: 6px;
}

.b2b-input-wrap {
    position: relative;
    border: 1px solid #cb8db4;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.b2b-input-wrap input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink, #29233e);
}

.b2b-input-wrap--percent input,
.b2b-input-wrap--rub input {
    padding-right: 36px;
}

.b2b-unit {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: var(--muted, #625f6d);
    pointer-events: none;
}

.b2b-calc__results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.b2b-kpi {
    background: #fff;
    border: 1px solid #cb8db4;
    border-radius: var(--radius-md, 16px);
    padding: 16px;
    text-align: center;
}

.b2b-kpi--featured {
    background: var(--primary, #b62881);
    border-color: var(--primary, #b62881);
    color: #fff;
}

.b2b-kpi__value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.b2b-kpi__label {
    font-size: 12px;
    line-height: 1.3;
    opacity: 0.85;
}

/* 4. Packages (Strictly Figma: NO inner button) */
.b2b-packages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.b2b-pack-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease;
}

.b2b-pack-card:hover {
    transform: translateY(-4px);
}

.b2b-pack-card--featured {
    background: var(--primary, #b62881);
    color: #fff;
    transform: scale(1.03);
    box-shadow: 0 16px 36px rgba(182, 40, 129, 0.25);
    border-color: transparent;
}

.b2b-pack-card--featured:hover {
    transform: scale(1.05);
}

.b2b-pack-card__icon {
    color: var(--primary, #b62881);
    margin-bottom: 8px;
}

.b2b-pack-card--featured .b2b-pack-card__icon {
    color: #fff;
}

.b2b-pack-card__title {
    font-size: 26px;
    font-weight: 600;
    margin: 8px 0 16px;
}

.b2b-pack-card__img {
    max-width: 240px;
    height: auto;
    margin-bottom: 16px;
}

.b2b-pack-card__amount {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary, #b62881);
    margin-bottom: 6px;
}

.b2b-pack-card--featured .b2b-pack-card__amount {
    color: #fff;
}

.b2b-pack-card__target {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
}

.b2b-pack-card__text {
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.8;
    margin: 0;
}

/* 5. Clinical Section */
.b2b-clinical__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 36px;
}

.b2b-clinical__cards {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.b2b-doc-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.b2b-doc-card__icon {
    color: var(--primary, #b62881);
}

.b2b-doc-card__title {
    font-size: 22px;
    font-weight: 600;
    margin: 16px 0 12px;
}

.b2b-doc-card__desc {
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted, #625f6d);
    margin-bottom: 16px;
}

.b2b-doc-card__meta {
    font-size: 13px;
    font-weight: 600;
    color: #168a62;
}

.b2b-table-card__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.b2b-table-wrap {
    overflow-x: auto;
}

.b2b-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.b2b-table th {
    background: var(--primary, #b62881);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 500;
}

.b2b-table th:first-child { border-radius: 8px 0 0 8px; }
.b2b-table th:last-child { border-radius: 0 8px 8px 0; }

.b2b-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0d5e6;
    color: var(--ink, #29233e);
}

.b2b-clinical__banner {
    border-radius: var(--radius, 24px);
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(35, 48, 68, 0.08);
}

.b2b-clinical__photo {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}

/* 6. Lead Section */
.b2b-lead-box {
    background: var(--primary, #b62881);
    border-radius: var(--radius, 24px);
    padding: 64px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
    color: #fff;
    box-shadow: 0 16px 40px rgba(182, 40, 129, 0.2);
}

.b2b-lead__title {
    font-size: 40px;
    line-height: 1.2;
    color: #fff;
    font-weight: 600;
    margin-bottom: 16px;
}

.b2b-lead__subtitle {
    font-size: 17px;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 32px;
}

.b2b-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.b2b-step {
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.b2b-step span {
    font-weight: 700;
    opacity: 0.7;
}

.b2b-form-card {
    background: #fff;
    border-radius: var(--radius, 24px);
    padding: 36px;
    color: var(--ink, #29233e);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.b2b-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.b2b-form-card .b2b-field input {
    width: 100%;
    height: 48px;
    border: 1px solid #cb8db4;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 15px;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.b2b-form-card .b2b-field input:focus {
    border-color: var(--primary, #b62881);
    box-shadow: 0 0 0 3px rgba(182, 40, 129, 0.15);
}

.b2b-consent-text {
    font-size: 12px;
    color: var(--muted, #777);
    margin: 12px 0 0;
    text-align: center;
    line-height: 1.4;
}

.b2b-consent-text a {
    text-decoration: underline;
    color: inherit;
}

/* Responsive */
@media (max-width: 992px) {
    .b2b-hero__grid,
    .b2b-calc__grid,
    .b2b-lead-box,
    .b2b-clinical__cards {
        grid-template-columns: 1fr;
    }
    
    .b2b-benefits__grid,
    .b2b-packages__grid {
        grid-template-columns: 1fr;
    }
    
    .b2b-pack-card--featured {
        transform: none;
    }
    
    .b2b-hero__title {
        font-size: 34px;
    }
    
    .b2b-lead-box {
        padding: 36px 24px;
    }
}

@media (max-width: 576px) {
    .b2b-calc__inputs,
    .b2b-calc__results,
    .b2b-form__row {
        grid-template-columns: 1fr;
    }
    
    .b2b-hero__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .b2b-hero__actions .btn {
        width: 100%;
    }
}
