/* ===== Dr. Pathik Contact Page: every class starts with "pathik-ct-" =====
   Theme: cream #fffdf9, paper #f0e4d2, ink #493321, brown #805633, clay #b5694a.
   Form bina JavaScript chalta hai (seedha POST /contact-us). */
.pathik-ct-page{
  --pathik-ct-bg:#FFFDF9;
  --pathik-ct-tint:#F0E4D2;
  --pathik-ct-soft:#F8F0E3;
  --pathik-ct-head:#493321;
  --pathik-ct-btn:#805633;
  --pathik-ct-text:#30271F;
  --pathik-ct-clay:#B5694A;
  --pathik-ct-err:#9A3B1F;
  --pathik-ct-ok:#4C7A3A;
  --pathik-ct-line:rgba(73,51,33,.14);
  --pathik-ct-line2:rgba(73,51,33,.28);
  --pathik-ct-shadow:0 22px 50px -28px rgba(73,51,33,.55);
  --pathik-ct-max:1200px;   /* content ki max chaudai */
  --pathik-ct-pad:max(clamp(16px,5vw,60px),calc((100% - var(--pathik-ct-max)) / 2));
  --pathik-ct-display:'Noto Serif Devanagari','Playfair Display',Georgia,serif;
  --pathik-ct-body:'Inter','Noto Sans Devanagari',system-ui,sans-serif;
  margin:0;background:var(--pathik-ct-bg);color:var(--pathik-ct-text);font-family:var(--pathik-ct-body);
  font-size:16px;line-height:1.75;overflow-x:clip;overflow-wrap:break-word;
  -webkit-text-size-adjust:100%;text-size-adjust:100%;
}
.pathik-ct-page *{box-sizing:border-box}
.pathik-ct-page [hidden]{display:none!important}
.pathik-ct-page a{color:inherit}
.pathik-ct-page :focus-visible{outline:3px solid var(--pathik-ct-clay);outline-offset:3px}
.pathik-ct-page svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.pathik-ct-h2{font-family:var(--pathik-ct-display);font-weight:600;font-size:clamp(26px,3.6vw,40px);line-height:1.35;margin:0 0 12px;color:var(--pathik-ct-head)}

/* Buttons */
.pathik-ct-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:12px 32px;border:1px solid var(--pathik-ct-btn);border-radius:999px;background:var(--pathik-ct-btn);color:#fff!important;font:inherit;font-size:15px;font-weight:700;line-height:1.3;text-align:center;text-decoration:none;cursor:pointer;box-shadow:0 14px 26px -16px rgba(73,51,33,.8);transition:background .2s,transform .2s,box-shadow .2s}
.pathik-ct-btn:hover{background:var(--pathik-ct-head);border-color:var(--pathik-ct-head);transform:translateY(-2px)}
.pathik-ct-send::after{content:"\2192";font-size:18px;line-height:1}

