/* Centre pages — ported from the live samarthivf.com/fertility-center-in-india/<slug>/ template.
   Measured on live (Bhopal, 1440px): H1 K2D 43/500 black, accent #8b2b89; intro box #e4e4ff radius 15 with a
   5px purple left rule; doctor card white radius 35 with a soft lilac glow; photo 351×444 radius 25; service
   cards white radius 25, 1px rgba(86,48,132,.21) border, second card purple gradient; section #f8fafc.
   The visit block is navy (#0d1436) on live; here it uses the brand's deep purple (brand rule: dark grounds
   are --deep, never black or navy). */

.cn-h2 { margin: 0; font-family: 'Montserrat', sans-serif; font-size: 40px; font-weight: 700; line-height: 1.2; color: #1d1530; text-align: center; }
.cn-sub { max-width: 760px; margin: 0 auto; font-family: 'Archivo', sans-serif; font-size: 16px; line-height: 1.6; color: var(--sv-slate); text-align: center; }
.cn-head { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 40px; }
.cn-pill, .cn-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--sv-line); font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; color: var(--sv-purple); }
.cn-pill svg, .cn-chip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cn-pill--sm { padding: 4px 12px; background: var(--sv-ghost); }
.cn-center { display: flex; justify-content: center; margin-top: 36px; }

