/* Contact — orbital 3D hub + sci-fi door panels */

html:has(.page-contact) {
    scroll-behavior: auto;
}

.page-contact {
    background: transparent;
    color: #f4f7fb;
}

.page-contact .site-main {
    overflow: hidden;
    background: transparent;
    min-height: 100vh;
}

.page-contact #universe {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: block;
    background: var(--bg);
}

.page-contact .universe-glow {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 42% at 50% 45%, rgba(37, 99, 235, 0.2), transparent 70%),
        radial-gradient(ellipse 40% 35% at 20% 70%, rgba(56, 189, 248, 0.1), transparent 68%);
    animation: ctUniverseDrift 28s ease-in-out infinite alternate;
    mix-blend-mode: screen;
    opacity: 0.85;
}

@keyframes ctUniverseDrift {
    0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
    100% { transform: scale(1.06) translate(-1.5%, 1%); opacity: 0.95; }
}

.page-contact .site-header {
    --header-bg: transparent;
    --header-blur: none;
}

.page-contact .site-header.scrolled {
    --header-bg: rgba(13, 27, 46, 0.72);
    --header-blur: blur(12px);
}

.page-contact .grain {
    z-index: 1;
}

/* ── Orbital hub (reference-style elliptical cards) ── */
.ct-hub {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: calc(var(--header) + 12px) 16px 40px;
    box-sizing: border-box;
}

.ct-hub-title {
    position: relative;
    z-index: 3;
    margin: 0 0 clamp(8px, 1.5vh, 16px);
    text-align: center;
    font-size: clamp(2.4rem, 6vw, 5.2rem);
    pointer-events: none;
}

.ct-orbit-stage {
    position: relative;
    width: min(940px, 94vw);
    height: min(540px, 68vh);
    flex-shrink: 0;
}

/* Concentric elliptical rings — tilted like reference */
.ct-orbit-rings {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    z-index: 0;
}

.ct-orbit-rings-tilt {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    perspective: 900px;
}

.ct-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(186, 210, 255, 0.22);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateX(68deg);
    box-shadow:
        0 0 12px rgba(96, 165, 250, 0.08),
        inset 0 0 20px rgba(37, 99, 235, 0.06);
}

.ct-ring-1 {
    width: 92%;
    height: 46%;
}

.ct-ring-2 {
    width: 74%;
    height: 37%;
    border-color: rgba(186, 210, 255, 0.16);
}

.ct-ring-3 {
    width: 56%;
    height: 28%;
    border-color: rgba(186, 210, 255, 0.12);
}

.ct-center-logo-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(120px, 18vw, 200px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
    display: grid;
    place-items: center;
}

.ct-center-logo-halo {
    position: absolute;
    inset: -32%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.32) 0%, rgba(56, 189, 248, 0.12) 40%, transparent 70%);
    animation: ctLogoHalo 4s ease-in-out infinite alternate;
    pointer-events: none;
}

.ct-center-logo {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    filter:
        drop-shadow(0 0 18px rgba(96, 165, 250, 0.55))
        drop-shadow(0 0 42px rgba(56, 189, 248, 0.35))
        drop-shadow(0 0 80px rgba(37, 99, 235, 0.28));
    animation: ctLogoGlow 3.2s ease-in-out infinite alternate;
}

@keyframes ctLogoGlow {
    0% {
        filter:
            drop-shadow(0 0 14px rgba(96, 165, 250, 0.4))
            drop-shadow(0 0 32px rgba(56, 189, 248, 0.22))
            drop-shadow(0 0 60px rgba(37, 99, 235, 0.18));
        transform: scale(1);
    }
    100% {
        filter:
            drop-shadow(0 0 28px rgba(147, 197, 253, 0.85))
            drop-shadow(0 0 58px rgba(56, 189, 248, 0.5))
            drop-shadow(0 0 110px rgba(37, 99, 235, 0.4));
        transform: scale(1.05);
    }
}