/* Open / closed status pill */
.pathik-ct-open{display:inline-flex;align-items:center;gap:10px;margin:0;padding:8px 18px;border:1px solid var(--pathik-ct-line);border-radius:999px;background:#fff;font-size:14px;font-weight:500;line-height:1.5}
.pathik-ct-dot{flex:none;width:10px;height:10px;border-radius:50%;background:var(--pathik-ct-btn)}
.pathik-ct-open[data-state="open"] .pathik-ct-dot{background:var(--pathik-ct-ok);box-shadow:0 0 0 0 rgba(76,122,58,.5);animation:pathik-ct-pulse 2s infinite}
.pathik-ct-open[data-state="closed"] .pathik-ct-dot{background:var(--pathik-ct-err)}
@keyframes pathik-ct-pulse{70%{box-shadow:0 0 0 9px rgba(76,122,58,0)}100%{box-shadow:0 0 0 0 rgba(76,122,58,0)}}

/* Hero */
.pathik-ct-hero{position:relative;overflow:hidden;padding:84px var(--pathik-ct-pad);background:radial-gradient(ellipse at 88% 12%,rgba(181,105,74,.16),transparent 42%),linear-gradient(135deg,#F8F0E3 0%,var(--pathik-ct-tint) 100%)}
.pathik-ct-hero::before{content:"";position:absolute;top:-130px;left:-90px;width:340px;aspect-ratio:1;border:1px solid rgba(128,86,51,.2);border-radius:50%;box-shadow:0 0 0 30px rgba(128,86,51,.05),0 0 0 62px rgba(128,86,51,.04)}
.pathik-ct-hero-grid{position:relative;display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(28px,6vw,80px);align-items:center}
.pathik-ct-hero-grid>*{min-width:0}
.pathik-ct-title{margin:0 0 18px;font-family:var(--pathik-ct-display);font-weight:700;color:var(--pathik-ct-head);font-size:clamp(36px,6vw,72px);line-height:1.25}
.pathik-ct-lead{margin:0 0 24px;max-width:520px;font-size:17px}
.pathik-ct-channels{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.pathik-ct-chan{display:flex;align-items:center;gap:16px;padding:16px 20px;border:1px solid var(--pathik-ct-line);border-radius:20px;background:rgba(255,255,255,.92);box-shadow:0 12px 30px -22px rgba(73,51,33,.6);text-decoration:none;transition:border-color .2s,transform .2s,box-shadow .2s}
.pathik-ct-chan:hover{border-color:var(--pathik-ct-btn);transform:translateY(-3px);box-shadow:0 20px 36px -22px rgba(73,51,33,.7)}
.pathik-ct-ico{flex:none;display:grid;place-items:center;width:50px;height:50px;border-radius:16px;background:var(--pathik-ct-btn);color:#fff}
.pathik-ct-chan-body{flex:1;min-width:0;display:flex;flex-direction:column}
.pathik-ct-chan-label{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--pathik-ct-btn)}
.pathik-ct-chan-val{font-size:clamp(17px,1.9vw,21px);font-weight:600;line-height:1.4;color:var(--pathik-ct-head);overflow-wrap:anywhere}
.pathik-ct-chan-go{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--pathik-ct-tint);font-size:22px;line-height:1;color:var(--pathik-ct-btn);transition:background .2s,color .2s}
.pathik-ct-chan:hover .pathik-ct-chan-go{background:var(--pathik-ct-btn);color:#fff}

/* Form section */
.pathik-ct-formsec{padding:84px var(--pathik-ct-pad)}
.pathik-ct-head{margin:0 auto 38px;text-align:center}
.pathik-ct-head p{margin:0 auto;max-width:540px;color:var(--pathik-ct-btn)}
.pathik-ct-wiz{display:grid;grid-template-columns:290px 1fr;overflow:hidden;border:1px solid var(--pathik-ct-line);border-radius:28px;background:#fff;box-shadow:var(--pathik-ct-shadow)}
.pathik-ct-wiz>*{min-width:0}

/* Step rail (teen step ek kram mein) */
.pathik-ct-rail{list-style:none;margin:0;padding:40px 28px;background:radial-gradient(ellipse at 20% 0%,rgba(181,105,74,.35),transparent 55%),linear-gradient(170deg,#5a4029 0%,var(--pathik-ct-head) 55%,#33231a 100%);color:#E9DCC9}
.pathik-ct-rail li{position:relative;padding-bottom:30px}
.pathik-ct-rail li:last-child{padding-bottom:0}
.pathik-ct-rail li:not(:last-child)::after{content:"";position:absolute;left:19px;top:44px;bottom:4px;width:1px;background:rgba(240,228,210,.3)}
.pathik-ct-rail a{display:flex;align-items:center;gap:14px;width:100%;min-height:44px;color:inherit;text-align:left;text-decoration:none}
.pathik-ct-rn{flex:none;display:grid;place-items:center;width:40px;height:40px;border:1px solid rgba(240,228,210,.5);border-radius:50%;font-size:15px;font-weight:700;line-height:1}
.pathik-ct-rt{display:flex;flex-direction:column;font-family:var(--pathik-ct-display);font-size:18px;font-weight:600;line-height:1.4;color:#CDB99D}
.pathik-ct-rt small{margin-top:2px;font-family:var(--pathik-ct-body);font-size:13px;font-weight:400;line-height:1.4}
.pathik-ct-rail .is-active .pathik-ct-rn{border-color:var(--pathik-ct-bg);background:var(--pathik-ct-bg);color:var(--pathik-ct-head)}
.pathik-ct-rail .is-active .pathik-ct-rt{color:var(--pathik-ct-bg)}

/* Panel + steps */
.pathik-ct-panel{padding:46px clamp(20px,5vw,56px)}
.pathik-ct-step{min-width:0;margin:0;padding:0;border:0}
.pathik-ct-step+.pathik-ct-step{margin-top:38px;padding-top:34px;border-top:1px dashed var(--pathik-ct-line2)}
.pathik-ct-legend{float:left;width:100%;margin:0 0 20px;padding:0;font-family:var(--pathik-ct-display);font-size:clamp(21px,2.6vw,28px);font-weight:600;line-height:1.4;color:var(--pathik-ct-head)}
.pathik-ct-legend+*{clear:both}

/* Topic cards */
.pathik-ct-topics{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.pathik-ct-topic{position:relative;display:block}
.pathik-ct-topic input{position:absolute;z-index:1;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.pathik-ct-tc{position:relative;display:block;height:100%;padding:16px 18px 16px 74px;border:1px solid var(--pathik-ct-line2);border-radius:18px;background:#fff;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}
.pathik-ct-tc svg{position:absolute;top:16px;left:18px;box-sizing:content-box;width:22px;height:22px;padding:10px;border-radius:14px;background:var(--pathik-ct-tint);color:var(--pathik-ct-btn);transition:background .2s,color .2s}
.pathik-ct-tc b{display:block;font-size:16px;font-weight:700;line-height:1.45;color:var(--pathik-ct-head)}
.pathik-ct-tc small{display:block;margin-top:2px;font-size:13px;line-height:1.55;color:#6f5d4c}
.pathik-ct-tc::after{content:"\2713";position:absolute;top:12px;right:12px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--pathik-ct-btn);color:#fff;font-size:12px;font-weight:700;opacity:0;transform:scale(.6);transition:opacity .2s,transform .2s}
.pathik-ct-topic:hover .pathik-ct-tc{border-color:var(--pathik-ct-btn);transform:translateY(-2px)}
.pathik-ct-topic input:checked+.pathik-ct-tc{border-color:var(--pathik-ct-btn);background:var(--pathik-ct-soft);box-shadow:0 0 0 1px var(--pathik-ct-btn),0 14px 26px -20px rgba(73,51,33,.7)}
.pathik-ct-topic input:checked+.pathik-ct-tc svg{background:var(--pathik-ct-btn);color:#fff}
.pathik-ct-topic input:checked+.pathik-ct-tc::after{opacity:1;transform:scale(1)}
.pathik-ct-topic input:focus-visible+.pathik-ct-tc{outline:3px solid var(--pathik-ct-clay);outline-offset:2px}

/* Fields (16px font: iPhone focus par zoom nahi karta) */
.pathik-ct-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.pathik-ct-field{min-width:0}
.pathik-ct-field>label{display:block;margin-bottom:6px;font-size:13px;font-weight:700;letter-spacing:.03em;color:var(--pathik-ct-head)}
.pathik-ct-field input,.pathik-ct-field textarea{display:block;width:100%;min-height:50px;padding:12px 16px;border:1px solid var(--pathik-ct-line2);border-radius:14px;background:var(--pathik-ct-bg);color:var(--pathik-ct-text);font:inherit;font-size:16px;transition:border-color .2s,box-shadow .2s,background .2s}
.pathik-ct-field textarea{min-height:170px;resize:vertical;line-height:1.7}
.pathik-ct-field input:hover,.pathik-ct-field textarea:hover{border-color:var(--pathik-ct-btn)}
.pathik-ct-field input:focus,.pathik-ct-field textarea:focus{outline:0;border-color:var(--pathik-ct-btn);background:#fff;box-shadow:0 0 0 4px rgba(128,86,51,.16)}
.pathik-ct-field [aria-invalid="true"]{border-color:var(--pathik-ct-err);background:#fff8f5;box-shadow:0 0 0 4px rgba(154,59,31,.12)}
.pathik-ct-ferr{margin:6px 0 0;font-size:13.5px;line-height:1.5;color:var(--pathik-ct-err)}
.pathik-ct-count{margin:6px 0 0;text-align:right;font-size:12.5px;color:var(--pathik-ct-btn)}

.pathik-ct-status{margin:20px 0 4px;padding:12px 16px;border-radius:14px;font-size:14.5px;font-weight:500;line-height:1.6}
.pathik-ct-status.is-error{background:#fff1ec;border:1px solid rgba(154,59,31,.3);color:var(--pathik-ct-err)}
.pathik-ct-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.pathik-ct-privacy{margin:14px 0 0;font-size:13px;color:#6f5d4c}
.pathik-ct-done{max-width:480px;padding:26px 0}
.pathik-ct-done-title{margin:0 0 12px;font-family:var(--pathik-ct-display);font-size:clamp(24px,3.4vw,34px);font-weight:600;line-height:1.35;color:var(--pathik-ct-head)}
.pathik-ct-done-title::before{content:"\2713";display:grid;place-items:center;width:52px;height:52px;margin-bottom:14px;border-radius:50%;background:var(--pathik-ct-ok);color:#fff;font-family:var(--pathik-ct-body);font-size:24px}

/* Office */
.pathik-ct-office{padding:84px var(--pathik-ct-pad);background:linear-gradient(135deg,var(--pathik-ct-tint) 0%,#F8F0E3 100%)}
.pathik-ct-office-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(28px,6vw,72px);align-items:stretch}
.pathik-ct-office-grid>*{min-width:0}
.pathik-ct-map{position:relative;min-height:400px;overflow:hidden;border:1px solid var(--pathik-ct-line);border-radius:26px;background-color:#E6D5BB;background-image:linear-gradient(rgba(73,51,33,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(73,51,33,.09) 1px,transparent 1px);background-size:44px 44px;box-shadow:var(--pathik-ct-shadow)}
.pathik-ct-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.pathik-ct-page .pathik-ct-pin{position:absolute;left:50%;top:42%;width:54px;height:54px;transform:translate(-50%,-50%);color:var(--pathik-ct-btn);stroke-width:1.4;fill:var(--pathik-ct-bg)}
.pathik-ct-addr{position:absolute;left:16px;right:16px;bottom:16px;display:flex;flex-direction:column;max-width:340px;padding:16px 18px;border-radius:18px;background:#fff;box-shadow:0 14px 30px -16px rgba(73,51,33,.6);font-size:14.5px;line-height:1.6}
.pathik-ct-addr b{font-family:var(--pathik-ct-display);font-size:17px;font-weight:600;line-height:1.45;color:var(--pathik-ct-head)}
.pathik-ct-addr a{display:inline-block;margin-top:2px;padding:8px 0;font-weight:700;color:var(--pathik-ct-btn)}
.pathik-ct-hours{align-self:center}
.pathik-ct-hours .pathik-ct-open{margin-bottom:20px}
.pathik-ct-days{list-style:none;margin:0;padding:8px;border:1px solid var(--pathik-ct-line);border-radius:22px;background:#fff;box-shadow:0 14px 34px -26px rgba(73,51,33,.6)}
.pathik-ct-days li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;padding:11px 14px;border-radius:14px;font-size:15px}
.pathik-ct-days li+li{border-top:1px solid var(--pathik-ct-line)}
.pathik-ct-days li.is-today{border-top-color:transparent;background:var(--pathik-ct-soft);font-weight:700;color:var(--pathik-ct-head)}
.pathik-ct-days li.is-today+li{border-top-color:transparent}
.pathik-ct-today{margin-left:6px;font-size:.88em;font-weight:500;color:var(--pathik-ct-btn)}

/* Closing: gehra patta */
.pathik-ct-close{max-width:var(--pathik-ct-max);margin:84px auto;padding:56px clamp(20px,5vw,56px);border-radius:28px;background:radial-gradient(ellipse at 85% 0%,rgba(181,105,74,.4),transparent 50%),linear-gradient(135deg,#5a4029 0%,var(--pathik-ct-head) 60%,#33231a 100%);text-align:center;color:#EDE0CD;box-shadow:var(--pathik-ct-shadow)}
.pathik-ct-close .pathik-ct-h2{margin-bottom:8px;color:#FFFDF9}
.pathik-ct-close p{margin:0 0 24px}
.pathik-ct-close .pathik-ct-btn{border-color:#EAD8BA;background:#EAD8BA;color:#3d291a!important}
.pathik-ct-close .pathik-ct-btn:hover{border-color:#fff;background:#fff}

/* ===== Responsive ===== */
@media(max-width:1024px){
  .pathik-ct-hero{padding:68px var(--pathik-ct-pad)}
  .pathik-ct-formsec,.pathik-ct-office{padding:72px var(--pathik-ct-pad)}
  .pathik-ct-wiz{grid-template-columns:240px 1fr}
  .pathik-ct-rail{padding:32px 22px}
}
@media(max-width:860px){
  .pathik-ct-hero-grid,.pathik-ct-office-grid{grid-template-columns:1fr}
  .pathik-ct-lead{max-width:none}
  .pathik-ct-wiz{grid-template-columns:1fr;border-radius:24px}
  .pathik-ct-rail{display:flex;justify-content:space-between;gap:8px;padding:16px}
  .pathik-ct-rail li{flex:1;min-width:0;padding:0}
  .pathik-ct-rail li:not(:last-child)::after{display:none}
  .pathik-ct-rail a{flex-direction:column;justify-content:flex-start;gap:6px;text-align:center}
  .pathik-ct-rt{align-items:center;font-size:15px;line-height:1.35}
  .pathik-ct-rt small{display:none}
  .pathik-ct-map{min-height:320px}
}
@media(max-width:600px){
  .pathik-ct-hero{padding:48px var(--pathik-ct-pad)}
  .pathik-ct-formsec,.pathik-ct-office{padding:52px var(--pathik-ct-pad)}
  .pathik-ct-close{margin:52px var(--pathik-ct-pad);padding:40px 20px;border-radius:22px}
  .pathik-ct-head{margin-bottom:26px}
  .pathik-ct-chan{gap:12px;padding:14px 16px}
  .pathik-ct-ico{width:44px;height:44px;border-radius:14px}
  .pathik-ct-panel{padding:26px 16px}
  .pathik-ct-topics,.pathik-ct-fields{grid-template-columns:1fr}
  .pathik-ct-actions{flex-direction:column-reverse}
  .pathik-ct-actions .pathik-ct-btn,.pathik-ct-done .pathik-ct-btn,.pathik-ct-close .pathik-ct-btn{width:100%}
  .pathik-ct-open{border-radius:14px}
  .pathik-ct-map{min-height:280px;border-radius:20px}
  .pathik-ct-days li{padding:11px 8px}
}
/* Bahut chhote phone (<=340px) */
@media(max-width:340px){
  .pathik-ct-title{font-size:30px}
  .pathik-ct-h2{font-size:24px}
  .pathik-ct-legend{font-size:20px}
  .pathik-ct-rail{padding:12px 8px;gap:4px}
  .pathik-ct-rt{font-size:13px}
  .pathik-ct-rn{width:32px;height:32px}
  .pathik-ct-chan{padding:12px;gap:10px}
  .pathik-ct-ico{width:38px;height:38px}
  .pathik-ct-chan-val{font-size:15px}
  .pathik-ct-chan-go{display:none}
  .pathik-ct-tc{padding-left:64px}
  .pathik-ct-addr{left:10px;right:10px;bottom:10px;padding:12px 14px}
}
/* Landscape phone: section chhote */
@media(max-height:480px) and (orientation:landscape){
  .pathik-ct-hero{padding-top:40px;padding-bottom:40px}
  .pathik-ct-formsec,.pathik-ct-office{padding-top:48px;padding-bottom:48px}
}
/* Touch: hover par hilna nahi */
@media(hover:none){
  .pathik-ct-chan:hover,.pathik-ct-btn:hover,.pathik-ct-topic:hover .pathik-ct-tc{transform:none}
}
@media(prefers-reduced-motion:reduce){
  .pathik-ct-btn,.pathik-ct-chan,.pathik-ct-tc,.pathik-ct-tc::after,.pathik-ct-field input,.pathik-ct-field textarea{transition:none}
  .pathik-ct-chan:hover,.pathik-ct-btn:hover,.pathik-ct-topic:hover .pathik-ct-tc{transform:none}
  .pathik-ct-open[data-state="open"] .pathik-ct-dot{animation:none}
}
