/* ===========================================================================
   SECTION — CLOSING CTA
   =========================================================================== */

.cta {
    position: relative;
    /* Vertical (not angled) so the bottom edge is a uniform navy-d right across
       the width, giving a seamless join into the footer below. */
    background: linear-gradient(180deg, var(--blue-d) 0%, var(--navy) 52%, var(--navy-d) 100%);
    color: var(--white);
    overflow: hidden;
    text-align: center;
    padding-block: clamp(6rem, 12vw, 11rem);
}

.cta__inner { position: relative; z-index: 2; }

.cta__status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
    padding: 0.5rem 1.125rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cta__status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--steel-2);
    flex-shrink: 0;
}

.cta__status-dot.is-open {
    background: var(--turq);
    animation: cta-pulse 2.6s var(--ease-io) infinite;
}

@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(56, 225, 197, 0.6); }
    70%      { box-shadow: 0 0 0 10px rgba(56, 225, 197, 0); }
}

.cta__title {
    color: var(--white);
    max-width: 22ch;
    margin: 0 auto clamp(1.75rem, 3.5vw, 2.75rem);
}

/* Second line steps down to ~72% so it holds on one line */
.cta__hand {
    display: block;
    font-size: 0.72em;
    margin-top: 0.1em;
    color: var(--turq);
}

@media (min-width: 600px) {
    .cta__hand { white-space: nowrap; }
}

/* ---------------------------------------------------------------------------
   Enquiry form — a light card on the dark section, posting to /contact
   --------------------------------------------------------------------------- */
.cta__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 620px;
    margin: 0 auto clamp(1.75rem, 3.5vw, 2.5rem);
    padding: clamp(1.5rem, 3.5vw, 2.5rem);
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    text-align: left;
}

.cta__form-title {
    margin: 0;
    color: var(--navy);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    letter-spacing: -0.01em;
}

.cta__form-row { display: grid; gap: 1rem; }

.cta__field { display: flex; flex-direction: column; gap: 0.4375rem; text-align: left; }

.cta__label { color: var(--blue-d); }

.cta__input {
    width: 100%;
    padding: 0.8125rem 1rem;
    background: var(--pale);
    color: var(--navy);
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid var(--steel);
    border-radius: var(--r-sm);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.cta__input:focus {
    outline: none;
    border-color: var(--turq);
    box-shadow: 0 0 0 4px rgba(56, 225, 197, 0.25);
}

.cta__select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23093E62' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

.cta__textarea { resize: vertical; min-height: 110px; line-height: 1.6; }

.cta__submit { width: 100%; justify-content: center; margin-top: 0.25rem; }

.cta__or {
    margin-bottom: 0.75rem;
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.cta__where {
    font-family: var(--font-ui);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 560px) {
    .cta__form-row { grid-template-columns: 1fr 1fr; }
    .cta__submit { width: auto; align-self: start; }
}

@media (prefers-reduced-motion: reduce) {
    .cta__status-dot.is-open { animation: none; }
}