@keyframes ctLogoHalo {
    0% { opacity: 0.55; transform: scale(0.92); }
    100% { opacity: 1; transform: scale(1.1); }
}

/* Elliptical card track */
.ct-orbit-track {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.ct-orbit-card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(120px, 16vw, 168px);
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    color: inherit;
    font: inherit;
    text-align: center;
    transition: transform 0.35s ease, filter 0.25s;
    will-change: transform;
}

.ct-orbit-card:hover,
.ct-orbit-card.is-hot {
    background: transparent;
    box-shadow: none;
    z-index: 4;
}

.ct-orbit-card:hover .ct-card-face img,
.ct-orbit-card.is-hot .ct-card-face img {
    filter:
        drop-shadow(0 0 16px rgba(56, 189, 248, 0.55))
        drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.ct-card-face {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    background: none;
    border: none;
    line-height: 0;
}

.ct-card-face img {
    width: clamp(76px, 12vw, 104px);
    height: clamp(76px, 12vw, 104px);
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
    transition: filter 0.25s ease, transform 0.25s ease;
}

.ct-card-label {
    display: block;
    padding: 0 4px;
    font-family: var(--font-display);
    font-size: clamp(0.78rem, 1.2vw, 0.95rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #e2e8f0;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(2, 8, 23, 0.8);
}

@media (prefers-reduced-motion: reduce) {
    .ct-center-logo,
    .ct-center-logo-halo {
        animation: none;
    }
}

.ct-hub-hint {
    position: relative;
    margin: clamp(16px, 3vh, 28px) 0 0;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.6);
    pointer-events: none;
    text-align: center;
}

/* ── Sci-fi door overlay ── */
.ct-door {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 3vw, 32px);
    box-sizing: border-box;
    pointer-events: none;
}

.ct-door.is-open {
    pointer-events: auto;
}

.ct-door[hidden] {
    display: none !important;
}

.ct-door-scrim {
    position: absolute;
    inset: 0;
    border: 0;
    margin: 0;
    padding: 0;
    background: rgba(2, 10, 22, 0.6);
    backdrop-filter: blur(5px);
    cursor: pointer;
    opacity: 0;
}

.ct-door-beam {
    position: absolute;
    left: 0;
    top: 0;
    height: 2px;
    width: 0;
    z-index: 2;
    pointer-events: none;
    transform-origin: 0 50%;
    opacity: 0;
}

.ct-door-beam-line {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.15), #60a5fa 40%, #93c5fd);
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.85), 0 0 22px rgba(37, 99, 235, 0.55);
}

.ct-door-beam-dot {
    position: absolute;
    right: -7px;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border-radius: 50%;
    background: #e0f2fe;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.9), 0 0 16px rgba(147, 197, 253, 1);
}

.ct-door-shell {
    position: relative;
    z-index: 3;
    width: min(640px, 100%);
    max-height: min(92vh, 900px);
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.ct-door-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: min(92vh, 900px);
    min-height: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(96, 165, 250, 0.45);
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(12, 28, 52, 0.98), rgba(6, 16, 32, 0.99));
    box-shadow:
        0 0 0 1px rgba(37, 99, 235, 0.25) inset,
        0 0 40px rgba(37, 99, 235, 0.28),
        0 24px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0.12);
    overflow: hidden;
    isolation: isolate;
}

.ct-door-shell > .talk-close {
    top: 14px;
    right: 14px;
    z-index: 100;
    width: 40px;
    height: 40px;
    border-color: rgba(148, 163, 184, 0.45);
    background: rgba(8, 14, 26, 0.95);
    color: #e2e8f0;
    pointer-events: auto;
    touch-action: manipulation;
}

.ct-door-shell > .talk-close:hover {
    background: rgba(37, 99, 235, 0.35);
    border-color: rgba(96, 165, 250, 0.85);
    color: #fff;
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.4);
}

.ct-sf-corner {
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: #60a5fa;
    border-style: solid;
    pointer-events: none;
    z-index: 4;
}

