/* ===========================================
   blocks.css — All public page section blocks
   Mobile-first, branding variables
   =========================================== */

/* ---- Shared ---- */
[class^="block-"] { box-sizing: border-box; }
[class^="block-"] *, [class^="block-"] *::before, [class^="block-"] *::after { box-sizing: border-box; }

.block-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) { .block-inner { padding: 0 28px; } }
@media (min-width: 1024px) { .block-inner { padding: 0 40px; } }


/* ===========================================
   HERO
   =========================================== */
.block-hero {
    position: relative;
    padding: 60px 0 48px;
    background: var(--brand-bg-secondary, #f9fafb);
    overflow: hidden;
    font-family: var(--brand-font-body, 'Inter', sans-serif);
}

.block-hero--image { background: #111; }

.block-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.block-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.block-hero__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.block-hero__title {
    font-family: var(--brand-font-heading, 'Inter', sans-serif);
    font-weight: var(--brand-font-heading-weight, 700);
    color: var(--brand-text, #111827);
    margin-bottom: 16px;
}

.block-hero__title h1 { font-size: 36px; line-height: 1.15; margin: 0; }

.block-hero--image .block-hero__title,
.block-hero--image .block-hero__subtitle,
.block-hero--image .block-hero__trust { color: #fff; }

.block-hero__subtitle {
    font-size: 17px;
    line-height: 1.6;
    color: var(--brand-text-secondary, #6B7280);
    margin-bottom: 24px;
    max-width: 600px;
}

.block-hero--image .block-hero__subtitle { color: rgba(255,255,255,0.8); }

.block-hero__trust {
    font-size: 14px;
    color: var(--brand-text-secondary, #6B7280);
    margin-bottom: 20px;
}

.block-hero__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.block-hero__btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: var(--brand-btn-radius, 8px);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.block-hero__btn--primary {
    background: var(--brand-btn-bg, #2563EB);
    color: var(--brand-btn-text, #fff);
}

.block-hero__btn--primary:hover {
    background: var(--brand-btn-hover, #1D4ED8);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.block-hero__btn--secondary {
    background: transparent;
    color: var(--brand-primary, #2563EB);
    border: 1px solid var(--brand-primary, #2563EB);
}

.block-hero--image .block-hero__btn--secondary {
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.block-hero__btn--secondary:hover {
    background: rgba(37, 99, 235, 0.06);
}

.block-hero__stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.block-hero__stat-number {
    display: block;
    font-family: var(--brand-font-heading, 'Inter', sans-serif);
    font-weight: 700;
    font-size: 28px;
    color: var(--brand-primary, #2563EB);
}

.block-hero--image .block-hero__stat-number { color: #fff; }

.block-hero__stat-label {
    font-size: 13px;
    color: var(--brand-text-secondary, #6B7280);
}

.block-hero--image .block-hero__stat-label { color: rgba(255,255,255,0.7); }

@media (min-width: 768px) {
    .block-hero { padding: 80px 0 64px; }
    .block-hero__inner { padding: 0 28px; }
    .block-hero__title h1 { font-size: 44px; }
}

@media (min-width: 1024px) {
    .block-hero { padding: 100px 0 80px; }
    .block-hero__inner { padding: 0 40px; }
    .block-hero__title h1 { font-size: 52px; }
}


/* ===========================================
   SERVICES GRID
   =========================================== */
.block-services { padding: 56px 0; font-family: var(--brand-font-body, 'Inter', sans-serif); }

.block-services__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.block-services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.block-services__card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--brand-bg, #fff);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 28px 24px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s;
}

/* Glow background effect on hover */
.block-services__card::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        rgba(37, 99, 235, 0.1) 0%,
        rgba(37, 99, 235, 0.04) 50%,
        transparent 75%
    );
    z-index: 0;
}

.block-services__card:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

.block-services__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
    border-color: rgba(37, 99, 235, 0.2);
}

.block-services__card > * { position: relative; z-index: 1; }

/* Clickable card link style */
a.block-services__card {
    text-decoration: none;
    color: inherit;
}

.block-services__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: var(--brand-primary, #2563EB);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.block-services__card:hover .block-services__icon {
    transform: scale(1.1);
}

.block-services__icon svg { width: 100%; height: 100%; }
.block-services__icon img { width: 48px; height: 48px; object-fit: contain; }

.block-services__title {
    font-family: var(--brand-font-heading, 'Inter', sans-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--brand-text, #111827);
    margin: 0 0 8px;
    transition: color 0.25s;
}

.block-services__card:hover .block-services__title {
    color: var(--brand-primary, #2563EB);
}

.block-services__desc {
    font-size: 14px;
    color: var(--brand-text-secondary, #6B7280);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.block-services__price {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-primary, #2563EB);
    margin-top: 14px;
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.06);
    border-radius: 8px;
    align-self: flex-start;
}

@media (min-width: 640px) {
    .block-services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .block-services__inner { padding: 0 28px; }
}

@media (min-width: 1024px) {
    .block-services__inner { padding: 0 40px; }
    .block-services__grid { grid-template-columns: repeat(var(--sg-cols, 3), 1fr); }
}


/* ===========================================
   TEXT + IMAGE
   =========================================== */
.block-text-image { padding: 56px 0; font-family: var(--brand-font-body, 'Inter', sans-serif); }

.block-text-image__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.block-text-image__text {
    flex: 1;
    font-size: 15px;
    line-height: 1.7;
    color: var(--brand-text, #111827);
}

.block-text-image__text h2 { font-family: var(--brand-font-heading); font-size: 28px; margin: 0 0 16px; }

.block-text-image__media {
    flex: 1;
    max-width: 100%;
}

.block-text-image__media img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .block-text-image__inner { flex-direction: row; padding: 0 28px; gap: 48px; }
    .block-text-image--img-left .block-text-image__inner { flex-direction: row-reverse; }
}

@media (min-width: 1024px) {
    .block-text-image__inner { padding: 0 40px; gap: 64px; }
}


/* ===========================================
   CTA BANNER
   =========================================== */
.block-cta {
    position: relative;
    padding: 56px 0;
    background: var(--brand-primary, #2563EB);
    text-align: center;
    overflow: hidden;
    font-family: var(--brand-font-body, 'Inter', sans-serif);
}

.block-cta__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.block-cta__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.block-cta__inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.block-cta__title { color: #fff; margin-bottom: 12px; }
.block-cta__title h2, .block-cta__title h3 { margin: 0; font-size: 28px; }
.block-cta__text { color: rgba(255,255,255,0.85); font-size: 15px; line-height: 1.6; margin-bottom: 24px; }

.block-cta__btn {
    display: inline-flex;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 500;
    background: #fff;
    color: var(--brand-primary, #2563EB);
    border-radius: var(--brand-btn-radius, 8px);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.block-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}


/* ===========================================
   PRICE TABLE — card rows, glow hover, inline order
   =========================================== */
.block-price {
    padding: 56px 0;
    background: var(--brand-bg, #fff);
    font-family: var(--brand-font-body, 'Inter', sans-serif);
}

.block-price__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.block-price__header {
    text-align: center;
    margin-bottom: 40px;
}

.block-price__title {
    font-family: var(--brand-font-heading, 'Inter', sans-serif);
    font-weight: var(--brand-font-heading-weight, 700);
    color: var(--brand-text, #111827);
    margin-bottom: 8px;
}

.block-price__title h2 { font-size: 32px; margin: 0; }

.block-price__subtitle {
    font-size: 16px;
    color: var(--brand-text-secondary, #6B7280);
    margin: 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Category group */
.block-price__group { margin-bottom: 40px; }
.block-price__group:last-child { margin-bottom: 0; }

.block-price__cat-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--brand-primary, #2563EB);
}

.block-price__cat-title {
    font-family: var(--brand-font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--brand-text, #111827);
    margin: 0;
}

.block-price__cat-count {
    font-size: 13px;
    color: var(--brand-text-secondary, #9CA3AF);
}

/* Row list */
.block-price__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: inherit;
}

/* Individual row — card style */
.block-price__row {
    position: relative;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    background: var(--brand-bg, #fff);
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.block-price__row::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 15px;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.07) 0%, transparent 70%);
    z-index: 0;
}

.block-price__row:hover::before {
    opacity: 1;
    transform: scale(1.05);
}

.block-price__row:hover {
    border-color: rgba(37, 99, 235, 0.15);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.06);
    transform: translateY(-1px);
}

/* Row main content */
.block-price__row-main {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    position: relative;
    z-index: 1;
}

.block-price__name-col {
    flex: 1;
    min-width: 0;
}

.block-price__name {
    font-size: 1em;
    font-weight: 500;
    color: var(--brand-text, #111827);
    display: block;
    transition: color 0.25s;
}

.block-price__row:hover .block-price__name {
    color: var(--brand-primary, #2563EB);
}

.block-price__note {
    font-size: 0.8em;
    color: var(--brand-text-secondary, #9CA3AF);
    margin-top: 2px;
    display: block;
}

.block-price__unit {
    font-size: 0.8em;
    color: var(--brand-text-secondary, #9CA3AF);
    white-space: nowrap;
    padding: 3px 10px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 6px;
    flex-shrink: 0;
}

/* Price */
.block-price__price {
    display: flex;
    align-items: baseline;
    gap: 3px;
    flex-shrink: 0;
    min-width: 90px;
    justify-content: flex-end;
}

.block-price__price-num {
    font-family: var(--brand-font-heading);
    font-weight: 700;
    font-size: 1.3em;
    color: var(--brand-primary, #2563EB);
    line-height: 1;
}

.block-price__price-currency {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--brand-primary, #2563EB);
    opacity: 0.7;
}

.block-price__price-text {
    font-size: 1em;
    font-weight: 600;
    color: var(--brand-primary, #2563EB);
}

/* Order button */
.block-price__order-btn {
    flex-shrink: 0;
    padding: 8px 18px;
    font-family: inherit;
    font-size: 0.85em;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--brand-btn-radius, 8px);
    background: transparent;
    color: var(--brand-primary, #2563EB);
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
}

.block-price__order-btn:hover {
    background: var(--brand-btn-bg, #2563EB);
    color: var(--brand-btn-text, #fff);
    border-color: var(--brand-btn-bg, #2563EB);
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.25);
}

.block-price__order-btn:active { transform: scale(0.96); }

/* Inline form */
.block-price__form {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    background: var(--brand-bg-secondary, #f9fafb);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.block-price__form.is-open {
    max-height: 200px;
}

.block-price__form-inner {
    padding: 16px 20px;
}

.block-price__form-fields {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.block-price__input {
    flex: 1;
    padding: 9px 14px;
    font-family: inherit;
    font-size: 14px;
    border: 1px solid var(--brand-form-border, #D1D5DB);
    border-radius: var(--brand-form-radius, 8px);
    outline: none;
    background: var(--brand-bg, #fff);
    color: var(--brand-text, #111827);
    transition: border-color 0.2s;
}

.block-price__input:focus {
    border-color: var(--brand-form-focus, #2563EB);
}

.block-price__consent {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--brand-text-secondary, #6B7280);
    margin-bottom: 10px;
    cursor: pointer;
}

.block-price__consent input { accent-color: var(--brand-primary, #2563EB); }
.block-price__consent a { color: var(--brand-primary, #2563EB); text-decoration: none; }

.block-price__form-actions {
    display: flex;
    gap: 8px;
}

.block-price__submit-btn {
    padding: 8px 20px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: var(--brand-btn-radius, 8px);
    background: var(--brand-btn-bg, #2563EB);
    color: var(--brand-btn-text, #fff);
    cursor: pointer;
    transition: background 0.2s;
}

.block-price__submit-btn:hover { background: var(--brand-btn-hover, #1D4ED8); }

.block-price__cancel-btn {
    padding: 8px 16px;
    font-family: inherit;
    font-size: 13px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--brand-btn-radius, 8px);
    background: transparent;
    color: var(--brand-text-secondary, #6B7280);
    cursor: pointer;
    transition: border-color 0.2s;
}

.block-price__cancel-btn:hover { border-color: rgba(0, 0, 0, 0.2); }

/* Mobile */
@media (max-width: 640px) {
    .block-price__row-main {
        flex-wrap: wrap;
        gap: 8px;
        padding: 14px 16px;
    }
    .block-price__name-col { flex-basis: 100%; }
    .block-price__unit { order: 1; }
    .block-price__price { order: 2; min-width: auto; }
    .block-price__order-btn { order: 3; width: 100%; text-align: center; }
    .block-price__form-fields { flex-direction: column; }
}

@media (min-width: 768px) {
    .block-price__inner { padding: 0 28px; }
    .block-price__title h2 { font-size: 36px; }
}

@media (min-width: 1024px) {
    .block-price__inner { padding: 0 40px; }
}


/* ===========================================
   CALCULATOR EMBED (placeholder)
   =========================================== */
.block-calculator {
    padding: 56px 0;
    background: var(--brand-bg-secondary, #f9fafb);
    font-family: var(--brand-font-body, 'Inter', sans-serif);
}

.block-calculator__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.block-calculator__title {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 12px;
}

.block-calculator__placeholder {
    color: var(--brand-text-secondary, #6B7280);
}


/* ===========================================
   FAQ ACCORDION
   =========================================== */
.block-faq { padding: 56px 0; font-family: var(--brand-font-body, 'Inter', sans-serif); }

.block-faq__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.block-faq__heading {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 24px;
    text-align: center;
}

.block-faq__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.block-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: var(--brand-text, #111827);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 12px;
}

.block-faq__chevron {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--brand-text-secondary, #6B7280);
}

.block-faq__item.is-open .block-faq__chevron { transform: rotate(180deg); }

.block-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.block-faq__answer-inner {
    padding: 0 0 16px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--brand-text-secondary, #6B7280);
}

@media (min-width: 768px) { .block-faq__inner { padding: 0 28px; } }


/* ===========================================
   PROCESS STEPS
   =========================================== */
.block-process { padding: 56px 0; background: var(--brand-bg-secondary, #f9fafb); font-family: var(--brand-font-body, 'Inter', sans-serif); }

.block-process__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.block-process__heading {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 32px;
    text-align: center;
}

.block-process__steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.block-process__step {
    position: relative;
    text-align: center;
    padding: 0 16px;
}

.block-process__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--brand-bg, #fff);
    border: 2px solid var(--brand-primary, #2563EB);
    color: var(--brand-primary, #2563EB);
    font-family: var(--brand-font-heading);
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 14px;
}

.block-process__number svg { width: 42px; height: 42px; }
.block-process__number img { width: 42px; height: 42px; border-radius: 0; }

.block-process__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-text, #111827);
    margin: 0 0 6px;
}

.block-process__desc {
    font-size: 13.5px;
    color: var(--brand-text-secondary, #6B7280);
    line-height: 1.5;
    margin: 0;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.block-process__connector { display: none; }

@media (min-width: 768px) {
    .block-process__steps { flex-direction: row; justify-content: center; }
    .block-process__step { flex: 1; max-width: 220px; }
    .block-process__connector {
        display: block;
        position: absolute;
        top: 42px;
        left: calc(50% + 48px);
        width: calc(100% - 96px);
        height: 2px;
        background: rgba(0, 0, 0, 0.08);
    }
}


/* ===========================================
   TESTIMONIALS
   =========================================== */
.block-testimonials { padding: 56px 0; font-family: var(--brand-font-body, 'Inter', sans-serif); }

.block-testimonials__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.block-testimonials__heading {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 24px;
    text-align: center;
}

.block-testimonials__scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

.block-testimonials__scroll::-webkit-scrollbar { height: 4px; }
.block-testimonials__scroll::-webkit-scrollbar-track { background: transparent; }
.block-testimonials__scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 4px; }

.block-testimonials__card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: var(--brand-bg, #fff);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 24px;
}

.block-testimonials__stars {
    display: flex;
    gap: 2px;
    color: #F59E0B;
    margin-bottom: 12px;
}

.block-testimonials__text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--brand-text-secondary, #6B7280);
    margin: 0 0 16px;
}

.block-testimonials__author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.block-testimonials__photo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.block-testimonials__name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-text, #111827);
}

.block-testimonials__role {
    font-size: 12px;
    color: var(--brand-text-secondary, #6B7280);
}

@media (min-width: 768px) {
    .block-testimonials__card { flex: 0 0 340px; }
}


/* ===========================================
   STATS COUNTERS
   =========================================== */
.block-stats {
    padding: 48px 0;
    background: var(--brand-bg-secondary, #f9fafb);
    font-family: var(--brand-font-body, 'Inter', sans-serif);
}

.block-stats__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    text-align: center;
}

.block-stats__number {
    font-family: var(--brand-font-heading, 'Inter', sans-serif);
    font-weight: 700;
    font-size: 40px;
    color: var(--brand-primary, #2563EB);
    line-height: 1;
}

.block-stats__suffix {
    font-family: var(--brand-font-heading);
    font-weight: 700;
    font-size: 28px;
    color: var(--brand-primary, #2563EB);
}

.block-stats__label {
    display: block;
    font-size: 14px;
    color: var(--brand-text-secondary, #6B7280);
    margin-top: 4px;
}


/* ===========================================
   CONTACT FORM BLOCK
   =========================================== */
.block-contact { padding: 56px 0; font-family: var(--brand-font-body, 'Inter', sans-serif); }

.block-contact__inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 20px;
}

.block-contact__heading {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 24px;
    text-align: center;
}

.block-contact__fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 640px) {
    .block-contact__fields { grid-template-columns: 1fr 1fr; }
}


/* ===========================================
   CUSTOM HTML (no styling — user controls)
   =========================================== */
.block-custom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ===========================================
   HERO ACCORDION
   Interactive image cards that expand on hover
   =========================================== */
.block-ha {
    padding: 48px 0;
    background: var(--brand-bg, #fff);
    overflow: hidden;
    font-family: var(--brand-font-body, 'Inter', sans-serif);
}

.block-ha__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* ---- Text content (left side on desktop) ---- */
.block-ha__content {
    max-width: 520px;
}

.block-ha__title {
    font-family: var(--brand-font-heading, 'Inter', sans-serif);
    font-weight: var(--brand-font-heading-weight, 700);
    color: var(--brand-text, #111827);
    margin-bottom: 16px;
}

.block-ha__title h1 {
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0;
}

.block-ha__subtitle {
    font-size: 16px;
    line-height: 1.65;
    color: var(--brand-text-secondary, #6B7280);
    margin-bottom: 24px;
}

.block-ha__subtitle a {
    color: var(--brand-link-color, #2563EB);
    text-decoration: none;
    transition: color 0.2s;
}

.block-ha__subtitle a:hover {
    color: var(--brand-link-hover, #1D4ED8);
    text-decoration: underline;
}

.block-ha__btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    background: var(--brand-btn-bg, #2563EB);
    color: var(--brand-btn-text, #fff);
    border-radius: var(--brand-btn-radius, 8px);
    text-decoration: none;
    transition: background 0.25s, box-shadow 0.25s, transform 0.15s;
}

.block-ha__btn:hover {
    background: var(--brand-btn-hover, #1D4ED8);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.block-ha__btn:active { transform: scale(0.97); }

/* ---- Rotating text ---- */
.block-ha__rotate {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    font-family: var(--brand-font-heading, 'Inter', sans-serif);
    font-weight: var(--brand-font-heading-weight, 700);
    font-size: 26px;
    line-height: 1.2;
    color: var(--brand-text, #111827);
}

.block-ha__rotate-fixed {
    white-space: nowrap;
}

.block-ha__rotate-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 1.4em;
    padding: 0 16px;
    border-radius: 10px;
    color: #fff;
    overflow: hidden;
    transition: min-width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.block-ha__rotate-word {
    position: absolute;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.block-ha__rotate-word.is-visible {
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

.block-ha__rotate-word.is-exiting {
    position: absolute;
    opacity: 0;
    transform: translateY(-100%);
}

@media (min-width: 768px) {
    .block-ha__rotate { font-size: 32px; }
    .block-ha__rotate-pill { padding: 0 20px; border-radius: 12px; }
}

@media (min-width: 1024px) {
    .block-ha__rotate { font-size: 38px; }
    .block-ha__rotate-pill { padding: 0 24px; border-radius: 14px; }
}

/* ---- Accordion (right side on desktop) ---- */
.block-ha__accordion {
    display: flex;
    gap: 6px;
    height: 280px;
    width: 100%;
}

.block-ha__card {
    position: relative;
    flex: 0 0 52px;
    min-width: 0;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 700ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: flex;
}

.block-ha__card.is-active {
    flex: 1 1 0;
}

/* Image */
.block-ha__card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Dark overlay */
.block-ha__card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    transition: background 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.block-ha__card.is-active .block-ha__card-overlay {
    background: rgba(0, 0, 0, 0.25);
}

/* Text content on cards */
.block-ha__card-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #fff;
    z-index: 2;
    white-space: nowrap;
    transition: all 700ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Collapsed: vertical centered */
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(50%) rotate(90deg);
    transform-origin: center center;
}

.block-ha__card.is-active .block-ha__card-content {
    /* Active: horizontal at bottom */
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(0) rotate(0deg);
}

.block-ha__card-title {
    font-family: var(--brand-font-heading, 'Inter', sans-serif);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.block-ha__card.is-active .block-ha__card-title {
    font-size: 18px;
}

.block-ha__card-sub {
    font-family: var(--brand-font-body, 'Inter', sans-serif);
    font-size: 13px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 500ms ease 200ms, max-height 500ms ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    text-align: center;
    white-space: normal;
    max-width: 300px;
}

.block-ha__card-sub a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.block-ha__card.is-active .block-ha__card-sub {
    opacity: 1;
    max-height: 80px;
}

/* ---- Responsive: Tablet ---- */
@media (min-width: 768px) {
    .block-ha { padding: 64px 0; }
    .block-ha__inner { padding: 0 28px; gap: 40px; }
    .block-ha__title h1 { font-size: 40px; }
    .block-ha__accordion { height: 380px; }
    .block-ha__card { flex: 0 0 60px; }
}

/* ---- Responsive: Desktop ---- */
@media (min-width: 1024px) {
    .block-ha { padding: 80px 0; }
    .block-ha__inner {
        flex-direction: row;
        align-items: center;
        padding: 0 40px;
        gap: 56px;
    }
    .block-ha__content {
        flex: 0 0 42%;
        max-width: 480px;
    }
    .block-ha__title h1 { font-size: 48px; }
    .block-ha__subtitle { font-size: 17px; }
    .block-ha__accordion {
        flex: 1;
        height: 450px;
    }
    .block-ha__card { flex: 0 0 70px; }
}


/* ===========================================
   CTA + FORM — premium split layout
   =========================================== */
.block-ctf {
    position: relative;
    padding: 64px 0;
    background: var(--brand-bg-secondary, #f9fafb);
    font-family: var(--brand-font-body, 'Inter', sans-serif);
    overflow: hidden;
}

/* Background image + overlay */
.block-ctf__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.block-ctf__overlay {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 0;
}

/* Dark mode (when image overlay >= 30%) — white text on CTA side */
.block-ctf--dark .block-ctf__title,
.block-ctf--dark .block-ctf__title h2 { color: #fff; }
.block-ctf--dark .block-ctf__text { color: rgba(255,255,255,0.8); }
.block-ctf--dark .block-ctf__text a { color: rgba(255,255,255,0.9); border-bottom-color: rgba(255,255,255,0.3); }
.block-ctf--dark .block-ctf__bullet { color: #fff; }
.block-ctf--dark .block-ctf__check { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.12); }

/* Hide decorative orbs when image background is set */
.block-ctf--image::before,
.block-ctf--image::after { display: none; }

/* Subtle decorative gradient orb behind the section */
.block-ctf::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    top: -120px;
    left: -100px;
    pointer-events: none;
}

.block-ctf::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    bottom: -80px;
    right: -60px;
    pointer-events: none;
}

.block-ctf__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 1;
}

/* ---- Left: CTA content ---- */
.block-ctf__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.block-ctf__title {
    font-family: var(--brand-font-heading, 'Inter', sans-serif);
    font-weight: var(--brand-font-heading-weight, 700);
    color: var(--brand-text, #111827);
    margin-bottom: 16px;
}

.block-ctf__title h2 {
    font-size: 32px;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 0;
}

.block-ctf__text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--brand-text-secondary, #6B7280);
    margin-bottom: 32px;
    max-width: 460px;
}

.block-ctf__text a {
    color: var(--brand-link-color, #2563EB);
    text-decoration: none;
    border-bottom: 1px solid rgba(37, 99, 235, 0.3);
    transition: border-color 0.2s;
}

.block-ctf__text a:hover { border-color: var(--brand-link-hover, #1D4ED8); }

.block-ctf__bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.block-ctf__bullet {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15.5px;
    font-weight: 500;
    color: var(--brand-text, #111827);
    transition: transform 0.2s;
}

.block-ctf__bullet:hover {
    transform: translateX(4px);
}

.block-ctf__check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    padding: 5px;
    color: var(--brand-primary, #2563EB);
    background: rgba(37, 99, 235, 0.08);
    border-radius: 8px;
}

/* ---- Right: Form card ---- */
.block-ctf__card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 36px 30px;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.03),
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 20px 60px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 420px;
    transition: box-shadow 0.4s, transform 0.4s;
}

.block-ctf__card:hover {
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.03),
        0 12px 32px rgba(37, 99, 235, 0.08),
        0 24px 72px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* Accent line at top of card */
.block-ctf__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    right: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary, #2563EB), var(--brand-accent, #3B82F6));
    border-radius: 0 0 3px 3px;
}

.block-ctf__form-title {
    font-family: var(--brand-font-heading);
    font-weight: 600;
    font-size: 21px;
    color: var(--brand-text, #111827);
    margin: 0 0 24px;
}

.block-ctf__field {
    margin-bottom: 16px;
}

.block-ctf__label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-text-secondary, #6B7280);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.block-ctf__input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--brand-text, #111827);
    background: var(--brand-bg-secondary, #f9fafb);
    border: 1.5px solid transparent;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.block-ctf__input::placeholder {
    color: var(--brand-text-secondary, #9CA3AF);
    opacity: 0.6;
}

.block-ctf__input:focus {
    border-color: var(--brand-form-focus, #2563EB);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
    background: var(--brand-bg, #fff);
}

.block-ctf__textarea {
    resize: vertical;
    min-height: 70px;
}

.block-ctf__consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 18px 0;
    cursor: pointer;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--brand-text-secondary, #6B7280);
}

.block-ctf__consent input {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--brand-primary, #2563EB);
}

.block-ctf__consent a {
    color: var(--brand-primary, #2563EB);
    text-decoration: none;
}

.block-ctf__consent a:hover { text-decoration: underline; }

.block-ctf__submit {
    display: block;
    width: 100%;
    padding: 14px 24px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    background: var(--brand-btn-bg, #2563EB);
    color: var(--brand-btn-text, #fff);
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: background 0.25s, box-shadow 0.3s, transform 0.15s;
}

.block-ctf__submit:hover {
    background: var(--brand-btn-hover, #1D4ED8);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.block-ctf__submit:active { transform: translateY(0) scale(0.98); }

.block-ctf__submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ---- Responsive ---- */
@media (min-width: 768px) {
    .block-ctf { padding: 72px 0; }
    .block-ctf__inner {
        flex-direction: row;
        align-items: center;
        padding: 0 28px;
        gap: 52px;
    }
    .block-ctf__content { flex: 1; }
    .block-ctf__card { flex-shrink: 0; }
    .block-ctf__title h2 { font-size: 36px; }
}

@media (min-width: 1024px) {
    .block-ctf { padding: 88px 0; }
    .block-ctf__inner {
        padding: 0 40px;
        gap: 72px;
    }
    .block-ctf__title h2 { font-size: 42px; }
    .block-ctf__card { padding: 40px 34px; }
}


/* ===========================================
   CTA + FORM 2 — compact horizontal banner
   =========================================== */
/* Section wrapper — transparent, just centers the card */
section.block-ctf2 {
    font-family: var(--brand-font-body, 'Inter', sans-serif);
    padding: 32px 20px;
}

.block-ctf2__card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    max-width: 1320px;
    margin: 0 auto;
}

.block-ctf2__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.block-ctf2__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.block-ctf2__inner {
    position: relative;
    z-index: 2;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.block-ctf2__title {
    font-family: var(--brand-font-heading, 'Inter', sans-serif);
    font-weight: var(--brand-font-heading-weight, 700);
    color: var(--brand-text, #111827);
    max-width: 460px;
}

.block-ctf2__title h3 {
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
    font-style: italic;
}

/* Form — inline row */
.block-ctf2__fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.block-ctf2__input {
    flex: 1;
    padding: 14px 20px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--brand-text, #111827);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    outline: none;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.block-ctf2__input::placeholder {
    color: var(--brand-text-secondary, #9CA3AF);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.block-ctf2__input:focus {
    border-color: var(--brand-primary, #2563EB);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.block-ctf2__submit {
    padding: 14px 32px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    background: var(--brand-btn-bg, #2563EB);
    color: var(--brand-btn-text, #fff);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.25s, box-shadow 0.3s, transform 0.15s;
}

.block-ctf2__submit:hover {
    background: var(--brand-btn-hover, #1D4ED8);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.block-ctf2__submit:active {
    transform: translateY(0) scale(0.97);
}

.block-ctf2__consent {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 11px;
    line-height: 1.4;
    color: var(--brand-text-secondary, #6B7280);
    cursor: pointer;
    max-width: 600px;
}

.block-ctf2__consent input {
    margin-top: 1px;
    flex-shrink: 0;
    accent-color: var(--brand-primary, #2563EB);
}

.block-ctf2__consent a {
    color: var(--brand-primary, #2563EB);
    text-decoration: none;
}

.block-ctf2__consent a:hover { text-decoration: underline; }

/* ---- Responsive ---- */
@media (min-width: 640px) {
    .block-ctf2__fields {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    section.block-ctf2 { padding: 40px 28px; }
    .block-ctf2__inner { padding: 44px 40px; }
    .block-ctf2__title h3 { font-size: 28px; }
}

@media (min-width: 1024px) {
    section.block-ctf2 { padding: 48px 40px; }
    .block-ctf2__card { border-radius: 24px; }
    .block-ctf2__inner { padding: 48px 52px; gap: 20px; }
    .block-ctf2__title h3 { font-size: 32px; }
    .block-ctf2__input { padding: 16px 24px; }
    .block-ctf2__submit { padding: 16px 40px; font-size: 15px; }
}
