/* ============================================================
   Evoltima CTA Section — style.css
   Two dark side-by-side blocks, full width, no container.
   ============================================================ */

.evoltima-cta {
    display: block;
    width: 100%;
}

/* ── Grid: two equal columns, edge to edge ────────────────── */

.evoltima-cta__grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr; /* 1px = divider column */
    min-height: 420px;
}

/* ── Shared block styles ──────────────────────────────────── */

.evoltima-cta__block {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
    text-align: center;
    overflow: hidden;
    transition: background-color 0.4s ease;
}

/* Subtle animated gradient overlay on hover */
.evoltima-cta__block::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.evoltima-cta__block:hover::before {
    opacity: 1;
}

/* Left — near black */
.evoltima-cta__block--left {
    background-color: #1a1a1a;
}

.evoltima-cta__block--left::before {
    background: radial-gradient( ellipse at center, rgba(255,255,255,0.04) 0%, transparent 70% );
}

/* Right — warm very dark (ties to cream palette) */
.evoltima-cta__block--right {
    background-color: #1e1b17;
}

.evoltima-cta__block--right::before {
    background: radial-gradient( ellipse at center, rgba(255,255,255,0.04) 0%, transparent 70% );
}

/* ── Vertical divider ─────────────────────────────────────── */

.evoltima-cta__divider {
    background-color: rgba(255, 255, 255, 0.10);
    align-self: stretch;
}

/* ── Inner content ────────────────────────────────────────── */

.evoltima-cta__block-inner {
    position: relative;
    z-index: 1;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* ── Label ────────────────────────────────────────────────── */

.evoltima-cta__label {
    font-family: var(--evoltima-font-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 18px;
    transition: color 0.3s ease;
}

.evoltima-cta__block:hover .evoltima-cta__label {
    color: rgba(255, 255, 255, 0.65);
}

/* ── Heading ──────────────────────────────────────────────── */

.evoltima-cta__heading {
    font-family: var(--evoltima-font-serif);
    font-size: clamp(24px, 2.4vw, 36px);
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 22px;
    line-height: 1.22;
    /* Underline that grows in on hover */
    position: relative;
    display: inline-block;
}

.evoltima-cta__heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.35);
    transition: width 0.45s ease;
}

.evoltima-cta__block:hover .evoltima-cta__heading::after {
    width: 56px;
}

/* ── Description ──────────────────────────────────────────── */

.evoltima-cta__text {
    font-family: var(--evoltima-font-sans);
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin: 16px 0 36px;
    max-width: 360px;
    transition: color 0.3s ease;
}

.evoltima-cta__block:hover .evoltima-cta__text {
    color: rgba(255, 255, 255, 0.72);
}

/* ── Buttons ──────────────────────────────────────────────── */

.evoltima-cta__btn {
    display: inline-block;
    padding: 13px 32px;
    font-family: var(--evoltima-font-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

/* Left button: white fill → inverts on hover */
.evoltima-cta__btn--filled {
    background-color: #ffffff;
    color: #1a1a1a;
    border: 1.5px solid #ffffff;
}

.evoltima-cta__btn--filled:hover {
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
}

/* Right button: outline → fills on hover */
.evoltima-cta__btn--outline {
    background-color: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.evoltima-cta__btn--outline:hover {
    background-color: #ffffff;
    color: #1a1a1a;
    border-color: #ffffff;
    text-decoration: none;
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 768px) {
    .evoltima-cta__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1px auto;
    }

    /* Divider becomes horizontal on mobile */
    .evoltima-cta__divider {
        background-color: rgba(255, 255, 255, 0.10);
        height: 1px;
        width: 100%;
    }

    .evoltima-cta__block {
        padding: 64px 32px;
        min-height: 320px;
    }
}

@media (max-width: 480px) {
    .evoltima-cta__block {
        padding: 56px 24px;
    }

    .evoltima-cta__btn {
        width: 100%;
        text-align: center;
    }
}
