/* ==========================================================================
   Contact page (/contact) - premium layout
   Template: contact.php | Texts: admin -> Contact -> Contact Page Text | Details: admin -> Contact -> Contact Details
   Sections: hero | channels panel (dark) | enquiry form card | form field polish | responsive
   Class prefix "ct-". Form fields reuse .field / .form-grid from main.css, restyled only inside .ct-form.
   ========================================================================== */

/* ---------- Hero ---------- */
.ct-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(120px, 14vw, 190px); background: radial-gradient(110% 100% at 85% 0%, #112019, var(--black) 62%); }
.ct-hero-inner { position: relative; }
.ct-hero .ph-title { max-width: 15em; }
.ct-lead { max-width: 52ch; margin-top: 22px; }

/* ---------- Layout: the cards rise over the hero ---------- */
.ct-main { position: relative; display: flow-root; padding-top: 0; overflow: visible; } /* .section clips its content by default; visible lets the cards rise over the hero and keeps the info panel sticky; flow-root stops the grid's negative margin from pulling this section's background over the hero */
.ct-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(20px, 3vw, 36px); align-items: start; margin-top: calc(-1 * clamp(80px, 9vw, 130px)); }

/* ---------- Channels panel ---------- */
.ct-info { position: sticky; top: 104px; padding: clamp(22px, 3vw, 34px); border-radius: 30px; color: var(--text-d); background: radial-gradient(120% 90% at 0% 0%, #1b2a20, #0b0f0d 62%); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 50px 90px -50px rgba(8, 8, 8, .9); overflow: hidden; }
.ct-info::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -150px; border-radius: 50%; background: radial-gradient(closest-side, rgba(126, 217, 87, .28), transparent); pointer-events: none; }
.ct-info > * { position: relative; }
.ct-channels { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ct-channel { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); color: inherit; transition: transform .4s var(--ease), background .3s, border-color .3s, box-shadow .3s; }
a.ct-channel:hover, a.ct-channel:focus-visible { transform: translateX(6px); background: rgba(126, 217, 87, .09); border-color: rgba(126, 217, 87, .55); box-shadow: 0 18px 36px -22px rgba(126, 217, 87, .5); }
.ct-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--green); color: #07120a; box-shadow: 0 10px 22px -10px rgba(126, 217, 87, .8); } .ct-ic .ic { width: 22px; height: 22px; }
.ct-txt { display: grid; gap: 2px; flex: 1; min-width: 0; } .ct-txt small { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); } .ct-txt strong { font-size: 1.04rem; font-weight: 700; color: #fff; overflow-wrap: break-word; }
.ct-go { flex: none; width: 18px; height: 18px; color: #fff; opacity: .4; transition: transform .4s var(--ease), opacity .3s, color .3s; } a.ct-channel:hover .ct-go { transform: translate(3px, -3px); opacity: 1; color: var(--green); }
.ct-channel.is-static { cursor: default; }
.ct-social { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ct-social p { margin: 0 0 12px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute-d); }
.ct-social ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ct-social a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: .9rem; font-weight: 600; transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease); } .ct-social a .ic { width: 18px; height: 18px; }
.ct-social a:hover, .ct-social a:focus-visible { background: var(--green); border-color: var(--green); color: #07120a; transform: translateY(-2px); }

/* ---------- Enquiry form card ---------- */
.ct-form-card { position: relative; scroll-margin-top: 100px; padding: clamp(26px, 4vw, 48px); border-radius: 30px; background: #fff; border: 1px solid var(--line-l); box-shadow: 0 50px 90px -52px rgba(8, 8, 8, .55); overflow: hidden; }
.ct-form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--green), #b5ec9b 60%, transparent); }
.ct-form-card .display { margin-bottom: 28px; }

/* ---------- Form field polish (scoped) ---------- */
.ct-form .form-grid { gap: 20px 22px; }
.ct-form .field label { font-size: .84rem; letter-spacing: .01em; color: #1c231e; }
.ct-form .field input, .ct-form .field textarea, .ct-form .field select { padding: 16px 18px; border-radius: 14px; background: #f5f8f5; border: 1.5px solid #e3e9e3; font-size: 1rem; transition: border-color .3s, box-shadow .3s, background .3s; }
.ct-form .field textarea { min-height: 150px; }
.ct-form .field input:hover, .ct-form .field textarea:hover, .ct-form .field select:hover { border-color: #c6d2c6; background: #fff; }
.ct-form .field input:focus, .ct-form .field textarea:focus, .ct-form .field select:focus { background: #fff; border-color: var(--green-ink); box-shadow: 0 0 0 4px rgba(126, 217, 87, .26); }
.ct-form .btn { width: 100%; justify-content: center; padding: 18px 28px; font-size: 1.02rem; }
.ct-form .form-status { margin-top: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) { .ct-txt strong { font-size: .94rem; } .ct-channel { gap: 12px; padding: 14px 14px; } }
@media (max-width: 1000px) {
  .ct-grid { grid-template-columns: minmax(0, 1fr); margin-top: calc(-1 * clamp(70px, 14vw, 100px)); }
  .ct-info { position: relative; top: 0; } /* relative, not static: the panel then clips its decorative glow (overflow: hidden); static let the glow stick out and widen the page. top: 0 cancels the sticky offset */
  .ct-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ct-hero { padding-bottom: 110px; }
  .ct-info, .ct-form-card { border-radius: 24px; }
  .ct-channels { grid-template-columns: minmax(0, 1fr); }
  .ct-channel { padding: 14px 16px; gap: 14px; } .ct-ic { width: 44px; height: 44px; border-radius: 12px; }
  .ct-txt strong { font-size: .93rem; overflow-wrap: break-word; word-break: normal; } .ct-go { display: none; }
  .ct-form .form-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (hover: none) { a.ct-channel:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ct-channel, .ct-go, .ct-social a { transition: none; } }