/* ==========================================================================
   NACS Show 2026 - Call to Action C Component
   (Split Panel: Left Content + Right Side Image)
   White background, navy/black text, optional checklist, optional form
   Tokens: NACSShow2026Tokens.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   CTA C Container (Desktop: side-by-side row)
   -------------------------------------------------------------------------- */
.cta-c {
    display: flex;
    gap: var(--nacs-gutter, 20px);
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: var(--nacs-color-white, #FFFFFF);
}

/* --------------------------------------------------------------------------
   Left Content Panel
   -------------------------------------------------------------------------- */
.cta-c__content {
    flex: 1 0 0;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: flex-start;
    padding: 88px 64px 88px 80px;
}

/* --------------------------------------------------------------------------
   Header Section (Heading + Description)
   -------------------------------------------------------------------------- */
.cta-c__header {
    display: flex;
    flex-direction: column;
    gap: var(--nacs-padding-32, 32px);
    align-items: flex-start;
    width: 100%;
}

.cta-c__heading {
    font-family: var(--nacs-font-gotham);
    font-weight: 700;
    font-size: 64px;
    line-height: 72px;
    letter-spacing: 0;
    text-transform: capitalize;
    color: var(--nacs-color-navy, #00205B);
    margin: 0;
    width: 100%;
}

.cta-c__description {
    font-family: var(--nacs-font-gotham);
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0;
    color: var(--nacs-color-black, #000000);
    margin: 0;
    width: 100%;
}

/* --------------------------------------------------------------------------
   Checklist Items
   -------------------------------------------------------------------------- */
.cta-c__checklist {
    display: flex;
    flex-direction: column;
    gap: var(--nacs-padding-32, 32px);
    align-items: flex-start;
    width: 100%;
}

.cta-c__checklist-item {
    display: flex;
    gap: 16px;
    align-items: center;
    width: 100%;
}

.cta-c__check-icon {
    width: 21px;
    height: 14px;
    flex-shrink: 0;
}

.cta-c__checklist-text {
    flex: 1 0 0;
    min-width: 0;
    font-family: var(--nacs-font-gotham);
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0;
    color: var(--nacs-color-black, #000000);
    margin: 0;
}

/* --------------------------------------------------------------------------
   Email Form (optional)
   -------------------------------------------------------------------------- */
.cta-c__form {
    display: flex;
    gap: var(--nacs-padding-32, 32px);
    align-items: flex-end;
    width: 100%;
}

.cta-c__form-field {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.cta-c__form-label {
    font-family: var(--nacs-font-gotham);
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: var(--nacs-color-black, #000000);
}

.cta-c__form-input {
    width: 100%;
    height: 48px;
    padding: 0 24px;
    background-color: #F1F1F1;
    border: none;
    border-radius: 4px;
    font-family: var(--nacs-font-gotham);
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: var(--nacs-color-black, #000000);
    outline: none;
}

.cta-c__form-input::placeholder {
    color: var(--nacs-color-black, #000000);
}

.cta-c__form-hint {
    font-family: var(--nacs-font-gotham);
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--nacs-color-grey-mid, #818181);
}

.cta-c__form-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 56px;
    padding: 0 24px;
    background-color: var(--nacs-color-yellow, #FAE100);
    border-radius: 360px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-c__form-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.cta-c__form-btn-text {
    font-family: var(--nacs-font-gotham);
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--nacs-color-navy, #00205B);
}

/* --------------------------------------------------------------------------
   Button Group
   -------------------------------------------------------------------------- */
.cta-c__buttons {
    display: flex;
    gap: var(--nacs-padding-32, 32px);
    align-items: center;
}

.cta-c__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 56px;
    padding: 0 24px;
    border-radius: 360px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.cta-c__btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

/* Primary Button (yellow) */
.cta-c__btn--primary {
    background-color: var(--nacs-color-yellow, #FAE100);
}

.cta-c__btn--primary .cta-c__btn-text {
    font-family: var(--nacs-font-gotham);
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--nacs-color-navy, #00205B);
}

/* Secondary Button (green glass) */
.cta-c__btn--secondary {
    background: var(--nacs-glass-green-bg, rgba(120, 190, 32, 0.15));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cta-c__btn--secondary .cta-c__btn-text {
    font-family: var(--nacs-font-gotham);
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--nacs-color-green-dark, #1A5E20);
}

.cta-c__btn-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Right Side Image
   -------------------------------------------------------------------------- */
.cta-c__image-wrapper {
    flex: 1 0 0;
    display: flex;
    align-items: center;
    align-self: stretch;
}

.cta-c__image-container {
    flex: 1 0 0;
    min-width: 0;
    min-height: 0;
    height: 100%;
    position: relative;
}

.cta-c__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --------------------------------------------------------------------------
   Mobile Styles (max-width: 768px)
   Stacked layout: content on top, image below
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    .cta-c {
        display: block;
        gap: 0;
    }

    .cta-c__content {
        flex: none;
        min-width: auto;
        min-height: auto;
        width: 100%;
        gap: 40px;
        padding: 64px 20px 40px 20px;
        box-sizing: border-box;
        position: relative;
        z-index: 1;
    }

    .cta-c__header {
        display: flex;
        flex-direction: column;
        gap: var(--nacs-padding-24, 24px);
        width: 100%;
    }

    .cta-c__heading,
    .cta-c__description {
        flex-shrink: 0;
        width: 100%;
    }

    .cta-c__heading {
        font-size: 48px;
        line-height: 56px;
    }

    .cta-c__description {
        display: block;
        font-size: 16px;
        line-height: 18px;
        white-space: pre-line;
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-height: 1em;
    }

    .cta-c__checklist {
        gap: var(--nacs-padding-24, 24px);
    }

    .cta-c__checklist-item {
        gap: 12px;
    }

    .cta-c__checklist-text {
        font-size: 16px;
        line-height: 18px;
    }

    /* Form: stacked vertically on mobile, hide the inline form button */
    .cta-c__form {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    .cta-c__form-field {
        width: 100%;
    }

    .cta-c__form-label {
        font-size: 14px;
        line-height: 20px;
    }

    .cta-c__form-hint {
        font-size: 12px;
        line-height: 16px;
    }

    .cta-c__form-btn {
        display: none;
    }

    .cta-c__buttons {
        gap: var(--nacs-padding-24, 24px);
    }

    .cta-c__btn {
        height: 48px;
        padding: 0 20px;
    }

    .cta-c__btn--primary .cta-c__btn-text,
    .cta-c__btn--secondary .cta-c__btn-text {
        font-size: 14px;
        line-height: 20px;
    }

    /* Image below content */
    .cta-c__image-wrapper {
        display: block;
        width: 100%;
        flex: none;
        align-self: auto;
        box-sizing: border-box;
    }

    .cta-c__image-container {
        display: block;
        position: relative;
        height: 560px;
        flex: none;
        width: 100%;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 360px) {
    .cta-c__heading {
        font-size: 36px;
        line-height: 44px;
    }

    .cta-c__image-container {
        height: 400px;
    }
}
