/* Contact page: views/contact/_ct-*.php; behaviour in assets/js/contact-page.js */
.ct-wrap { margin-top: 40px; }
.ct-sec { margin-top: 30px; }
.ct-next-wrap { margin-bottom: 60px; }
.ct-layer { display: block; height: 20px; margin: 0 59px; border-radius: 30px 30px 0 0; background: #3A3466; }
.ct-layer-2 { margin: 0 30px; background: #2B2652; }
.ct-stage { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px; align-items: center; padding: 44px; border-radius: 32px; color: #fff; background: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.4px) 0 0 / 18px 18px, linear-gradient(160deg, #0B0920, #16123A 55%, #1F1950); box-shadow: 0 34px 70px -34px rgba(17, 14, 45, .85); }
.ct-glow { position: absolute; z-index: -1; top: -30%; inset-inline-start: -14%; width: 700px; max-width: 100%; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(238, 93, 56, .34), rgba(155, 123, 255, .14) 60%, transparent); }
.ct-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 40px; font-size: 13px; background: rgba(255, 255, 255, .09); }
.ct-tag span { width: 8px; height: 8px; border-radius: 50%; background: #2FBF71; box-shadow: 0 0 0 4px rgba(47, 191, 113, .22); }
.ct-copy h1 { margin-top: 18px; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.38; }
.ct-lead { margin-top: 12px; color: rgba(255, 255, 255, .68); line-height: 2; }
.ct-faces { display: flex; align-items: center; margin-top: 24px; }
.ct-faces img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: top; box-shadow: 0 0 0 2px #16123A; margin-inline-start: -10px; }
.ct-faces img:first-child { margin-inline-start: 0; }
.ct-faces span { margin-inline-start: 12px; color: rgba(255, 255, 255, .78); font-size: 13px; }
.ct-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ct-quick a { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 15px; color: #fff; font-size: 14px; background: rgba(255, 255, 255, .1); transition: background .2s, transform .2s; }
.ct-quick a:hover { background: #EE5D38; transform: translateY(-2px); }

.ct-form { min-width: 0; padding: 26px; border-radius: 26px; color: #110E2D; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.ct-form h2 { font-size: 20px; line-height: 1.6; }
.ct-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 12px; }
.ct-topics > span { color: #8A8899; font-size: 12px; }
.ct-topic { padding: 6px 13px; border-radius: 11px; color: #55536B; font-size: 12px; background: #F3F3F7; transition: background .2s, color .2s; }
.ct-topic[aria-pressed="true"] { color: #fff; background: #EE5D38; }
.ct-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.ct-field { display: block; min-width: 0; }
.ct-field input, .ct-field textarea { display: block; width: 100%; padding: 14px 15px; border: 1.5px solid transparent; border-radius: 14px; color: #110E2D; font-size: 13px; background: #F5F5F8; outline: 0; transition: border-color .2s, background .2s; }
.ct-field input:focus, .ct-field textarea:focus { border-color: #EE5D38; background: #fff; }
.ct-area { margin-top: 10px; }
.ct-area textarea { height: 112px; resize: none; }
.ct-captcha { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; align-items: stretch; margin-top: 10px; }
.ct-captcha-img { display: grid; place-items: center; overflow: hidden; height: 49px; border-radius: 14px; background: #FFE3DB; cursor: pointer; }
.ct-captcha-img img { max-height: 100%; background: transparent; }
.ct-send { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; margin-top: 14px; border-radius: 15px; color: #fff; font-size: 14px; background: #EE5D38; transition: transform .2s, background .2s; }
.ct-send:hover { transform: translateY(-2px); background: #DB4E2B; }
.ct-send i { position: absolute; width: 20px; height: 20px; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; opacity: 0; }
.ct-send.is-busy > span, .ct-send.is-busy > svg { visibility: hidden; }
.ct-send.is-busy i { opacity: 1; animation: ctSpin .7s linear infinite; }
@keyframes ctSpin { to { transform: rotate(360deg); } }

.ct-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ct-card { display: flex; flex-direction: column; min-width: 0; padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 16px 34px -28px rgba(17, 14, 45, .5); transition: transform .25s; }
.ct-card:hover { transform: translateY(-4px); }
.ct-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #EE5D38; background: rgba(238, 93, 56, .12); }
.ct-card h2 { margin-top: 14px; color: #110E2D; font-size: 16px; }
.ct-card p { flex: 1; margin-top: 4px; color: #55536B; font-size: 13px; line-height: 1.95; }
.ct-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.ct-card-foot a { min-width: 0; overflow-wrap: anywhere; color: #EE5D38; font-size: 14px; font-weight: 700; }
.ct-copy-btn { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #55536B; background: #F3F3F7; transition: background .2s, color .2s; }
.ct-copy-btn:hover { color: #fff; background: #110E2D; }

.ct-next { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; padding: 24px; border-radius: 28px; background: #fff; box-shadow: 0 26px 50px -38px rgba(17, 14, 45, .5); }
.ct-next h2 { color: #110E2D; font-size: clamp(19px, 2.2vw, 25px); line-height: 1.6; }
.ct-next ol { position: relative; margin-top: 14px; padding: 0; list-style: none; }
.ct-next ol::before { content: ""; position: absolute; top: 18px; bottom: 40px; inset-inline-start: 19px; width: 2px; background: rgba(17, 14, 45, .1); }
.ct-next li { position: relative; display: flex; gap: 14px; padding: 8px 0; }
.ct-next li b { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: #fff; background: #110E2D; }
.ct-next li:last-child b { background: #EE5D38; }
.ct-next h3 { color: #110E2D; font-size: 15px; line-height: 1.7; }
.ct-next p { color: #55536B; font-size: 13px; line-height: 1.9; }
.ct-map { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: 20px; background: #EDEDF2; }

@media (max-width: 1023px) {
    .ct-stage { grid-template-columns: minmax(0, 1fr); padding: 32px 22px; }
    .ct-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ct-next { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .ct-layer { margin: 0 34px; height: 14px; }
    .ct-layer-2 { margin: 0 17px; }
    .ct-stage { padding: 24px 14px 14px; border-radius: 24px; }
    .ct-copy { padding: 0 6px; }
    .ct-form { padding: 18px 14px; border-radius: 20px; }
    .ct-row { grid-template-columns: minmax(0, 1fr); }
    .ct-cards { grid-template-columns: minmax(0, 1fr); }
    .ct-next { padding: 18px 14px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .ct-card, .ct-send, .ct-quick a { transition: none; }
}
