/* =============================================================
   AJK Welfare — Contact page
   Layout mirrors Figma frame "Desktop - 14 · Contact Us"
   Builds on home.css tokens, header, buttons, footer and reveal.
   ============================================================= */

.contact-page{background:#fff}

/* -------------------------------------------------------------
   Hero — contact information + form
   ------------------------------------------------------------- */
.ct-hero{
  background:var(--soft);
  padding:0 0 40px;
}
.ct-copy{padding-top:31px}

.ct-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,660px) minmax(0,560px);
  justify-content:space-between;
  align-items:start;
  gap:64px;
}

.ct-eyebrow{
  display:flex;
  align-items:center;
  gap:9px;
  margin:0;
  font-family:var(--font-display);
  font-size:14px;
  line-height:18px;
  font-weight:600;
  letter-spacing:1.12px;
  text-transform:uppercase;
  color:var(--brand);
}
.ct-dot{
  width:6px;height:6px;
  border-radius:50%;
  background:var(--brand);
  flex:none;
}

.ct-title{
  margin:20px 0 0;
  font-family:var(--font-display);
  font-size:80px;
  line-height:84px;
  font-weight:600;
  letter-spacing:-2.4px;
  color:var(--ink);
  white-space:nowrap;
}

.ct-lede{
  margin:20px 0 0;
  max-width:560px;
  font-size:21px;
  line-height:32px;
  color:var(--muted);
}

/* Contact detail rows */
.ct-details{
  list-style:none;
  margin:48px 0 0;
  padding:0;
  width:100%;
  max-width:640px;
}
.ct-detail{
  display:flex;
  align-items:center;
  gap:18px;
  min-height:86px;
  padding:12px 0;
  border-top:1px solid #dcdce2;
}
.ct-detail:first-child{border-top:0;padding-top:0}
.ct-detail-icon{
  width:48px;height:48px;
  flex:none;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:#eaf2ff;
  color:var(--brand);
  font-size:18px;
  font-weight:600;
  line-height:1;
}
.ct-detail-text{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}
.ct-detail-label{
  font-size:11px;
  line-height:15px;
  font-weight:600;
  letter-spacing:1.54px;
  text-transform:uppercase;
  color:#8a8a8f;
}
.ct-detail-value{
  font-size:17px;
  line-height:22px;
  font-weight:500;
  color:var(--ink);
  max-width:470px;
}
a.ct-detail-value{transition:color .2s}
a.ct-detail-value:hover{color:var(--brand)}

/* Social pills */
.ct-socials{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:56px;
}
.ct-socials a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:40px;
  padding:0 18px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  font-size:13px;
  line-height:17px;
  font-weight:500;
  color:var(--ink);
  transition:border-color .2s,color .2s,transform .2s;
}
.ct-socials a:hover{
  border-color:#c9d8ea;
  color:var(--brand);
  transform:translateY(-1px);
}

/* -------------------------------------------------------------
   Form card
   ------------------------------------------------------------- */
.ct-form-card{
  width:100%;
  max-width:560px;
  justify-self:end;
  padding:34px;
  border:1px solid var(--line);
  border-radius:24px;
  background:#fff;
  box-shadow:0 20px 34px rgba(10,31,51,.12);
}

.ct-form-title{
  margin:0;
  font-family:var(--font-display);
  font-size:26px;
  line-height:34px;
  font-weight:600;
  letter-spacing:-.006em;
  color:var(--ink);
}
.ct-form-sub{
  margin:6px 0 0;
  font-size:14px;
  line-height:18px;
  color:var(--muted);
}

.ct-form{
  display:flex;
  flex-direction:column;
  margin-top:22px;
}