/* Hero */
.cn-hero { background: linear-gradient(75deg, rgba(252, 241, 253, 0.6) 40%, var(--sv-ghost) 100%); padding: 50px 0; }
.cn-hero-in { max-width: 1250px; margin: 0 auto; padding: 0 30px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 56px; }
.cn-hero-l { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.cn-h1 { margin: 0; font-family: 'K2D', sans-serif; font-size: 43px; font-weight: 500; line-height: 1.2; color: #000; }
.cn-h1 span { color: var(--sv-violet); font-weight: 700; }
.cn-intro { padding: 15px 15px 15px 20px; border-radius: 15px; border-left: 5px solid var(--sv-purple); background: var(--sv-line); }
.cn-intro p { margin: 0 0 8px; font-family: 'Archivo', sans-serif; font-size: 15px; line-height: 1.68; color: var(--sv-slate); }
.cn-intro p:last-child { margin: 0; }
.cn-intro strong { color: #1d1530; }
.cn-hero-r { position: relative; margin: 0; }
.cn-hero-r img { display: block; width: 100%; aspect-ratio: 560 / 440; object-fit: cover; border-radius: 28px; }
.cn-rep { position: absolute; right: 14px; top: 14px; padding: 3px 10px; border-radius: 999px; background: rgba(29, 21, 48, 0.62); color: #fff; font-family: 'Archivo', sans-serif; font-size: 11px; letter-spacing: 0.04em; }
.cn-badge { position: absolute; left: 24px; bottom: -22px; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 15px; background: #fff; box-shadow: 0 3px 10px -4px rgba(0, 0, 0, 0.36); }
.cn-badge-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--sv-ghost); color: var(--sv-purple); }
.cn-badge-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cn-badge small { display: block; font-family: 'Montserrat', sans-serif; font-size: 12px; color: #000; }
.cn-badge strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 800; color: #000; }

/* Doctors */
.cn-team { padding: 60px 30px; }
.cn-doc { max-width: 1250px; margin: 0 auto 30px; display: grid; grid-template-columns: 351px minmax(0, 1fr); align-items: center; gap: 50px; padding: 40px; border-radius: 35px; background: #fff; box-shadow: 0 0 24px -8px rgba(182, 115, 247, 0.5); }
.cn-doc--flip { grid-template-columns: minmax(0, 1fr) 351px; }
.cn-doc--flip .cn-doc-photo { order: 2; }
.cn-doc-photo { position: relative; aspect-ratio: 351 / 444; border-radius: 25px; overflow: hidden; background: linear-gradient(160deg, #f3ecfb, #e4e4ff); }
.cn-doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.cn-doc-photo p { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 40px 20px 18px; background: linear-gradient(180deg, rgba(86, 48, 132, 0) 0%, rgba(86, 48, 132, 0.85) 100%); font-family: 'Montserrat', sans-serif; font-size: 22px; color: #fff; text-align: center; }
.cn-doc-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cn-doc-name { margin: 0; font-family: 'Montserrat', sans-serif; font-size: 40px; font-weight: 700; line-height: 1.15; color: var(--sv-violet); }
.cn-doc-q { margin: -4px 0 0; font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 700; color: var(--sv-purple); }
.cn-doc-reg { margin: -4px 0 0; font-family: 'Archivo', sans-serif; font-size: 13px; color: #6b6680; }
.cn-doc-bio p { margin: 0 0 10px; font-family: 'Archivo', sans-serif; font-size: 15px; line-height: 1.7; color: var(--sv-slate); }
.cn-doc-bio p:last-child { margin: 0; }
.cn-doc-bio strong { color: #1d1530; }
.cn-feats { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; }
.cn-feats li { display: flex; align-items: flex-start; gap: 12px; }
.cn-feat-ico { flex: none; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 10px; background: var(--sv-ghost); color: var(--sv-purple); }
.cn-feat-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cn-feats strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 700; color: #1d1530; }
.cn-feats small { display: block; margin-top: 2px; font-family: 'Archivo', sans-serif; font-size: 13px; line-height: 1.45; color: var(--sv-slate); }

/* Services */
.cn-treat { padding: 60px 30px; background: #f8fafc; }
.cn-tgrid { max-width: 1250px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cn-tcard { padding: 25px; border-radius: 25px; background: #fff; border: 1px solid rgba(86, 48, 132, 0.21); }
.cn-tico { width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 15px; background: var(--sv-line); color: var(--sv-purple); }
.cn-tico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cn-tcard h3 { margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(86, 48, 132, 0.15); font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: 700; color: var(--sv-purple); }
.cn-tcard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cn-tcard li { display: flex; align-items: flex-start; gap: 8px; font-family: 'Archivo', sans-serif; font-size: 16px; line-height: 1.45; color: var(--sv-slate); }
.cn-tcard li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--sv-violet); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cn-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cn-tcard--hi { border-color: transparent; background: linear-gradient(157deg, #563084 0%, #8b2b89 100%); }
.cn-tcard--hi .cn-tico { background: rgba(255, 255, 255, 0.16); color: #fff; }
.cn-tcard--hi h3 { color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.cn-tcard--hi li { color: #fff; }
.cn-tcard--hi li svg { stroke: #fff; }

/* Booking (widget styles: home-booking.css) */
.cn-book { padding: 50px 10px; background: var(--sv-ghost); scroll-margin-top: 110px; }

/* FAQ */
.cn-faq { padding: 60px 30px; }
.cn-faq-list { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.cn-faq-item { border: 1px solid var(--sv-slate); border-radius: 15px; background: #fff; overflow: hidden; }
.cn-faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 22px; font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 500; color: var(--sv-purple); }
.cn-faq-item summary::-webkit-details-marker { display: none; }
.cn-faq-item[open] summary { background: var(--sv-ghost); }
.cn-faq-ico { flex: none; width: 14px; height: 14px; position: relative; }
.cn-faq-ico::before, .cn-faq-ico::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s; }
.cn-faq-ico::after { transform: rotate(90deg); }
.cn-faq-item[open] .cn-faq-ico::after { transform: rotate(0); }
.cn-faq-a { padding: 6px 22px 18px; font-family: 'Archivo', sans-serif; font-size: 15px; line-height: 1.7; color: var(--sv-slate); }
.cn-faq-a p { margin: 0 0 10px; }
.cn-faq-a p:last-child { margin: 0; }

/* Visit */
.cn-visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 40px; padding: 55px 50px; background: var(--deep, #2a1840); }
.cn-visit-l { display: flex; flex-direction: column; gap: 26px; }
.cn-visit h2 { margin: 0; font-family: 'Montserrat', sans-serif; font-size: 40px; font-weight: 700; line-height: 1.2; color: #fff; }
.cn-row { display: flex; align-items: flex-start; gap: 16px; }
.cn-row-ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, 0.1); color: #fff; }
.cn-row-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cn-row h3 { margin: 0 0 6px; font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 700; color: #fff; }
.cn-row p { margin: 0; font-family: 'Archivo', sans-serif; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.78); }
.cn-row strong { color: #fff; }
.cn-row a { color: #fff; text-decoration: none; }
.cn-row a:hover { text-decoration: underline; }
.cn-map { position: relative; display: block; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.15); }
.cn-map img { display: block; width: 100%; height: 320px; object-fit: cover; }
.cn-map::after { content: ''; position: absolute; inset: 0; background: rgba(42, 24, 64, 0.62); transition: background 0.3s; }
.cn-map:hover::after { background: rgba(42, 24, 64, 0.5); }
.cn-map-btn { z-index: 1; }
.cn-map-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; background: #fff; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: #1d1530; white-space: nowrap; }
.cn-map-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.cn-map:hover .cn-map-btn { background: var(--sv-line); }

@media (max-width: 1024px) {
  .cn-hero-in { gap: 32px; padding: 0 20px; }
  .cn-h1 { font-size: 34px; }
  .cn-doc, .cn-doc--flip { grid-template-columns: 260px minmax(0, 1fr); gap: 30px; padding: 30px; }
  .cn-doc--flip .cn-doc-photo { order: 0; }
  .cn-doc-name { font-size: 32px; }
  .cn-tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cn-visit { grid-template-columns: 1fr; padding: 40px 30px; }
}

@media (max-width: 767px) {
  .cn-hero { padding: 24px 0 40px; }
  .cn-hero-in { grid-template-columns: 1fr; }
  .cn-h1 { font-size: 28px; }
  .cn-h2 { font-size: 26px; }
  .cn-team, .cn-treat, .cn-faq { padding: 44px 16px; }
  .cn-doc, .cn-doc--flip { grid-template-columns: 1fr; padding: 20px; border-radius: 25px; }
  .cn-doc-photo { max-width: 320px; width: 100%; margin: 0 auto; }
  .cn-doc-name { font-size: 28px; }
  .cn-feats { grid-template-columns: 1fr; }
  .cn-tgrid { grid-template-columns: 1fr; }
  .cn-tcard h3 { font-size: 21px; }
  .cn-visit { padding: 32px 20px; }
  .cn-visit h2 { font-size: 28px; }
  .cn-map img { height: 220px; }
}