.ct-sf-corner.c-tl { top: 6px; left: 6px; border-width: 2px 0 0 2px; }
.ct-sf-corner.c-tr { top: 6px; right: 6px; border-width: 2px 2px 0 0; }
.ct-sf-corner.c-bl { bottom: 6px; left: 6px; border-width: 0 0 2px 2px; }
.ct-sf-corner.c-br { bottom: 6px; right: 6px; border-width: 0 2px 2px 0; }

.ct-sf-scan {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 3px,
        rgba(96, 165, 250, 0.04) 3px,
        rgba(96, 165, 250, 0.04) 4px
    );
    mix-blend-mode: screen;
    opacity: 0.65;
}

.ct-sf-scan::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 40%;
    top: -40%;
    background: linear-gradient(to bottom, transparent, rgba(96, 165, 250, 0.12), transparent);
    animation: ctPanelScan 3.2s linear infinite;
}

@keyframes ctPanelScan {
    0% { top: -40%; }
    100% { top: 110%; }
}

.ct-panel-head {
    position: relative;
    z-index: 12;
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 12px;
    padding: 18px 56px 10px 20px;
    border-bottom: 1px solid rgba(96, 165, 250, 0.2);
    background: linear-gradient(180deg, rgba(12, 28, 52, 0.98), rgba(12, 28, 52, 0.92));
}

.ct-panel-kicker {
    margin: 0;
    width: 100%;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(96, 165, 250, 0.85);
}

.ct-panel-title {
    margin: 0;
    flex: 1;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.ct-panel-visual {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    height: clamp(160px, 26vh, 220px);
    border-bottom: 1px solid rgba(96, 165, 250, 0.15);
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.14), transparent 72%);
    overflow: hidden;
}

.ct-panel-visual[data-mode="call"] {
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.18), transparent 72%);
}

.ct-panel-visual[data-mode="email"] {
    background: radial-gradient(ellipse at center, rgba(14, 116, 144, 0.16), transparent 72%);
}

.ct-panel-visual[data-mode="faq"] {
    background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.16), transparent 72%);
}

.ct-panel-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    pointer-events: none;
}

/* Panel visual animations */
.ct-vis-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.ct-vis-layer[hidden] {
    display: none !important;
}

.ct-vis-icon {
    position: relative;
    z-index: 3;
    width: clamp(56px, 10vw, 72px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(96, 165, 250, 0.45));
}

.ct-vis-status {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(186, 230, 253, 0.85);
    white-space: nowrap;
}

/* Call — ringing waves */
.ct-vis-call .ct-vis-ring {
    position: absolute;
    left: 50%;
    top: 42%;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    border: 2px solid rgba(96, 165, 250, 0.55);
    border-radius: 50%;
    animation: ctCallRing 2.4s ease-out infinite;
}

.ct-vis-call .r2 { animation-delay: 0.55s; }
.ct-vis-call .r3 { animation-delay: 1.1s; }

@keyframes ctCallRing {
    0% { transform: scale(0.55); opacity: 0.85; }
    100% { transform: scale(2.6); opacity: 0; }
}

.ct-vis-call .ct-vis-signal {
    position: absolute;
    left: 50%;
    top: 38%;
    width: 48px;
    height: 48px;
    margin-left: 36px;
    margin-top: -24px;
    background:
        conic-gradient(from -60deg, transparent 0 72%, rgba(147, 197, 253, 0.7) 72% 78%, transparent 78% 100%);
    mask: radial-gradient(circle, transparent 58%, #000 60%);
    animation: ctCallSignal 1.1s ease-in-out infinite alternate;
}

@keyframes ctCallSignal {
    0% { opacity: 0.35; transform: scale(0.9) rotate(-8deg); }
    100% { opacity: 1; transform: scale(1.15) rotate(8deg); }
}

.ct-vis-call .ct-vis-icon {
    animation: ctCallShake 0.45s ease-in-out infinite;
}

@keyframes ctCallShake {
    0%, 100% { transform: rotate(-4deg); }
    50% { transform: rotate(4deg); }
}

/* Email — sending packet */
.ct-vis-email .ct-vis-trail {
    position: absolute;
    left: 12%;
    top: 50%;
    width: 76%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.2), rgba(125, 211, 252, 0.55), transparent);
    transform: translateY(-50%);
}

