/**
 * ARCADE DIRECT — SHARED DIRECT-CONTACT CTA
 * Design philosophy: a tactile editorial field note. Deep navy creates the stage,
 * teal signals immediate action and two asymmetric contact cards make a human hand-off clear.
 * This file styles only the site-wide footer CTA; it does not affect product or quote actions.
 */

.footer-cta--direct-contact {
    --ad-footer-contact-line: rgba(211, 227, 227, .24);
    --ad-footer-contact-ease: cubic-bezier(.23, 1, .32, 1);
    background: var(--brand-navy-deep, #081224);
    border-block: 1px solid var(--ad-footer-contact-line);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.footer-cta--direct-contact::before,
.footer-cta--direct-contact::after {
    content: '';
    pointer-events: none;
    position: absolute;
}

.footer-cta--direct-contact::before {
    background-image: linear-gradient(rgba(53, 187, 157, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(53, 187, 157, .1) 1px, transparent 1px);
    background-size: 1.65rem 1.65rem;
    clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
    inset: 0 auto 0 0;
    width: min(57%, 56rem);
}

.footer-cta--direct-contact::after {
    border: 1px solid rgba(53, 187, 157, .65);
    height: min(45vw, 28rem);
    right: -9rem;
    top: -13rem;
    transform: rotate(37deg);
    width: min(45vw, 28rem);
}

.footer-cta--direct-contact .footer-cta__inner {
    align-items: end;
    display: grid;
    gap: 2.2rem;
    padding-block: clamp(3.75rem, 7vw, 6.25rem);
    position: relative;
}

.footer-cta--direct-contact .footer-cta__copy { max-width: 41rem; }

.footer-cta--direct-contact .footer-cta__eyebrow {
    color: var(--brand-teal, #35bb9d);
    font-family: var(--font-mono, monospace);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .09em;
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.footer-cta--direct-contact .footer-cta__title {
    color: #fff;
    font-family: var(--font-display, sans-serif);
    font-size: clamp(3.5rem, 7vw, 6.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: .84;
    margin: 0;
    max-width: 8.5ch;
    text-transform: uppercase;
}

.footer-cta--direct-contact .footer-cta__subtitle {
    color: var(--brand-grey-soft, #d3e3e3);
    font-size: clamp(1rem, 1.65vw, 1.16rem);
    line-height: 1.55;
    margin: 1.45rem 0 0;
    max-width: 37rem;
}

.footer-cta__contact-actions {
    display: grid;
    gap: .8rem;
    width: 100%;
}

.footer-cta__contact-action {
    align-items: center;
    border: 1px solid var(--ad-footer-contact-line);
    color: #fff;
    display: grid;
    gap: .32rem;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 6.4rem;
    padding: 1rem 1.1rem;
    position: relative;
    text-decoration: none;
    transition: background-color 180ms var(--ad-footer-contact-ease), border-color 180ms var(--ad-footer-contact-ease), color 180ms var(--ad-footer-contact-ease), transform 180ms var(--ad-footer-contact-ease);
}

.footer-cta__contact-action--call { background: var(--brand-teal, #35bb9d); border-color: var(--brand-teal, #35bb9d); color: var(--brand-navy-deep, #081224); }
.footer-cta__contact-action--email { background: rgba(8, 18, 36, .4); }

.footer-cta__contact-kicker {
    font-family: var(--font-mono, monospace);
    font-size: .62rem;
    font-weight: 600;
    grid-column: 1;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.footer-cta__contact-action strong {
    font-family: var(--font-main, sans-serif);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 800;
    grid-column: 1;
    letter-spacing: -.03em;
    overflow-wrap: anywhere;
}

.footer-cta__contact-action--email strong {
    overflow-wrap: normal;
    white-space: nowrap;
}

.footer-cta__contact-arrow { font-size: 1.5rem; grid-column: 2; grid-row: 1 / span 2; line-height: 1; }

.footer-cta__contact-action--email .footer-cta__contact-kicker { color: var(--brand-teal, #35bb9d); }

.footer-cta__contact-action:hover,
.footer-cta__contact-action:focus-visible { transform: translateY(-.18rem); }
.footer-cta__contact-action--call:hover,
.footer-cta__contact-action--call:focus-visible { background: var(--brand-teal-dark, #26927a); border-color: var(--brand-teal-dark, #26927a); color: #fff; }
.footer-cta__contact-action--email:hover,
.footer-cta__contact-action--email:focus-visible { background: #fff; border-color: #fff; color: var(--brand-navy-deep, #081224); }
.footer-cta__contact-action:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.footer-cta__contact-action:active { transform: scale(.98); }

@media (min-width: 46rem) {
    .footer-cta--direct-contact .footer-cta__inner { grid-template-columns: minmax(0, 1.05fr) minmax(21rem, .95fr); }
}

@media (min-width: 66rem) {
    .footer-cta__contact-actions { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
    .footer-cta__contact-action { min-height: 8.6rem; }
}

@media (max-width: 22rem) {
    .footer-cta__contact-action--email strong { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
    .footer-cta__contact-action { transition: none; }
}
