/* ==========================================================================
   Contact page (v2). Builds on home-v2.css, home-v2-sections.css (form card,
   fields), about-v2.css (crumbs, trust list) and fyp-v2.css (WhatsApp button).
   ========================================================================== */

/* ---------- Hero + channels ---------- */
.v2-ct-hero { position: relative; overflow: hidden; overflow: clip; background: var(--v2-bg); padding: 100px 0 40px; }
.v2-ct-hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.v2-ct-hero__inner .v2-crumbs { justify-content: center; }
.v2 .v2-ct-hero__title { margin: 0; max-width: 980px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; color: #fff; }
.v2-ct-hero__lead { max-width: 760px; font-size: 16px; line-height: 1.6; color: var(--v2-muted); }
.v2-ct-hero__trust { justify-content: center; }

.v2-ct-channels { width: 100%; margin: 14px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; text-align: left; }
.v2-ct-channels > li { display: flex; }
.v2-ct-channel {
    flex: 1; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: center; padding: 14px 16px; border-radius: 16px; color: #fff;
    background: rgba(255, 255, 255, .035); border: 1px solid var(--v2-border);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transition: transform .35s var(--v2-ease), border-color .35s, background .35s;
}
a.v2-ct-channel:hover { color: #fff; transform: translateY(-5px); border-color: rgba(124, 138, 255, .5); background: rgba(43, 59, 224, .14); }
.v2-ct-channel--wa:hover { border-color: rgba(52, 211, 153, .5); background: rgba(18, 138, 71, .14); }
.v2-ct-channel__icon { grid-row: span 3; align-self: start; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(59, 76, 255, .16); color: var(--v2-accent); }
.v2-ct-channel--wa .v2-ct-channel__icon { background: #0f7d40; color: #fff; }
.v2-ct-channel__icon--amber { background: rgba(251, 191, 36, .14); color: #fcd34d; }
.v2-ct-channel__icon--green { background: rgba(52, 211, 153, .12); color: var(--v2-green); }
.v2-ct-channel b { font-size: 15px; }
.v2-ct-channel small { font-size: 12.5px; line-height: 1.45; color: var(--v2-muted); }
.v2-ct-channel em { padding-top: 2px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--v2-accent); word-break: break-word; }
.v2-ct-channel em.is-open { color: var(--v2-green); }
.v2-ct-channel em.is-closed { color: #fcd34d; }

/* ---------- Form + panel ---------- */
.v2-ct-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px; align-items: start; }
.v2 .v2-ct-form-title { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.v2-ct-form { gap: 16px; }
.v2-ct-form .v2-form__two { gap: 14px 16px; }
.v2-req { color: #f87171; }
.v2-ct-form .v2-form__note { display: flex; align-items: center; justify-content: center; gap: 6px; }
.v2-ct-alert { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 4px; padding: 14px 16px; border-radius: 14px; font-size: 14.5px; line-height: 1.55; }
.v2-ct-alert svg { flex: none; }
.v2-ct-alert ul { margin: 0; padding-left: 18px; }
.v2-ct-alert--ok { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .4); color: #c9f5e3; font-weight: 600; }
.v2-ct-alert--ok svg { color: var(--v2-green); }
.v2-ct-alert--err { background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .4); color: #fecaca; }
.v2-ct-alert--err svg { color: #f87171; }

.v2-ct-panel { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 24px; background: var(--v2-surface); border: 1px solid var(--v2-border); }
.v2 .v2-ct-panel__title { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.v2-ct-panel__sub { font-size: 14.5px; line-height: 1.65; color: var(--v2-muted); }
.v2-ct-info { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.v2-ct-info li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 14px; line-height: 1.5; color: #d5d9f2; }
.v2-ct-info li > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2-ct-info small { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--v2-subtle); }
.v2-ct-info a { color: #fff; font-weight: 600; word-break: break-word; }
.v2-ct-info a:hover { color: var(--v2-accent); }
.v2-ct-info .v2-icon-box { width: 40px; height: 40px; border-radius: 11px; }
.v2-ct-panel__wa { width: 100%; font-size: 15px; }
.v2-ct-panel__ticks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.v2-ct-panel__ticks li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #d5d9f2; }
.v2-ct-panel__svcs { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .06); }
.v2-ct-panel__svcs p { margin-bottom: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--v2-subtle); }
.v2-ct-panel__svcs div { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Maps ---------- */
.v2-ct-maps { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.v2-ct-map { overflow: hidden; overflow: clip; border-radius: 22px; background: var(--v2-surface); border: 1px solid var(--v2-border); }
.v2-ct-map__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.v2-ct-map__head > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2-ct-map__head b { font-size: 15px; color: #fff; }
.v2-ct-map__head small { font-size: 13px; color: var(--v2-muted); }
.v2-ct-map__open { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); color: #fff; transition: background .2s; }
.v2-ct-map__open:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.v2-ct-map__frame { position: relative; display: grid; place-items: center; height: 260px; background: radial-gradient(circle at 50% 45%, rgba(59, 76, 255, .22), transparent 60%), #0a0e2a; }
.v2-ct-map__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 32px 32px; }
.v2-ct-map__pin { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--v2-primary); color: #fff; box-shadow: 0 0 0 10px rgba(59, 76, 255, .18), 0 0 0 22px rgba(59, 76, 255, .08); animation: v2-float 4s ease-in-out infinite; }
.v2-ct-map__btn { position: relative; margin-top: 96px; font-size: 14.5px; background: rgba(6, 8, 24, .75); }
.v2-ct-map__frame.is-loaded { display: block; }
.v2-ct-map__frame iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(15%); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .v2-ct-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
    .v2-ct-main { grid-template-columns: minmax(0, 1fr); }
    .v2-ct-panel { position: static; }
    .v2-ct-maps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
    .v2-ct-hero { padding: 100px 0 40px; }
    .v2-ct-hero__lead { font-size: 15.5px; }
    .v2-ct-channels { margin-top: 12px; grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .v2-ct-channel { padding: 16px; }
    .v2-ct-panel { padding: 20px; }
    .v2-ct-panel__ticks { grid-template-columns: minmax(0, 1fr); }
    .v2-ct-map__frame { height: 240px; }
    .v2-ct-map__btn { margin-top: 90px; }
}
