/* contact.css — Contact page (hero + quick-contact cards + form). */
.ct {
  --ct-navy: #1e2e5e; --ct-navy2: #2b3d73; --ct-gold: #c6a361; --ct-ink: #151515; --ct-mute: #5b6478; --ct-line: #e3e6ee;
  --ct-card: #fff; --ct-soft: #f4f6fa; --ct-field: #fff;
  max-width: 1240px; margin: 140px auto 110px !important; padding: 0 24px; box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif; font-weight: 400; color: var(--ct-ink); text-align: left;
}
.dark-mode .ct { --ct-ink: #fff; --ct-mute: #b7bfd6; --ct-line: #3a4c82; --ct-card: #24366c; --ct-soft: #22346a; --ct-field: #2a3d76; }
.ct *, .ct *::before, .ct *::after { box-sizing: border-box; }
.ct svg { height: auto !important; transform: none !important; margin: 0 !important; }   /* undo the old site's phone svg rule */

/* ---------- hero ---------- */
.ct-hero { position: relative; overflow: hidden; border-radius: 18px; padding: 52px 32px 160px; text-align: center; color: #fff;
  background: radial-gradient(120% 140% at 85% 0%, #3c518f 0%, transparent 55%), linear-gradient(135deg, #1e2e5e, #2f437f); box-shadow: 0 14px 40px rgba(15,23,48,.18); }
.ct-hero h1, .ct-hero h2 { font-size: 38px !important; font-weight: 300; margin: 0 0 10px; color: #fff; text-align: center !important; letter-spacing: .01em; }
.ct-hero p { margin: 0 auto; max-width: 600px; color: #c9d1ea; font-size: 17px; line-height: 1.55; }
.ct .ct-trail { position: absolute; left: 0; right: 0; bottom: 70px; width: 100% !important; height: 80px !important; opacity: .55; pointer-events: none; }
.ct-trail path { fill: none; stroke: var(--ct-gold); stroke-width: 1.5; stroke-dasharray: 4 7; vector-effect: non-scaling-stroke; animation: ct-dash 3s linear infinite; }
@keyframes ct-dash { to { stroke-dashoffset: -44; } }
.ct-jet { position: absolute; left: 0; top: 0; width: 30px; height: 16px; pointer-events: none; opacity: 0; will-change: transform; transition: opacity .6s; }
.ct-jet.is-on { opacity: .95; }
.ct .ct-jet svg { display: block; width: 30px !important; height: 16px !important; fill: #fff; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }

/* ---------- quick-contact cards ---------- */
.ct-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: -66px 24px 34px; position: relative; z-index: 2; }
.ct-quick > div { display: flex; }
.ct-qc { flex: 1; display: block; background: var(--ct-card); border: 1px solid var(--ct-line); border-radius: 14px; padding: 20px 22px; box-shadow: 0 10px 30px rgba(0,0,0,.10);
  color: var(--ct-ink) !important; text-decoration: none !important; transition: transform .25s, box-shadow .25s, border-color .25s; }
.ct-qc:hover, .ct-qc:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.16); border-color: var(--ct-gold); }
.dark-mode .ct-qc { box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.ct-qc .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(198,163,97,.16); display: grid; place-items: center; margin-bottom: 12px; transition: background-color .25s; }
.ct-qc .ic svg { width: 22px !important; height: 22px !important; fill: var(--ct-gold); transition: transform .3s; }
.ct-qc:hover .ic { background: var(--ct-gold); }
.ct-qc:hover .ic svg { fill: #16213f; transform: scale(1.08) rotate(-6deg); }
.ct-qc b { display: block; font-size: 17px; font-weight: 600; margin-bottom: 3px; }
.ct-qc > span:last-child { font-size: 14px; color: var(--ct-mute); }

/* ---------- body ---------- */
.ct-body { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, .85fr); gap: 26px; align-items: start; scroll-margin-top: 110px; }
.ct-card { background: var(--ct-card); border: 1px solid var(--ct-line); border-radius: 14px; padding: 22px; box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.dark-mode .ct-card { box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.ct-formcard { padding: 28px; }
.ct-formcard h3 { margin: 0; font-size: 24px; font-weight: 300; color: inherit; }
.ct-sub { margin: 4px 0 18px; font-size: 13px; color: var(--ct-mute); }
.ct-req { color: var(--ct-gold); }
.ct-alert { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin: 0 0 14px; }
.dark-mode .ct-alert { background: #4c1d1d; color: #fecaca; border-color: #7f1d1d; }
.ct-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.ct-enq { display: flex; gap: 12px; align-items: center; background: var(--ct-soft); border: 1px solid var(--ct-line); border-left: 4px solid var(--ct-gold); border-radius: 10px; padding: 12px 14px; margin: 0 0 18px; font-size: 14px; }
.ct-enq[hidden] { display: none; }
.ct-enq svg { width: 28px !important; height: 28px !important; flex: 0 0 28px; fill: var(--ct-gold); }
.ct-enq b { display: block; }
.ct-enq small { color: var(--ct-mute); }
.ct-enq-x { margin-left: auto; border: 0; background: none; color: var(--ct-mute); font-size: 22px; line-height: 1; cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.ct-enq-x:hover { color: var(--ct-ink); background: rgba(0,0,0,.05); }

.ct-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.ct-f { position: relative; margin-bottom: 14px; }
.ct-f input, .ct-f select, .ct-f textarea { display: block; width: 100%; margin: 0; font: inherit; font-size: 15px; color: var(--ct-ink); background: var(--ct-field);
  border: 1.5px solid var(--ct-line); border-radius: 10px; padding: 22px 14px 8px; height: auto; outline: 0; box-shadow: none; transition: border-color .2s, box-shadow .2s; }
.ct-f textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.ct-f select { -webkit-appearance: none; appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235b6478' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; }
.dark-mode .ct-f select option { background: #24366c; color: #fff; }
.ct-f label { position: absolute; left: 15px; top: 16px; margin: 0; font-size: 15px; font-weight: 400; color: var(--ct-mute); pointer-events: none; transition: all .18s; }
.ct-f input:focus, .ct-f select:focus, .ct-f textarea:focus { border-color: var(--ct-navy); box-shadow: 0 0 0 3px rgba(30,46,94,.12); }
.dark-mode .ct-f input:focus, .dark-mode .ct-f select:focus, .dark-mode .ct-f textarea:focus { border-color: var(--ct-gold); box-shadow: 0 0 0 3px rgba(198,163,97,.22); }
.ct-f input:focus + label, .ct-f input:not(:placeholder-shown) + label, .ct-f textarea:focus + label, .ct-f textarea:not(:placeholder-shown) + label, .ct-f select + label {
  top: 7px; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; color: var(--ct-navy); }
.dark-mode .ct-f input:focus + label, .dark-mode .ct-f input:not(:placeholder-shown) + label, .dark-mode .ct-f textarea:focus + label,
.dark-mode .ct-f textarea:not(:placeholder-shown) + label, .dark-mode .ct-f select + label { color: var(--ct-gold); }
.ct-msg { display: none; font-size: 12.5px; color: #dc2626; margin-top: 5px; }
.dark-mode .ct-msg { color: #fca5a5; }
.ct-f.is-err input, .ct-f.is-err textarea { border-color: #dc2626; }
.ct-f.is-err .ct-msg { display: block; animation: ct-shake .3s ease; }
@keyframes ct-shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.ct-f.is-ok input { border-color: #16a34a; }

.ct-group { border: 0; margin: 0 0 12px; padding: 0; min-width: 0; }
.ct-group legend { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ct-mute); margin: 4px 0 8px; padding: 0; border: 0; width: auto; }
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ct-sep { width: 1px; height: 22px; background: var(--ct-line); margin: 0 4px; }
.ct-chip { position: relative; margin: 0; font-weight: 400; }
.ct-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ct-chip span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; padding: 8px 14px; border: 1.5px solid var(--ct-line); border-radius: 22px;
  cursor: pointer; background: var(--ct-field); color: var(--ct-ink); transition: background-color .18s, border-color .18s, color .18s; user-select: none; }
.ct-chip span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--ct-mute); transition: all .18s; flex: 0 0 auto; }
.ct-chip input[type=checkbox] + span::before { border-radius: 4px; }
.ct-chip span:hover { border-color: var(--ct-navy); }
.ct-chip input:checked + span { background: var(--ct-navy); border-color: var(--ct-navy); color: #fff; }
.ct-chip input:checked + span::before { border-color: #fff; background: #fff; box-shadow: inset 0 0 0 3px var(--ct-navy); }
.dark-mode .ct-chip span:hover { border-color: var(--ct-gold); }
.dark-mode .ct-chip input:checked + span { background: var(--ct-gold); border-color: var(--ct-gold); color: #16213f; }
.dark-mode .ct-chip input:checked + span::before { border-color: #16213f; background: #16213f; box-shadow: inset 0 0 0 3px var(--ct-gold); }
.ct-chip input:focus-visible + span { outline: 2px solid var(--ct-gold); outline-offset: 2px; }

.ct-send { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; font: inherit; font-size: 16px; font-weight: 600;
  color: #fff; background: var(--ct-navy); border: 0; border-radius: 12px; padding: 15px; cursor: pointer; transition: background-color .2s, transform .15s, opacity .2s; }
.ct-send:hover { background: var(--ct-navy2); }
.ct-send:active { transform: scale(.99); }
.ct-send:focus-visible { outline: 2px solid var(--ct-gold); outline-offset: 3px; }
.dark-mode .ct-send { background: var(--ct-gold); color: #16213f; }
.dark-mode .ct-send:hover { background: #d4b57a; }
.ct-send svg { width: 18px !important; height: 18px !important; fill: currentColor; transition: transform .3s; }
.ct-send:hover svg { transform: translateX(4px) rotate(-8deg); }
.ct-send.is-busy { opacity: .7; cursor: progress; }
.ct-send.is-busy svg { animation: ct-go .8s ease-in-out infinite; }
@keyframes ct-go { 50% { transform: translateX(8px); opacity: .4; } }
.ct-fine { font-size: 12px; color: var(--ct-mute); text-align: center; margin: 10px 0 0; }

.ct-done { text-align: center; padding: 46px 10px; }
.ct-tick { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; background: #dcfce7; display: grid; place-items: center; animation: ct-pop .5s cubic-bezier(.3,1.6,.5,1) both; }
.ct-tick svg { width: 38px !important; height: 38px !important; stroke: #16a34a; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: ct-tickdraw .6s ease .25s forwards; }
@keyframes ct-pop { from { transform: scale(.4); opacity: 0; } }
@keyframes ct-tickdraw { to { stroke-dashoffset: 0; } }
.ct-done h3 { font-size: 28px; font-weight: 300; margin: 0 0 6px; }
.ct-done p { color: var(--ct-mute); margin: 0 0 16px; }
.ct-link { color: var(--ct-navy) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dark-mode .ct-link { color: #fff !important; }
.ct-link:hover { color: var(--ct-gold) !important; }

/* ---------- side ---------- */
.ct-side { display: grid; gap: 16px; }
.ct-side h4 { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ct-gold); }
.ct-side p { margin: 0 0 8px; font-size: 14px; color: var(--ct-mute); line-height: 1.55; }
.ct-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.ct-steps li { counter-increment: s; display: flex; gap: 10px; font-size: 14px; color: var(--ct-mute); margin: 0 0 10px; line-height: 1.45; padding: 0; background: none; }
.ct-steps li::before { content: counter(s); flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--ct-navy); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; margin-top: 1px; }
.dark-mode .ct-steps li::before { background: #fff; color: var(--ct-navy); }
.ct-live { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 12px; border-radius: 20px; background: var(--ct-soft); font-size: 13px; color: var(--ct-mute); }
.ct-live[hidden] { display: none; }
.ct-live i { width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; flex: 0 0 8px; }
.ct-live.is-open i { background: #22c55e; animation: ct-live 2s infinite; }
@keyframes ct-live { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.ct-office { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--ct-mute); margin-bottom: 12px; }
.ct-office:last-child { margin-bottom: 0; }
.ct-office svg { width: 18px !important; height: 18px !important; flex: 0 0 18px; fill: var(--ct-gold); margin-top: 2px !important; }
.ct-office b { display: block; color: var(--ct-ink); font-weight: 600; }

/* ---------- tablets & phones ---------- */
@media (max-width: 900px) {
  .ct { margin: 0 auto 60px !important; padding: 16px 12px 0; }
  .ct-hero { padding: 36px 18px 140px; border-radius: 14px; }
  .ct .ct-trail { bottom: 66px; height: 64px !important; }
  .ct-hero h1, .ct-hero h2 { font-size: 28px !important; }
  .ct-hero p { font-size: 15px; }
  .ct-quick { grid-template-columns: 1fr; gap: 10px; margin: -62px 10px 22px; }
  .ct-qc { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: center; padding: 14px 16px; }
  .ct-qc .ic { grid-row: span 2; margin: 0; }
  .ct-body { grid-template-columns: 1fr; gap: 16px; }
  .ct-formcard { padding: 20px 16px; }
}
@media (max-width: 560px) { .ct-grid2 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .ct-trail path, .ct-jet, .ct-live.is-open i { animation: none !important; }
  .ct-jet { display: none; }
}

/* Hide Google's floating reCAPTCHA badge. Google allows this as long as the form shows the
   "protected by reCAPTCHA" notice with its Privacy Policy and Terms links (see .ct-fine). */
.grecaptcha-badge { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.ct-fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ct-fine a:hover { color: #c6a361; }
