/* ==========================================================================
   Contact page (restyled 27 September 2026, evening)
   Loaded on /contact/ after services.css and pages.css. Classes start "ct-".
   ========================================================================== */

/* 1. Hero and the ways to reach us -------------------------------------------- */
.ct-hero .pg-hero-inner { grid-template-columns: 1fr 0.92fr; }
.ct-ways { animation: pg-fade-up 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s both; }
.ct-ways-label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px 4px;
  font-family: var(--svc-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #8FA6CF;
}
.ct-ways-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--svc-green); animation: svc-blink 1.4s ease-in-out infinite; }
.ct-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ct-card {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 15px 18px; border-radius: 18px;
  background: rgba(11, 29, 66, 0.9); border: 1px solid rgba(124, 196, 255, 0.22);
  box-shadow: 0 18px 36px -24px rgba(0, 0, 0, 0.9);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.ct-card:not(.is-static):hover { transform: translateX(4px); border-color: rgba(124, 196, 255, 0.55); background: rgba(14, 40, 90, 0.94); }
.ct-card:focus-within { outline: 3px solid var(--orange); outline-offset: 3px; }
.ct-card-icon {
  flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #0E428C, #2F7BFF); box-shadow: 0 12px 24px -12px rgba(47, 123, 255, 0.9);
}
.ct-card-icon .svc-i { width: 24px; height: 24px; }
.ct-card.is-wa .ct-card-icon { background: linear-gradient(135deg, #0A6333, #1FA855); box-shadow: 0 12px 24px -12px rgba(31, 168, 85, 0.9); }
.ct-card.is-book .ct-card-icon { background: linear-gradient(135deg, #C98410, #F5AE31); color: #0A2A5E; box-shadow: 0 12px 24px -12px rgba(245, 174, 49, 0.9); }
.ct-card.is-wa { border-color: rgba(31, 168, 85, 0.45); }
.ct-card.is-book { border-color: rgba(245, 174, 49, 0.45); }
.ct-card-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ct-card-kicker { font-family: var(--svc-mono); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #8FA6CF; }
.ct-card-link, .ct-card-value { color: #fff; font-weight: 700; font-size: 1.02rem; line-height: 1.35; overflow-wrap: anywhere; }
.ct-card-link:hover { color: #fff; }
.ct-card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ct-card-link:focus-visible { outline: none; }
.ct-card-text small:not(.ct-card-kicker) { color: #A9B8D6; font-size: 0.85rem; }
.ct-card-go { flex: none; color: #8FA6CF; transition: transform 0.25s ease, color 0.25s ease; }
.ct-card:hover .ct-card-go { transform: translateX(3px); color: var(--svc-amber); }
.ct-card-go .svc-i { width: 18px; height: 18px; }

/* 2. The form and what happens next --------------------------------------------- */
.ct-main { padding: 96px 0 112px; background: #F2F5FA; scroll-margin-top: 100px; }
.ct-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: start; }
.ct-form-card {
  position: relative; overflow: hidden; padding: 38px 38px 34px; border-radius: 26px;
  background: #fff; border: 1px solid #E1E8F3; box-shadow: 0 40px 80px -56px rgba(10, 42, 94, 0.6);
}
.ct-form-glow { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #2F7BFF, #7CC4FF 50%, #F5AE31); }
.ct-form-card h2 { font-size: 1.9rem; margin: 0 0 8px; }
.ct-form-intro { margin: 0 0 24px; color: #51607A; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-field { margin-bottom: 18px; }
.ct-field label { display: block; margin-bottom: 7px; font-weight: 700; font-size: 0.9rem; color: var(--navy-dark); }
.ct-form input[type="text"], .ct-form input[type="email"], .ct-form textarea {
  display: block; width: 100%; margin: 0; padding: 13px 15px; border: 1px solid #CFD9E8; border-radius: 12px;
  background: #FAFCFF; font: inherit; font-size: 1rem; color: var(--charcoal);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ct-form textarea { min-height: 176px; resize: vertical; line-height: 1.55; }
.ct-form input:focus, .ct-form textarea:focus { outline: none; border-color: #2F7BFF; background: #fff; box-shadow: 0 0 0 4px rgba(47, 123, 255, 0.18); }
.ct-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-form .form-consent { margin: 2px 0 22px; color: #56607A; }
.ct-form .form-consent a { color: #0E428C; text-decoration: underline; text-underline-offset: 2px; }
.ct-send { border: 0; cursor: pointer; font-family: inherit; }
.ct-prefill {
  display: flex; gap: 10px; align-items: flex-start; margin: 0 0 20px; padding: 12px 14px; border-radius: 12px;
  background: #FFF8EA; border: 1px solid #F6D796; color: #6B4A06; font-size: 0.92rem; line-height: 1.5;
}
.ct-prefill .svc-i { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #C98410; }
.ct-status { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; padding: 18px 20px; border-radius: 14px; }
.ct-status p { margin: 0; }
.ct-status.is-ok { background: #EEF7E4; border: 1px solid #BFDD95; color: #2E5C1F; }
.ct-status.is-error { background: #FBEAEA; border: 1px solid #E4A5A5; color: #7A2B2B; }
.ct-status-icon .svc-i { width: 28px; height: 28px; color: #4A7A12; }

.ct-next { padding-top: 6px; }
.ct-next h2 { font-size: 1.6rem; margin: 0 0 24px; }
.ct-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.ct-steps::before { content: ""; position: absolute; left: 25px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(180deg, #2F7BFF, #7CC4FF, #F5AE31); opacity: 0.45; }
.ct-steps::after {
  content: ""; position: absolute; left: 22px; top: 4%; width: 8px; height: 8px; border-radius: 50%;
  background: #FFD27A; box-shadow: 0 0 12px #F5AE31; animation: ct-travel 4.2s ease-in-out infinite;
}
.ct-step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.ct-step-node {
  position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #0E428C, #2F7BFF); box-shadow: 0 0 0 6px #F2F5FA, 0 14px 26px -12px rgba(47, 123, 255, 0.9);
}
.ct-step:nth-child(2) .ct-step-node { background: linear-gradient(135deg, #0A6E8C, #3FB6D9); box-shadow: 0 0 0 6px #F2F5FA, 0 14px 26px -12px rgba(63, 182, 217, 0.9); }
.ct-step:nth-child(3) .ct-step-node { background: linear-gradient(135deg, #C98410, #F5AE31); color: #0A2A5E; box-shadow: 0 0 0 6px #F2F5FA, 0 14px 26px -12px rgba(245, 174, 49, 0.9); }
.ct-step-node .svc-i { width: 24px; height: 24px; }
.ct-step h3 { font-size: 1.12rem; margin: 4px 0 4px; }
.ct-step p { margin: 0; color: #51607A; font-size: 0.96rem; }
.ct-path-mini { margin-top: 36px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid #E1E8F3; }
.ct-path-label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 10px; font-family: var(--svc-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }
.ct-path-label i { width: 18px; height: 2px; background: linear-gradient(90deg, #7CC4FF, #F5AE31); }

@keyframes ct-travel { 0% { top: 4%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 92%; opacity: 0; } }

/* Responsive ------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .ct-hero .pg-hero-inner { grid-template-columns: 1fr; }
  .ct-ways { max-width: 620px; }
}
@media (max-width: 1000px) {
  .ct-grid { grid-template-columns: 1fr; gap: 48px; }
  .ct-next { max-width: 640px; }
}
@media (max-width: 900px) {
  .ct-main { padding: 72px 0 84px; }
}
@media (max-width: 600px) {
  .ct-row { grid-template-columns: 1fr; gap: 0; }
  .ct-form-card { padding: 28px 20px 24px; border-radius: 22px; }
  .ct-send { width: 100%; justify-content: center; }
  .ct-card { padding: 14px 14px; gap: 12px; }
  .ct-card-icon { width: 42px; height: 42px; border-radius: 12px; }
}

/* Reduced motion (services.css stops every animation) ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  .ct-ways { opacity: 1; transform: none; }
  .ct-steps::after { display: none; }
}
