/* ==========================================================================
   FIRST OWNER MEDIA — CONTACT PAGE
   Direct channels + WhatsApp brief form.
   Brand tokens styles.css se aate hain; yahan sirf is page ka layer hai.
   ========================================================================== */

.contact-page {
  --ct-ink: #05060A;
  --ct-paper: #FBFBFD;
  --ct-paper-2: #F3F6FB;
  --ct-line: rgba(5, 6, 10, 0.10);
  --ct-muted: #646B78;
  --ct-blue: var(--color-blue-primary);
  --ct-green: #25D366;

  --ct-ease: cubic-bezier(0.22, 1, 0.36, 1);

  background: var(--ct-paper);
}

.contact-page .bg-dotted-texture { opacity: 0.32; }

.contact-page .header {
  position: sticky;
  top: 0;
  background: rgba(251, 251, 253, 0.96);
  backdrop-filter: blur(14px) saturate(0.88);
  -webkit-backdrop-filter: blur(14px) saturate(0.88);
  border-bottom: 1px solid var(--ct-line);
}

.ct-shell { width: min(92%, 1320px); margin: 0 auto; position: relative; z-index: 2; }

.ct-serif {
  font-family: 'Instrument Serif', 'Instrument Fallback', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--ct-blue);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.ct-hero {
  position: relative;
  z-index: 10;
  padding: 54px 0 48px;
  overflow: hidden;
}

.ct-hero::before {
  content: "";
  position: absolute;
  top: -220px; right: -140px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(18, 100, 244, 0.14), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.ct-back {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ct-muted);
  text-decoration: none;
  transition: color 0.3s var(--ct-ease), gap 0.3s var(--ct-ease);
}
.ct-back svg { width: 15px; height: 15px; }
.ct-back:hover { color: var(--ct-blue); gap: 12px; }

.ct-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--ct-line);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ct-ink);
}

.ct-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ct-blue);
  animation: ctPulse 2.4s infinite;
}

@keyframes ctPulse {
  0%   { box-shadow: 0 0 0 0 rgba(18, 100, 244, 0.45); }
  70%  { box-shadow: 0 0 0 9px rgba(18, 100, 244, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 100, 244, 0); }
}

.ct-title {
  margin-top: 22px;
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--ct-ink);
  max-width: 18ch;
}
.ct-title .ct-serif { font-size: 1.06em; }

.ct-lede {
  margin-top: 22px;
  max-width: 58ch;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.7;
  color: var(--ct-muted);
}

/* ==========================================================================
   MAIN GRID
   ========================================================================== */
.ct-main {
  position: relative;
  z-index: 10;
  padding: 0 0 60px;
}

.ct-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 46px;
  align-items: start;
}

.ct-col-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ct-muted);
}

/* ---- Direct channels ---- */
.ct-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 18px 20px;
  border: 1px solid var(--ct-line);
  border-radius: 16px;
  background: #FFFFFF;
  text-decoration: none;
  transition:
    border-color 0.35s var(--ct-ease),
    box-shadow 0.35s var(--ct-ease),
    transform 0.35s var(--ct-ease);
}

.ct-channels .ct-col-title + .ct-channel { margin-top: 18px; }

.ct-channel:hover {
  border-color: rgba(18, 100, 244, 0.4);
  box-shadow: 0 18px 38px rgba(18, 100, 244, 0.12);
  transform: translateY(-2px);
}

.ct-channel:focus-visible { outline: 2px solid var(--ct-blue); outline-offset: 3px; }

.ct-channel-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--color-blue-secondary);
  color: var(--ct-blue);
}
.ct-channel-ico svg { width: 21px; height: 21px; }

.ct-ico-wa { background: rgba(37, 211, 102, 0.14); color: #128C4A; }

.ct-channel-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ct-channel-text strong { font-size: 1rem; font-weight: 700; color: var(--ct-ink); }
.ct-channel-text small { font-size: 0.82rem; color: var(--ct-muted); }

.ct-channel-go {
  width: 16px; height: 16px;
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--ct-muted);
  transition: transform 0.35s var(--ct-ease), color 0.35s var(--ct-ease);
}
.ct-channel:hover .ct-channel-go { color: var(--ct-blue); transform: translate(3px, -3px); }

/* ---- Side notes ---- */
.ct-note {
  display: flex;
  gap: 13px;
  margin-top: 22px;
  padding: 20px;
  border: 1px dashed var(--ct-line);
  border-radius: 16px;
  background: var(--ct-paper-2);
}

.ct-note > svg { width: 19px; height: 19px; flex: 0 0 auto; color: var(--ct-blue); margin-top: 2px; }
.ct-note strong { display: block; font-size: 0.93rem; font-weight: 700; color: var(--ct-ink); }
.ct-note p { margin-top: 6px; font-size: 0.88rem; line-height: 1.65; color: var(--ct-muted); }

.ct-next {
  list-style: none;
  counter-reset: ctstep;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ct-next li {
  counter-increment: ctstep;
  position: relative;
  padding-left: 28px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ct-muted);
}