.ct-vis-email .ct-vis-trail::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 40%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(224, 242, 254, 0.9), transparent);
    animation: ctEmailTrail 2s linear infinite;
}

@keyframes ctEmailTrail {
    0% { left: -40%; opacity: 0; }
    15% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.ct-vis-email .ct-vis-packet {
    position: absolute;
    left: 18%;
    top: 46%;
    width: 14px;
    height: 10px;
    border: 2px solid rgba(224, 242, 254, 0.9);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
    animation: ctEmailFly 2s ease-in-out infinite;
}

.ct-vis-email .ct-vis-packet::before {
    content: '';
    position: absolute;
    inset: 1px 2px auto;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 4px solid rgba(224, 242, 254, 0.85);
}

@keyframes ctEmailFly {
    0% { transform: translate(0, 0) scale(0.8); opacity: 0; }
    12% { opacity: 1; }
    50% { transform: translate(220%, -18px) scale(1.1); opacity: 1; }
    88% { opacity: 0.6; }
    100% { transform: translate(440%, 6px) scale(0.7); opacity: 0; }
}

.ct-vis-email .ct-vis-icon {
    animation: ctEmailBob 2s ease-in-out infinite;
}

@keyframes ctEmailBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* FAQ — bubbles + questions */
.ct-vis-faq .ct-vis-bubble {
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    border-radius: 18px;
    border: 2px solid rgba(103, 232, 249, 0.45);
    background: rgba(8, 47, 73, 0.55);
    box-shadow: inset 0 0 24px rgba(34, 211, 238, 0.12);
}

.ct-vis-faq .b-back {
    width: 110px;
    height: 72px;
    margin-left: 18px;
    margin-top: 8px;
    border-color: rgba(251, 191, 36, 0.35);
    background: rgba(69, 26, 3, 0.35);
    animation: ctFaqBubbleBack 3s ease-in-out infinite alternate;
}

.ct-vis-faq .b-front {
    width: 96px;
    height: 58px;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    color: #a5f3fc;
    animation: ctFaqBubbleFront 2.6s ease-in-out infinite alternate;
}

@keyframes ctFaqBubbleBack {
    0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.5; }
    100% { transform: translate(-46%, -54%) scale(1.04); opacity: 0.85; }
}

@keyframes ctFaqBubbleFront {
    0% { transform: translate(-50%, -50%) scale(0.96); }
    100% { transform: translate(-54%, -46%) scale(1.05); }
}

.ct-vis-faq .ct-vis-q {
    position: absolute;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    color: rgba(186, 230, 253, 0.75);
    text-shadow: 0 0 12px rgba(34, 211, 238, 0.45);
    animation: ctFaqQFloat 2.8s ease-in-out infinite;
}

.ct-vis-faq .q1 { left: 18%; top: 28%; animation-delay: 0s; }
.ct-vis-faq .q2 { right: 16%; top: 34%; animation-delay: 0.6s; }
.ct-vis-faq .q3 { left: 42%; top: 18%; animation-delay: 1.2s; font-size: 1rem; }

@keyframes ctFaqQFloat {
    0%, 100% { transform: translateY(0) rotate(-6deg); opacity: 0.45; }
    50% { transform: translateY(-10px) rotate(6deg); opacity: 1; }
}

.ct-vis-faq .ct-vis-icon {
    z-index: 4;
    animation: ctFaqPulse 2.2s ease-in-out infinite;
}

@keyframes ctFaqPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.35)); }
    50% { transform: scale(1.06); filter: drop-shadow(0 0 24px rgba(34, 211, 238, 0.65)); }
}

.ct-panel-body {
    position: relative;
    z-index: 3;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 18px 20px 24px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(96, 165, 250, 0.45) rgba(8, 16, 32, 0.4);
}

