/* =========================================================
   contact-mobile.css
   Parent class: .ons-contact  (sab styles isi ke andar scoped)
   Mobile-first: base = mobile, upar min-width se tablet/desktop
   ========================================================= */

/* overflow:hidden mat lagana, wo position:sticky tod deta hai. clip safe hai */
.ons-contact { overflow-x: clip;  padding: 90px 0 25px !important; }
.ons-contact *, .ons-contact *::before, .ons-contact *::after { box-sizing: border-box; }
.ons-contact .wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ---------- Hero ---------- */
.ons-contact .ons-p-hero { padding: 91px 0 70px !important; margin-top:0px; margin-bottom: 100px;  }
.ons-contact .ons-p-hero h1 { font-size: 24px; line-height: 1.25; margin: 6px 0 8px; }
.ons-contact .ons-p-hero p { font-size: 14px; line-height: 1.6; margin: 0; }
.ons-contact .ons-p-sec { padding: 8px 0 40px; }

/* ---------- Layout (mobile: single column) ---------- */
.ons-contact .ons-p-contact { display: grid; grid-template-columns: 1fr; gap: 20px; }
.ons-contact .ons-p-contact > * { min-width: 0; }

/* ---------- Cards ---------- */
.ons-contact .ons-p-card { padding: 18px 16px; border-radius: 14px; }
.ons-contact .ons-p-h2 
{ 
    font-size: 25px;
    margin: 0 0 14px;
    font-weight: 600;
}

/* ---------- Form ---------- */
.ons-contact .ons-p-f .row2 { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ons-contact .ons-p-f .fld { margin-bottom: 14px; }
.ons-contact .ons-p-f label { display: block; font-size: 12px; margin-bottom: 5px; }

/* 16px font = iPhone par zoom nahi; 46px+ = easy tap */
.ons-contact .ons-p-f input,
.ons-contact .ons-p-f select,
.ons-contact .ons-p-f textarea {
  width: 100%; font-size: 16px; padding: 11px 12px;
  border-radius: 10px; font-family: inherit;
}
.ons-contact .ons-p-f input,
.ons-contact .ons-p-f select { min-height: 46px; }
.ons-contact .ons-p-f textarea { min-height: 140px; resize: vertical; line-height: 1.5; }

.ons-contact .ons-p-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 48px; font-size: 15px; border-radius: 10px; text-align: center;
}
.ons-contact .ons-p-alert { font-size: 13.5px; padding: 10px 12px; border-radius: 10px; margin-bottom: 12px; }

/* honeypot hamesha hidden */
.ons-contact .ons-p-hp {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; opacity: 0; pointer-events: none;
}

/* ---------- Success state ---------- */
.ons-contact .ons-contact__done { text-align: center; padding: 24px 6px; }
.ons-contact .ons-contact__done i { font-size: 44px; color: #1b9a52; }
.ons-contact .ons-contact__done h3 { font-size: 20px; margin: 12px 0 8px; }
.ons-contact .ons-contact__done p { font-size: 14.5px; line-height: 1.7; margin: 0 0 8px; }
.ons-contact .ons-contact__cta { margin-top: 18px; }
.ons-contact .ons-contact__cta .btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; }

/* ---------- Contact details: FOOTER JAISA dark card ---------- */
.ons-contact .ons-contact__side {
  background: var(--p-navy, #14213d);
  color: #dfe5f3;
  border: 0;
}
.ons-contact .ons-contact__side .ons-p-h2 {
  color: #fff; font-size:21px; letter-spacing: .3px;
  padding-bottom: 12px; margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.ons-contact .ons-p-ci {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.ons-contact .ons-p-ci:last-child { border-bottom: 0; padding-bottom: 2px; }
.ons-contact .ons-p-ci > i {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08);
  color: var(--p-gold, #c9a24b); font-size: 16px;
}
.ons-contact .ons-p-ci > div { min-width: 0; font-size: 14.5px; line-height: 1.6; color: #dfe5f3; word-break: break-word; }
.ons-contact .ons-p-ci b {
  display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255, 255, 255, .55); font-weight: 600; margin-bottom: 2px;
}
.ons-contact .ons-p-ci a {
  color: #fff; text-decoration: none; font-weight: 500;
  display: inline-block; padding: 2px 0;      /* tap area */
}
.ons-contact .ons-p-ci a:hover,
.ons-contact .ons-p-ci a:focus { color: var(--p-gold, #c9a24b); }

/* ---------- Very small phones ---------- */
@media (max-width: 360px) {
  .ons-contact .ons-p-hero h1 { font-size: 21px; }
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .ons-contact .wrap { padding: 0 24px; }
  .ons-contact .ons-p-hero { padding: 40px 0 24px; }
  .ons-contact .ons-p-hero h1 { font-size: 32px; }
  .ons-contact .ons-p-hero p { font-size: 15px; }
  .ons-contact .ons-p-card { padding: 24px; }
  .ons-contact .ons-p-f .row2 { grid-template-columns: 1fr 1fr; }
}

/* ---------- Desktop: 2 columns + RIGHT SIDE STICKY ---------- */
@media (min-width: 992px) {
  .ons-contact .ons-p-sec { padding-bottom: 60px; }
  .ons-contact .ons-p-hero h1 { font-size: 38px; }
  .ons-contact .ons-p-contact {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px; align-items: start;
  }
  .ons-contact .ons-contact__side {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 100px;                 /* header ki height ke hisaab se adjust karo */
    align-self: start;
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
}
