/* ==========================================================================
   contact-page.css -- /sampark-karein/ premium redesign. Every rule is scoped under .ct / ct-*.
   Does not touch the global style.css, header or footer.
   ========================================================================== */
.ct {
  --ct-navy: #14203a; --ct-maroon: var(--maroon-900, #481014); --ct-maroon-d: var(--maroon-950, #2d090b);
  --ct-gold: var(--gold, #d9a64f); --ct-gold-pale: var(--gold-pale, #f4ddb0); --ct-saffron: var(--saffron, #c96d24);
  --ct-ivory: #fffaf0; --ct-ink: var(--ink, #2f2220); --ct-muted: #5f4f4a; --ct-line: rgba(104, 28, 32, .16); --ct-r: 20px;
  overflow-x: clip; color: var(--ct-ink);
}
.ct *, .ct *::before, .ct *::after { box-sizing: border-box; }
.ct img { max-width: 100%; height: auto; display: block; }
.ct [id] { scroll-margin-top: 92px; }
.ct .reveal { transition-delay: var(--d, 0s); }
.ct h2 { margin: 0 0 14px; font: 700 clamp(1.5rem, 3.2vw, 2.2rem)/1.35 "Tiro Devanagari Sanskrit", serif; color: var(--ct-maroon-d); }
.ct h3 { margin: 0 0 8px; font-family: "Tiro Devanagari Sanskrit", serif; color: var(--ct-maroon); line-height: 1.45; }
.ct p { line-height: 1.95; }
.ct a:not(.ct-btn):not(.ct-rel) { color: var(--maroon, #7d2727); text-decoration: underline; text-underline-offset: 3px; }
.ct a:focus-visible, .ct button:focus-visible, .ct input:focus-visible, .ct textarea:focus-visible, .ct [tabindex]:focus-visible { outline: 3px solid var(--saffron-bright, #e38c36); outline-offset: 3px; border-radius: 10px; }
.ct-hero a:focus-visible, .ct-dark a:focus-visible, .ct-closing a:focus-visible { outline-color: var(--ct-gold-pale); }

.ct-section { padding: clamp(50px, 7vw, 86px) 0; position: relative; }
.ct-tint { background: linear-gradient(180deg, #fbf2e2, #f7ead3); }
.ct-narrow { max-width: 880px; }
.ct-head { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.ct-head p { margin: 0; color: var(--ct-muted); }
.ct-label { display: inline-block; margin: 0 0 10px !important; padding: 4px 14px; font: 700 .78rem/1.6 "Noto Sans Devanagari", sans-serif; letter-spacing: .04em; color: var(--maroon, #7d2727) !important; background: rgba(217,166,79,.22); border: 1px solid rgba(217,166,79,.55); border-radius: 999px; }
.ct-small { font-size: .88rem; color: var(--ct-muted); }

/* buttons */
.ct-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.ct-actions-c { justify-content: center; } .ct-actions-col { flex-direction: column; align-items: stretch; }
.ct-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 28px; font: 700 1rem/1.4 "Noto Sans Devanagari", sans-serif; text-align: center; text-decoration: none; border: 2px solid transparent; border-radius: 999px; cursor: pointer; transition: transform .28s ease, box-shadow .28s ease, background .28s ease; }
.ct-btn[disabled] { opacity: .6; cursor: wait; }
.ct-btn-gold { color: var(--ct-maroon-d); background: linear-gradient(135deg, #f1cf86, #d9a64f); box-shadow: 0 10px 26px rgba(217,166,79,.35); }
.ct-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(217,166,79,.5); }
.ct-btn-ghost { color: #fff; border-color: rgba(244,221,176,.6); background: rgba(255,255,255,.06); }
.ct-btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.ct-btn-maroon { color: #fff; background: linear-gradient(135deg, var(--maroon, #7d2727), var(--ct-maroon-d)); box-shadow: 0 10px 24px rgba(72,16,20,.28); }
.ct-btn-maroon:hover:not([disabled]) { transform: translateY(-2px); }

/* A: hero */
.ct-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(50px, 7vw, 92px) 0; background: var(--ct-navy); isolation: isolate; }
.ct-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ct-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(45,9,11,.94) 0%, rgba(72,16,20,.86) 52%, rgba(20,32,58,.68) 100%); }
.ct-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--ct-gold), transparent); }
.ct-hero-copy { max-width: 760px; }
.ct-crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; font-size: .88rem; color: var(--ct-gold-pale); }
.ct-crumb a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ct-eyebrow { margin: 0 0 12px; font: 700 .85rem/1.6 "Noto Sans Devanagari", sans-serif; letter-spacing: .08em; color: var(--ct-gold); }
.ct-hero h1 { margin: 0 0 18px; font: 700 clamp(1.8rem, 4.6vw, 3.1rem)/1.3 "Tiro Devanagari Sanskrit", serif; color: #fff; }
.ct-hero h1 span { display: block; color: var(--ct-gold); }
.ct-sub { max-width: 680px; margin: 0; font-size: clamp(1rem, 1.5vw, 1.12rem); color: rgba(255,255,255,.93); }
.ct-hero-note { max-width: 680px; margin: 22px 0 0; padding: 12px 16px; font-size: .9rem; line-height: 1.8; color: var(--ct-gold-pale); background: rgba(255,255,255,.08); border-left: 4px solid var(--ct-gold); border-radius: 10px; }
@keyframes ct-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.ct-rise > * { animation: ct-rise .8s ease both; }
.ct-rise > :nth-child(2) { animation-delay: .08s; } .ct-rise > :nth-child(3) { animation-delay: .16s; } .ct-rise > :nth-child(4) { animation-delay: .24s; } .ct-rise > :nth-child(5) { animation-delay: .32s; } .ct-rise > :nth-child(6) { animation-delay: .4s; }

/* B: cards */
.ct-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ct-card { display: flex; flex-direction: column; padding: 26px 22px; background: #fff; border: 1px solid var(--ct-line); border-top: 4px solid var(--ct-gold); border-radius: var(--ct-r); box-shadow: 0 12px 30px rgba(64,22,17,.09); transition: transform .3s, box-shadow .3s; }
.ct-card:hover { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(64,22,17,.15); }
.ct-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; color: var(--ct-maroon); background: #fff0d8; border-radius: 16px; }
.ct-card h3 { font-size: 1.1rem; } .ct-card p { margin: 0 0 14px; color: var(--ct-muted); font-size: .94rem; line-height: 1.85; }
.ct-link { margin-top: auto; font-weight: 700; font-size: .92rem; }

/* C: form */
.ct-formgrid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(20px, 4vw, 40px); align-items: start; }
.ct-aside { padding: 28px 26px; color: #fff; background: radial-gradient(circle at 15% 0%, rgba(217,166,79,.25), transparent 50%), linear-gradient(160deg, var(--ct-navy), var(--ct-maroon)); border-radius: 24px; box-shadow: 0 20px 46px rgba(20,32,58,.28); }
.ct-aside h3 { color: var(--ct-gold-pale); font-size: 1.3rem; }
.ct-aside ul { margin: 0 0 16px; padding-left: 20px; } .ct-aside li { margin-bottom: 10px; line-height: 1.8; color: rgba(255,255,255,.92); font-size: .95rem; }
.ct-aside .ct-small { margin: 0; color: var(--ct-gold-pale); line-height: 1.8; }
.ct-formwrap { padding: clamp(20px, 4vw, 34px); background: #fff; border: 1px solid var(--ct-line); border-top: 5px solid var(--ct-gold); border-radius: 24px; box-shadow: 0 20px 50px rgba(64,22,17,.12); }
.ct-form { display: grid; gap: 4px; }
.ct-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ct-field { margin-bottom: 10px; }
.ct-field label { display: block; margin-bottom: 6px; font-weight: 700; color: var(--ct-maroon); }
.ct-field label b { color: #b91c1c; } .ct-field label small { font-weight: 600; color: var(--ct-muted); }
.ct-field input, .ct-field textarea { width: 100%; padding: 12px 14px; font: 500 1rem/1.7 "Noto Sans Devanagari", sans-serif; color: var(--ct-ink); background: #fffaf4; border: 1.5px solid rgba(185,130,47,.5); border-radius: 14px; }
.ct-field textarea { resize: vertical; min-height: 150px; }
.ct-field.has-err input, .ct-field.has-err textarea { border-color: #b91c1c; background: #fff7f7; }
.ct-fe { min-height: 0; margin: 4px 0 0; font-size: .85rem; line-height: 1.6 !important; color: #b91c1c; font-weight: 600; }
.ct-fe:empty { display: none; }
.ct-count { margin: 2px 0 0; text-align: right; font-size: .82rem; line-height: 1.5 !important; color: var(--ct-muted); }
.ct-submit { width: 100%; margin-top: 8px; font-size: 1.05rem; }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-msg { margin-bottom: 20px; padding: 16px 20px; border-radius: 16px; line-height: 1.8; }
.ct-msg ul { margin: 8px 0 0; padding-left: 20px; }
.ct-ok { color: #14532d; background: #ecfdf3; border: 1px solid #86efac; } .ct-err { color: #7f1d1d; background: #fef2f2; border: 1px solid #fca5a5; }
.ct-err a { color: #7f1d1d !important; }

/* D: map */
.ct-dark { color: #fff; background: radial-gradient(circle at 12% 8%, rgba(217,166,79,.2), transparent 40%), linear-gradient(160deg, var(--ct-navy), #1a1a3a 55%, var(--ct-maroon)); }
.ct-dark h2 { color: #fff; } .ct-dark .ct-head p { color: rgba(255,255,255,.88); }
.ct-dark .ct-label { color: var(--ct-gold-pale) !important; background: rgba(217,166,79,.16); }
.ct-mapgrid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: stretch; }
.ct-mapframe { min-height: 420px; padding: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(244,221,176,.4); border-radius: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.ct-mapframe iframe { display: block; width: 100%; height: 100%; min-height: 404px; border: 0; border-radius: 20px; background: #e9e3d6; }
.ct-mapinfo { display: flex; flex-direction: column; justify-content: center; padding: 26px; background: rgba(255,255,255,.08); border: 1px solid rgba(244,221,176,.35); border-radius: 24px; }
.ct-mapinfo h3 { color: var(--ct-gold-pale); font-size: 1.3rem; }
.ct-mapinfo address { margin: 0 0 14px; font-style: normal; font-size: 1.08rem; line-height: 1.9; color: #fff; }
.ct-mapinfo .ct-small { color: rgba(255,255,255,.85); margin: 0; line-height: 1.8; }

/* E: travel */
.ct-travel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ct-tcard { padding: 28px 24px; background: linear-gradient(170deg, #fffdf6, #fbf0d8); border: 1px solid rgba(185,130,47,.45); border-radius: 22px; box-shadow: 0 12px 30px rgba(64,22,17,.09); }
.ct-tico { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 14px; color: #fff; background: linear-gradient(135deg, var(--maroon, #7d2727), var(--ct-navy)); border-radius: 50%; }
.ct-tcard h3 { font-size: 1.2rem; } .ct-tcard p { margin: 0 0 10px; color: var(--ct-muted); font-size: .95rem; line-height: 1.9; }
.ct-after { max-width: 820px; margin: 28px auto 0; text-align: center; color: var(--ct-muted); }

/* F: info */
.ct-info { padding: clamp(22px, 4vw, 36px); background: var(--ct-ivory); border: 1px dashed rgba(185,130,47,.7); border-left: 6px solid var(--ct-gold); border-radius: 20px; }
.ct-info h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.ct-info ul { margin: 0; padding-left: 20px; } .ct-info li { margin-bottom: 10px; line-height: 1.9; color: var(--ct-muted); }
.ct-info strong { color: var(--ct-maroon); }

/* G: related */
.ct-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ct-rel { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; background: #fff; border: 1px solid var(--ct-line); border-left: 4px solid var(--ct-gold); border-radius: 16px; box-shadow: 0 8px 22px rgba(64,22,17,.06); text-decoration: none; transition: transform .28s, box-shadow .28s; }
.ct-rel:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(64,22,17,.14); }
.ct-rel strong { font: 700 1rem/1.5 "Tiro Devanagari Sanskrit", serif; color: var(--ct-maroon); }
.ct-rel em { font-style: normal; font-size: .84rem; line-height: 1.6; color: var(--ct-muted); }

/* H: faq */
.ct-faqwrap { max-width: 900px; }
.ct-faq .faq-item { border-color: rgba(217,166,79,.55); border-radius: 16px; }
.ct-faq .faq-q { min-height: 56px; }
.ct-faq .faq-item.open .faq-a { max-height: 900px; }
.ct-faq .faq-a p { font-size: .96rem; line-height: 1.85; color: var(--ct-muted); }

/* I: closing */
.ct-closing { padding: clamp(58px, 8vw, 96px) 0; text-align: center; color: #fff; background: radial-gradient(circle at 50% 0%, rgba(217,166,79,.28), transparent 55%), linear-gradient(160deg, var(--ct-maroon), var(--ct-navy)); }
.ct-om { margin: 0 0 6px; font: 400 clamp(2.2rem, 6vw, 3.6rem)/1.2 "Tiro Devanagari Sanskrit", serif; color: var(--ct-gold); }
.ct-closing h2 { color: #fff; } .ct-closing p:not(.ct-om) { max-width: 680px; margin: 0 auto; color: rgba(255,255,255,.9); }

/* responsive */
@media (max-width: 1080px) { .ct-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .ct-formgrid, .ct-mapgrid { grid-template-columns: 1fr; }
  .ct-travel { grid-template-columns: 1fr; }
  .ct-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-mapframe { min-height: 340px; } .ct-mapframe iframe { min-height: 324px; }
}
@media (max-width: 600px) {
  .ct-cards, .ct-related, .ct-row { grid-template-columns: 1fr; }
  .ct-actions .ct-btn { flex: 1 1 100%; }
  .ct-mapframe { min-height: 300px; padding: 6px; } .ct-mapframe iframe { min-height: 288px; }
  .ct-aside, .ct-mapinfo { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-rise > * { animation: none; } .ct *, .ct *::before { transition: none !important; scroll-behavior: auto !important; }
}