.ct-panel-body::-webkit-scrollbar {
    width: 7px;
}

.ct-panel-body::-webkit-scrollbar-track {
    margin: 4px 0;
    background: rgba(8, 16, 32, 0.45);
    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.08);
}

.ct-panel-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.55), rgba(37, 99, 235, 0.45));
    border-radius: 999px;
    border: 1px solid rgba(147, 197, 253, 0.2);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.25);
}

.ct-panel-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(147, 197, 253, 0.75), rgba(59, 130, 246, 0.6));
}

.ct-pane-lead {
    margin: 0 0 20px;
    font-family: var(--font-body);
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.ct-action-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 8px;
    background: rgba(8, 20, 40, 0.65);
    text-decoration: none;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.ct-action-link:hover {
    border-color: rgba(96, 165, 250, 0.75);
    box-shadow: 0 0 24px rgba(37, 99, 235, 0.25);
    transform: translateY(-2px);
}

.ct-action-label {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.85);
}

.ct-action-link strong {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    color: #fff;
    font-weight: 700;
}

/* ── Form (match Let's Talk panel typography) ── */
.ct-field[hidden],
.ct-form-msg[hidden],
.ct-success[hidden],
.ct-pane[hidden] {
    display: none !important;
}
.ct-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: var(--font-body);
}

.ct-field label {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-body);
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(203, 213, 225, 0.92);
}

.ct-opt {
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.65);
}

.ct-field input,
.ct-field select,
.ct-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(17, 34, 68, 0.72);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.4;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.ct-field textarea {
    min-height: 110px;
    resize: vertical;
    padding-top: 16px;
}

.ct-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
    color: rgba(148, 163, 184, 0.75);
}

.ct-field select:has(option[value=""]:checked) {
    color: rgba(148, 163, 184, 0.85);
}

.ct-field select option {
    color: var(--text);
    background: var(--bg2);
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
    border-color: rgba(96, 165, 250, 0.55);
    box-shadow: 0 0 0 1px rgba(45, 114, 248, 0.45);
    background: rgba(26, 86, 219, 0.12);
}

.ct-field input[readonly] {
    opacity: 0.85;
    cursor: not-allowed;
}

.ct-phone-row {
    display: grid;
    grid-template-columns: minmax(120px, 38%) 1fr;
    gap: 10px;
}

.ct-field-hint {
    margin: 6px 0 0;
    font-size: 0.72rem;
    color: rgba(148, 163, 184, 0.65);
}

.ct-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #cbd5e1;
    cursor: pointer;
}

.ct-check input {
    width: auto;
    accent-color: var(--accent);
}

.ct-wa-q {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-size: 0.86rem;
    font-weight: 500;
    color: rgba(203, 213, 225, 0.92);
}

.ct-wa-choice {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.ct-radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    cursor: pointer;
}

.ct-radio input {
    width: auto;
    accent-color: var(--accent);
}

.ct-captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.ct-captcha-display {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(96, 165, 250, 0.45);
    border-radius: 4px;
    background:
        repeating-linear-gradient(90deg, rgba(96, 165, 250, 0.06) 0, rgba(96, 165, 250, 0.06) 2px, transparent 2px, transparent 6px),
        rgba(4, 12, 28, 0.9);
    font-family: var(--font-mono);
    font-size: 1.25rem;
    letter-spacing: 0.28em;
    text-align: center;
    color: #93c5fd;
    text-shadow: 0 0 12px rgba(96, 165, 250, 0.6);
    animation: ctCaptchaPulse 2.4s ease-in-out infinite;
}

@keyframes ctCaptchaPulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

.ct-captcha-refresh {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 4px;
    background: rgba(8, 14, 26, 0.8);
    color: #bfdbfe;
    cursor: pointer;
    font-size: 1.1rem;
}

.ct-captcha-refresh:hover {
    border-color: rgba(96, 165, 250, 0.7);
    color: #fff;
}

