/* ==========================================================================
   Reach-out CTA footer — the ONE closing block used site-wide (_ReachCta).
   Self-contained .rc-* so it renders identically on every page that includes
   the partial (home + software landings + kiosk). Dark band pulls the active
   page's aurora hue so it stays cohesive per palette; CTA stays coral.
   Legal-modal styles are provided globally by cart.css.
   ========================================================================== */
/* ONE fixed brand-purple band on every page (not per-page hue) so the footer
   CTA + footer read as a single cohesive dark-purple block site-wide. */
.rc-cta {
    position: relative;
    overflow: hidden;
    background: #0B0524;
    /* Horizontal gutter lives on .rc-grid (header formula) so the content edges
       line up 1:1 with the header bar instead of running 24px wider. */
    padding: clamp(80px, 9vw, 128px) 0;
}
.rc-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 50% at 18% 28%, rgba(142, 104, 213, 0.24) 0%, transparent 70%),
        radial-gradient(ellipse 55% 50% at 85% 82%, rgba(127, 86, 217, 0.18) 0%, transparent 68%);
}
.rc-grid {
    position: relative;
    z-index: 1;
    max-width: var(--hdr-container-max, 1280px);
    margin: 0 auto;
    padding: 0 var(--hdr-px, 24px); /* match .ak-nav-inner so edges align with header */
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: stretch;
    text-align: left;
}

/* --- Left: form --- */
.rc-title { color: #fff; margin: 0 0 10px; }
/* Emphasis gradient FIXED (not per-page hue) so the footer CTA reads identical
   on every page. Beats aurora's per-page .hx-h2 em gradient. */
.rc-cta .rc-title em {
    font-style: normal;
    background: linear-gradient(135deg, #B49BF5 0%, #FF9E88 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}
.rc-sub {
    color: rgba(255, 255, 255, .72);
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.6;
    margin: 0 0 24px;
    max-width: 48ch;
}
.rc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rc-input {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 12px;
    padding: 13px 15px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 15px;
    font-family: inherit;
}
.rc-input::placeholder { color: rgba(255, 255, 255, .5); }
/* Focus = soft lavender that belongs on the purple band (the old coral read as
   an error state). */
.rc-input:focus { outline: none; border-color: rgba(180, 155, 245, .9); background: rgba(255, 255, 255, .13); box-shadow: 0 0 0 3px rgba(140, 104, 213, .25); }
/* Override the global coral :focus-visible ring — on this fixed-purple band a
   coral outline clashes; use a lavender ring that matches the section. */
.rc-input:focus-visible { outline: 2px solid rgba(180, 155, 245, .95) !important; outline-offset: 2px !important; }
.rc-textarea { resize: vertical; min-height: 92px; }
.rc-submit {
    width: 100%;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 15px 28px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--font-display, 'Inter', sans-serif);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--c-cta-from, #FF7A5C) 0%, var(--c-cta-to, #F43F5E) 100%);
    box-shadow: 0 4px 14px -4px rgba(244, 63, 94, .4), inset 0 1px 0 rgba(255, 255, 255, .15);
    transition: transform .14s, box-shadow .18s, background .18s;
}
.rc-submit:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, var(--c-cta-hover-from, #F76A4D) 0%, var(--c-cta-hover-to, #E0334C) 100%);
    box-shadow: 0 14px 30px -10px rgba(244, 63, 94, .55), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.rc-submit:disabled { opacity: .7; cursor: default; transform: none; }
.rc-microcopy { margin: 20px 0 0; font-size: 12px; color: rgba(255, 255, 255, .55); }
.rc-microcopy a { color: rgba(255, 255, 255, .82); text-decoration: underline; cursor: pointer; transition: color .18s; }
/* Harmonize Terms/Privacy hover with the purple band (was inheriting a clashing
   global link-hover color). */
.rc-microcopy a:hover { color: #fff; text-decoration-color: rgba(180, 155, 245, .9); }
.rc-status { margin: 12px 0 0; font-size: 13px; font-weight: 600; }
.rc-status.is-ok { color: #6EE7B7; }
.rc-status.is-err { color: #FDA29B; }

/* --- Right: contact panel — Live support + Offices only, generously spaced so
   the column carries real weight next to the form (not a thin afterthought). --- */
.rc-info {
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 3vw, 44px);
    justify-content: center;
    padding: 6px 0 6px clamp(36px, 4vw, 60px);
    border-left: 1px solid rgba(255, 255, 255, .14);
}
.rc-info-block { display: flex; flex-direction: column; gap: 12px; }
.rc-info-lbl { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .5); }
.rc-info-chat {
    align-self: flex-start;
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 17px; font-weight: 700; color: #fff;
    background: 0; border: 0; padding: 0; cursor: pointer; text-align: left; font-family: inherit;
    transition: color .15s, gap .15s;
}
.rc-info-chat::after { content: "→"; transition: transform .15s; }
.rc-info-chat:hover { color: #FF9E88; }
.rc-info-chat:hover::after { transform: translateX(3px); }
.rc-offices { display: flex; flex-direction: column; gap: 14px; }
.rc-office { display: flex; gap: 10px; font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .82); line-height: 1.5; }
.rc-flag { flex: 0 0 auto; font-size: 16px; line-height: 1.4; }

@media (max-width: 860px) {
    .rc-grid { grid-template-columns: 1fr; gap: 28px; }
    .rc-info { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); padding: 28px 0 0; }
}
@media (max-width: 991px) { .rc-cta { padding: clamp(56px, 8vw, 80px) 0; } }
@media (max-width: 560px) { .rc-row { grid-template-columns: 1fr; } }