.ct-next li::before {
  content: counter(ctstep);
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--color-blue-secondary);
  color: var(--ct-blue);
  font-size: 0.68rem;
  font-weight: 800;
}

/* ==========================================================================
   FORM
   ========================================================================== */
.ct-form-sub {
  margin-top: 12px;
  max-width: 54ch;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ct-muted);
}

.ct-form {
  margin-top: 24px;
  padding: 30px 30px 28px;
  border: 1px solid var(--ct-line);
  border-radius: 22px;
  background: #FFFFFF;
  box-shadow: 0 20px 50px rgba(5, 5, 5, 0.06);
}

.ct-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ct-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.ct-row .ct-field { margin-bottom: 0; }
.ct-row + .ct-field,
.ct-row + .ct-row { margin-top: 18px; }

.ct-field label,
.ct-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ct-ink);
}

.ct-field label span,
.ct-label span { color: var(--ct-blue); }

.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--ct-line);
  border-radius: 12px;
  background: #F8FAFC;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ct-ink);
  transition: border-color 0.3s var(--ct-ease), background 0.3s var(--ct-ease), box-shadow 0.3s var(--ct-ease);
}

.ct-field textarea { resize: vertical; min-height: 112px; line-height: 1.6; }

.ct-field input::placeholder,
.ct-field textarea::placeholder { color: #9AA5B4; }

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--ct-blue);
  box-shadow: 0 0 0 3px rgba(18, 100, 244, 0.14);
}

.ct-field input.is-invalid,
.ct-field textarea.is-invalid { border-color: #DC2626; background: #FEF2F2; }

/* ---- Service chips ---- */
.ct-chips { display: flex; flex-wrap: wrap; gap: 9px; }

.ct-chip { cursor: pointer; }
.ct-chip input { position: absolute; opacity: 0; pointer-events: none; }

.ct-chip span {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--ct-line);
  border-radius: 999px;
  background: #F8FAFC;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  transition: background 0.25s var(--ct-ease), color 0.25s var(--ct-ease), border-color 0.25s var(--ct-ease);
}

.ct-chip:hover span { border-color: var(--ct-blue); color: var(--ct-blue); }

.ct-chip input:checked + span {
  background: var(--ct-blue);
  border-color: var(--ct-blue);
  color: #FFFFFF;
}

.ct-chip input:focus-visible + span { outline: 2px solid var(--ct-blue); outline-offset: 3px; }

/* ---- Submit ---- */
.ct-error {
  margin-bottom: 14px;
  padding: 11px 14px;
  border-radius: 11px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  font-size: 0.88rem;
  color: #B91C1C;
}

.ct-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 26px;
  border: none;
  border-radius: var(--radius-btn);
  background: var(--ct-blue);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s var(--ct-ease), box-shadow 0.3s var(--ct-ease), background 0.3s var(--ct-ease);
}

.ct-submit svg { width: 18px; height: 18px; }
.ct-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 34px var(--color-blue-glow); }
.ct-submit:focus-visible { outline: 2px solid var(--ct-ink); outline-offset: 3px; }

.ct-fineprint {
  margin-top: 14px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--ct-muted);
  text-align: center;
}

/* ==========================================================================
   REVEAL
   ========================================================================== */
.ct-hero .ct-back,
.ct-hero .ct-eyebrow,
.ct-title,
.ct-lede,
.ct-channels,
.ct-form-wrap { opacity: 0; transform: translateY(18px); }

.ct-hero.is-in .ct-back    { animation: ctIn 0.5s var(--ct-ease) 0.02s both; }
.ct-hero.is-in .ct-eyebrow { animation: ctIn 0.55s var(--ct-ease) 0.08s both; }
.ct-hero.is-in .ct-title   { animation: ctIn 0.65s var(--ct-ease) 0.16s both; }
.ct-hero.is-in .ct-lede    { animation: ctIn 0.6s var(--ct-ease) 0.26s both; }

.ct-main.is-in .ct-channels  { animation: ctIn 0.6s var(--ct-ease) 0.08s both; }
.ct-main.is-in .ct-form-wrap { animation: ctIn 0.6s var(--ct-ease) 0.18s both; }

@keyframes ctIn { to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .ct-main-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}

@media (max-width: 620px) {
  .ct-hero { padding: 38px 0 34px; }
  .ct-main { padding-bottom: 56px; }
  .ct-row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ct-row .ct-field + .ct-field { margin-top: 0; }
  .ct-form { padding: 22px 20px 20px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .ct-hero .ct-back,
  .ct-hero .ct-eyebrow,
  .ct-title, .ct-lede,
  .ct-channels, .ct-form-wrap {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .ct-channel:hover, .ct-submit:hover { transform: none; }
}

/* Akela link tha aur 19px ka — ungli ke liye upar-neeche jagah di.
   Dikhne me waisa hi, margin se naap wapas seedha kar diya. */
.ct-back { padding: 6px 0; margin-top: -6px; }