.ct-form-msg {
    margin-bottom: 8px;
    padding: 0;
    font-family: var(--font-body);
    font-size: 0.86rem;
    line-height: 1.5;
}

.ct-form-msg.is-error {
    color: #fca5a5;
}

.ct-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
    padding: 14px 0 12px;
    border: none;
    border-bottom: 1.5px solid rgba(96, 165, 250, 0.55);
    border-radius: 0;
    background: none;
    color: var(--light);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.ct-submit:hover:not(:disabled) {
    color: #fff;
    border-bottom-color: var(--light);
    transform: none;
    box-shadow: none;
}

.ct-submit:disabled {
    opacity: 0.55;
    cursor: wait;
}

.ct-success {
    text-align: center;
    padding: 24px 12px;
}

.ct-success-ring {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border: 2px solid rgba(96, 165, 250, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 24px rgba(37, 99, 235, 0.4);
    animation: ctSuccessPop 0.8s ease-out;
}

@keyframes ctSuccessPop {
    0% { transform: scale(0.4); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.ct-success h3 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: #fff;
}

.ct-success p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

/* ── FAQ accordion ── */
.ct-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ct-faq-item {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 8px;
    background: rgba(8, 16, 30, 0.55);
    overflow: hidden;
    transition: border-color 0.3s;
}

.ct-faq-item[open] {
    border-color: rgba(96, 165, 250, 0.45);
}

.ct-faq-item summary {
    padding: 14px 16px;
    font-weight: 600;
    font-size: 0.92rem;
    color: #e2e8f0;
    cursor: pointer;
    list-style: none;
    transition: color 0.25s;
}

.ct-faq-item summary::-webkit-details-marker {
    display: none;
}

.ct-faq-item summary::after {
    content: '+';
    float: right;
    color: var(--accent);
    font-weight: 400;
    transition: transform 0.3s;
}

.ct-faq-item[open] summary::after {
    content: '−';
}

.ct-faq-body {
    padding: 0 16px 14px;
    animation: ctFaqOpen 0.35s ease-out;
}

@keyframes ctFaqOpen {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.ct-faq-body p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--muted);
}

.page-contact .site-footer {
    margin-top: 0;
    z-index: 2;
}

.page-contact .section-cta {
    display: none;
}

@media (max-width: 720px) {
    .ct-hub {
        min-height: 100svh;
        padding: calc(var(--header) + 8px) 12px 28px;
        overflow: hidden;
    }
    .ct-hub-title {
        font-size: clamp(2.1rem, 11vw, 3.2rem);
        margin-bottom: 4px;
    }

    .ct-orbit-stage {
        height: min(380px, 48vh);
        width: 100%;
    }

    .ct-ring-1 { width: 96%; height: 50%; }
    .ct-ring-2 { width: 78%; height: 40%; }
    .ct-ring-3 { width: 60%; height: 30%; }

    .ct-orbit-card {
        width: clamp(88px, 26vw, 120px);
    }

    .ct-card-face img {
        width: clamp(56px, 16vw, 80px);
        height: clamp(56px, 16vw, 80px);
    }
    .ct-center-logo {
        width: min(36vw, 140px);
        height: auto;
    }
}

@media (max-width: 600px) {
    .ct-phone-row {
        grid-template-columns: 1fr;
    }

    .ct-door-panel {
        max-height: 94vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-contact .universe-glow,
    .ct-sf-scan::after,
    .ct-captcha-display,
    .ct-success-ring,
    .ct-vis-call .ct-vis-ring,
    .ct-vis-call .ct-vis-icon,
    .ct-vis-call .ct-vis-signal,
    .ct-vis-email .ct-vis-packet,
    .ct-vis-email .ct-vis-trail::after,
    .ct-vis-email .ct-vis-icon,
    .ct-vis-faq .ct-vis-bubble,
    .ct-vis-faq .ct-vis-q,
    .ct-vis-faq .ct-vis-icon {
        animation: none;
    }
}