.ct-field{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:16px;
}
.ct-label{
  font-size:12px;
  line-height:16px;
  font-weight:600;
  letter-spacing:.02em;
  text-transform:uppercase;
  color:var(--muted);
}
.ct-input{
  width:100%;
  height:52px;
  padding:0 16px;
  border:1px solid #dcdce2;
  border-radius:12px;
  background:#fff;
  color:var(--ink);
  font-family:var(--font);
  font-size:15px;
  line-height:20px;
  transition:border-color .2s,box-shadow .2s;
  appearance:none;
}
.ct-input::placeholder{color:#a1a1a6}
.ct-input:hover{border-color:#c9ccd3}
.ct-input:focus{
  outline:none;
  border-color:var(--brand);
  box-shadow:0 0 0 3px rgba(0,113,227,.15);
}
.ct-textarea{
  height:116px;
  min-height:116px;
  padding:14px 16px;
  resize:vertical;
}
.ct-field.has-error .ct-input{
  border-color:#d93b3b;
  box-shadow:0 0 0 3px rgba(217,59,59,.12);
}
.ct-error{
  font-size:12px;
  line-height:16px;
  color:#c62828;
}

.ct-honey{
  position:absolute!important;
  left:-9999px!important;
  width:1px;height:1px;
  opacity:0;
  pointer-events:none;
}

.ct-send{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  min-height:46px;
  margin-top:8px;
  padding:12px 24px;
  border:0;
  border-radius:999px;
  background:var(--brand);
  color:#fff;
  font-family:var(--font);
  font-size:17px;
  line-height:22px;
  font-weight:500;
  letter-spacing:-.002em;
  cursor:pointer;
  transition:background .2s,box-shadow .2s,transform .2s,opacity .2s;
}
.ct-send:hover{background:#0062c4;box-shadow:0 10px 24px rgba(0,113,227,.28);transform:translateY(-1px)}
.ct-send:disabled{cursor:progress;opacity:.8;transform:none;box-shadow:none}
.ct-send-spinner{
  display:none;
  width:16px;height:16px;
  border:2px solid rgba(255,255,255,.45);
  border-top-color:#fff;
  border-radius:50%;
  animation:ct-spin .7s linear infinite;
}
.ct-send.is-busy .ct-send-spinner{display:block}
@keyframes ct-spin{to{transform:rotate(360deg)}}

.ct-privacy{
  margin:14px 0 0;
  font-size:11px;
  line-height:15px;
  color:#a1a1a6;
}
.ct-status{
  margin:10px 0 0;
  font-size:13px;
  line-height:18px;
  color:#c62828;
}
.ct-status:empty{display:none}

/* Success state */
.ct-success{
  margin-top:26px;
  text-align:center;
  padding:22px 6px 8px;
}
.ct-success[hidden]{display:none}
.ct-success-icon{
  display:grid;
  place-items:center;
  width:52px;height:52px;
  margin:0 auto 16px;
  border-radius:50%;
  background:#e8f6ee;
  color:#1a9c53;
}
.ct-success-icon svg{width:24px;height:24px}
.ct-success h3{
  margin:0;
  font-family:var(--font-display);
  font-size:24px;
  line-height:30px;
  font-weight:600;
  color:var(--ink);
}
.ct-success p{
  margin:8px auto 0;
  max-width:360px;
  font-size:15px;
  line-height:22px;
  color:var(--muted);
}
.ct-again{
  margin-top:22px;
  padding:12px 24px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  font-size:15px;
  font-weight:500;
  color:var(--ink);
  cursor:pointer;
  transition:border-color .2s,color .2s;
}
.ct-again:hover{border-color:var(--brand);color:var(--brand)}

/* -------------------------------------------------------------
   Office map
   ------------------------------------------------------------- */
.ct-office{
  padding:65px 0 104px;
}
.ct-map{
  position:relative;
  width:min(var(--page),calc(100% - 132px));
  margin-inline:auto;
  height:420px;
  border-radius:24px;
  background:#0d1f30;
  overflow:hidden;
  isolation:isolate;
}

.ct-map-grid{
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(90deg,#18354c 0 1px,transparent 1px 100px),
    repeating-linear-gradient(0deg,#18354c 0 1px,transparent 1px 100px);
  opacity:.9;
}

.ct-map-block{
  position:absolute;
  border-radius:8px;
  background:#122b3f;
}
.ct-map-block.b1{left:4.59%;top:9.52%;width:22.94%;height:35.71%}
.ct-map-block.b2{left:32.11%;top:9.52%;width:22.94%;height:35.71%}
.ct-map-block.b3{left:64.22%;top:9.52%;width:22.94%;height:35.71%}
.ct-map-block.b4{left:4.59%;top:76.19%;width:45.87%;height:16.67%}
.ct-map-block.b5{left:64.22%;top:76.19%;width:29.05%;height:16.67%}

.ct-map-road-h{
  position:absolute;
  left:0;right:0;
  top:59.52%;
  height:26px;
  background:#265576;
}
.ct-map-road-v{
  position:absolute;
  top:0;bottom:0;
  left:58.1%;
  width:26px;
  background:#265576;
}

.ct-map-pin{
  position:absolute;
  left:58.2%;
  top:206px;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:10px;
  height:56px;
  padding:0 20px 0 18px;
  border-radius:28px;
  background:#fff;
  box-shadow:0 8px 12px rgba(0,0,0,.3);
  font-size:14px;
  line-height:18px;
  font-weight:600;
  color:var(--ink);
  white-space:nowrap;
  z-index:2;
}
.ct-map-pin .dot{
  width:10px;height:10px;
  flex:none;
  border-radius:5px;
  background:var(--brand);
}
.ct-map-street{
  position:absolute;
  left:44px;
  top:236px;
  font-size:11px;
  line-height:1;
  font-weight:600;
  letter-spacing:1.54px;
  color:#8fb2cb;
  z-index:2;
}

.ct-map-foot{
  position:absolute;
  left:0;right:0;bottom:0;
  height:96px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:0 40px;
  background:#0a1a28;
  z-index:3;
}
.ct-map-address{display:flex;flex-direction:column;gap:4px;min-width:0}
.ct-map-address strong{
  font-size:16px;
  line-height:21px;
  font-weight:600;
  color:#fff;
}
.ct-map-address span{
  font-size:14px;
  line-height:18px;
  color:#9fb3c8;
}
.ct-directions{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:none;
  padding:12px 24px;
  border-radius:999px;
  background:rgba(255,255,255,.2);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  color:#fff;
  font-size:17px;
  line-height:22px;
  font-weight:500;
  transition:background .2s,color .2s;
}
.ct-directions:hover{background:#fff;color:var(--ink)}

/* -------------------------------------------------------------
   Join our journey band
   ------------------------------------------------------------- */
.ct-journey{
  padding-bottom:27px;
}
.ct-journey-inner{
  position:relative;
  width:min(var(--page),calc(100% - 132px));
  margin-inline:auto;
  height:460px;
  padding:68px 76px;
  border-radius:24px;
  overflow:hidden;
  background:#0071e3 url("img/contact/journey.webp") center/cover no-repeat;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  box-shadow:0 26px 30px rgba(10,31,51,.18);
}
.ct-journey-inner::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,90,200,.28),rgba(0,71,168,.42));
}
.ct-journey-inner > *{position:relative;z-index:1}
.ct-journey-inner h2{
  margin:0;
  font-family:var(--font-display);
  font-size:56px;
  line-height:60px;
  font-weight:600;
  letter-spacing:-1.4px;
  color:#fff;
}
.ct-journey-inner p{
  margin:21px 0 0;
  max-width:1156px;
  font-size:21px;
  line-height:31px;
  font-weight:600;
  letter-spacing:-.003em;
  color:#fff;
}
.ct-journey-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:24px;
  padding:16px 20px;
  border:1px solid var(--line);
  border-radius:80px;
  color:#fff;
  font-size:17px;
  line-height:22px;
  font-weight:500;
  letter-spacing:-.002em;
  transition:background .2s,color .2s,border-color .2s;
}
.ct-journey-btn:hover{background:#fff;border-color:#fff;color:var(--ink)}

/* -------------------------------------------------------------
   Responsive
   ------------------------------------------------------------- */
@media (max-width:1180px){
  .ct-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,480px);gap:40px}
  .ct-title{font-size:clamp(44px,6vw,72px);line-height:1.06;letter-spacing:-.03em;white-space:normal}
  .ct-form-card{max-width:480px}
}

@media (max-width:980px){
  .ct-hero{padding-top:36px}
  .ct-copy{padding-top:0}
  .ct-hero-grid{grid-template-columns:1fr;gap:40px}
  .ct-form-card{max-width:none;justify-self:stretch}
  .ct-title{font-size:clamp(42px,7vw,64px)}
  .ct-map{height:380px}
  .ct-map-pin{top:180px}
  .ct-map-street{top:210px}
  .ct-journey-inner{height:auto;padding:60px 40px;min-height:380px}
  .ct-journey-inner h2{font-size:clamp(34px,5vw,48px);line-height:1.08}
  .ct-journey-inner p{font-size:18px;line-height:28px}
}

@media (max-width:760px){
  .ct-hero{padding:28px 0 32px}
  .ct-title{font-size:clamp(36px,9vw,52px)}
  .ct-lede{font-size:18px;line-height:28px}
  .ct-detail{gap:14px;min-height:78px}
  .ct-detail-icon{width:42px;height:42px;border-radius:12px;font-size:16px}
  .ct-detail-value{font-size:15px;line-height:21px}
  .ct-form-card{padding:24px;border-radius:20px}
  .ct-office{padding:44px 0 64px}
  .ct-map{height:340px;border-radius:20px}
  .ct-map-pin{top:150px;font-size:13px;height:50px}
  .ct-map-street{top:176px;left:24px}
  .ct-map-block.b1,.ct-map-block.b2,.ct-map-block.b3{height:38%}
  .ct-map-foot{height:auto;padding:18px 22px;flex-direction:column;align-items:flex-start;gap:14px}
  .ct-map-address strong{font-size:15px}
  .ct-map-address span{font-size:13px}
  .ct-directions{font-size:15px;padding:10px 20px}
  .ct-journey{padding-bottom:44px}
  .ct-journey-inner{padding:48px 24px;border-radius:20px;min-height:0}
  .ct-journey-inner h2{font-size:clamp(30px,8vw,40px)}
  .ct-journey-inner p{font-size:16px;line-height:26px}
  .ct-journey-btn{font-size:15px;padding:14px 22px}
}

@media (max-width:430px){
  .ct-map-pin{
    left:50%;
    max-width:calc(100% - 32px);
    overflow:hidden;
    text-overflow:ellipsis;
  }
}

@media (prefers-reduced-motion:reduce){
  .ct-send,.ct-socials a,.ct-directions,.ct-journey-btn{transition:none}
  .ct-send-spinner{animation:none}
}

/* -------------------------------------------------------------
   FAQ — visible copy that also powers the FAQPage schema
   ------------------------------------------------------------- */
.ct-faq{
  padding:12px 0 76px;
  background:#fff;
}
.ct-faq-inner{
  width:min(880px,calc(100% - 48px));
  margin:0 auto;
}
.ct-faq-title{
  margin:10px 0 0;
  font-family:var(--font-display);
  font-size:clamp(28px,4vw,40px);
  line-height:1.1;
  letter-spacing:-.02em;
  font-weight:600;
  color:var(--ink);
}
.ct-faq-lede{
  margin:10px 0 26px;
  font-size:16px;
  line-height:1.55;
  color:var(--muted);
}
.ct-faq-list{
  border-top:1px solid var(--line);
}
.ct-faq-item{
  border-bottom:1px solid var(--line);
}
.ct-faq-item summary{
  position:relative;
  padding:19px 48px 19px 0;
  list-style:none;
  cursor:pointer;
  font-size:16.5px;
  line-height:24px;
  font-weight:600;
  color:var(--ink);
}
.ct-faq-item summary::-webkit-details-marker{display:none}
.ct-faq-item summary::after{
  content:"";
  position:absolute;
  right:14px;
  top:50%;
  width:8px;height:8px;
  border-right:2px solid var(--muted);
  border-bottom:2px solid var(--muted);
  transform:translateY(-70%) rotate(45deg);
  transition:transform .2s var(--ease);
}
.ct-faq-item[open] summary::after{transform:translateY(-20%) rotate(-135deg)}
.ct-faq-item summary:hover{color:var(--brand)}
.ct-faq-item summary:focus-visible{outline:2px solid var(--brand);outline-offset:4px;border-radius:6px}
.ct-faq-item p{
  margin:0;
  padding:0 48px 20px 0;
  max-width:78ch;
  font-size:15.5px;
  line-height:1.7;
  color:var(--muted);
}

@media (max-width:700px){
  .ct-faq{padding:8px 0 56px}
  .ct-faq-inner{width:calc(100% - 40px)}
  .ct-faq-item summary{font-size:15.5px;padding:17px 40px 17px 0}
  .ct-faq-item p{font-size:14.5px;padding-right:20px}
}
