/* Geographical service pages (11 Nov 2026): the Uttar Pradesh hub and its
   district pages, built by scripts/build-up-city-pages.py. Loaded after
   css/pages.css and uses its colours and type. Everything is prefixed geo-
   so nothing here can touch another page. */

/* ── Hero: the two ways to start, then facts a visitor can check ── */
.geo-hero{padding-bottom:14px}
.geo-cta{display:flex;flex-wrap:wrap;gap:.65rem;margin:1.15rem 0 .55rem}
.geo-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;
  padding:12px 24px;border-radius:8px;font-weight:700;font-size:.95rem;letter-spacing:.2px;
  text-decoration:none;transition:transform .2s,background .2s,box-shadow .2s;
}
.geo-btn:hover{transform:translateY(-1px)}
.geo-btn:focus-visible,.geo-svc:focus-visible,.geo-jump a:focus-visible,.geo-chips a:focus-visible{outline:2px solid var(--forest);outline-offset:3px}
.geo-btn--p{background:var(--forest);color:#fff;box-shadow:0 10px 24px -12px rgba(26,46,32,.7)}
.geo-btn--p:hover{background:var(--forest-dark)}
.geo-btn--w{background:#fff;color:var(--forest);border:1.5px solid rgba(44,74,53,.28)}
.geo-btn--w:hover{border-color:var(--forest)}
.geo-btn--w svg{color:#1E7A4C}
.geo-btn--s{min-height:42px;padding:9px 18px;font-size:.88rem;background:var(--forest);color:#fff}
.geo-btn--s:hover{background:var(--forest-dark)}
.geo-cta__note{font-size:.86rem;color:var(--text-light);margin:0}
.geo-trust{
  list-style:none;margin:1.1rem 0 0;padding:0;display:grid;gap:.5rem .9rem;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
}
.geo-trust li{
  position:relative;padding:.1rem 0 .1rem 1.55rem;font-size:.88rem;line-height:1.45;color:var(--text);
}
.geo-trust li::before{
  content:'';position:absolute;left:0;top:.28rem;width:1rem;height:1rem;border-radius:50%;
  background:var(--sage-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.2 8.3 2.4 2.4 5.2-5.4'/%3E%3C/svg%3E") center/100% no-repeat;
}
.geo-trust strong{color:var(--forest);font-weight:700}
.geo-trust a{color:inherit;text-decoration-color:rgba(74,124,89,.5);text-underline-offset:3px}

/* ── Jump links under the short answer ── */
.geo-jump{display:flex;gap:.45rem;margin:.2rem 0 1.2rem;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.geo-jump::-webkit-scrollbar{display:none}
.geo-jump a{
  flex:none;padding:7px 14px;border-radius:999px;background:#fff;border:1px solid rgba(107,158,122,.3);
  font-size:.84rem;font-weight:600;color:var(--forest);text-decoration:none;white-space:nowrap;
}
.geo-jump a:hover{border-color:var(--sage-dark)}

/* ── Concern and city chips ── */
.geo-chips{list-style:none;margin:.6rem 0 1rem!important;padding:0;display:flex;flex-wrap:wrap;gap:.45rem}
.geo-chips li{margin:0}
.geo-chips a{
  display:inline-block;padding:7px 14px;border-radius:999px;background:#fff;
  border:1px solid rgba(107,158,122,.3);font-size:.86rem;color:var(--forest);text-decoration:none;
}
.geo-chips a:hover{border-color:var(--sage-dark);background:#FBFDFB}
.geo-chips--city a{font-weight:600}

/* ── Service cards: the whole card is the link ── */
.geo-svcs{display:grid;grid-template-columns:repeat(auto-fit,minmax(232px,1fr));gap:.9rem;margin:1.1rem 0}
.geo-svc{
  display:flex;flex-direction:column;gap:.35rem;padding:1.1rem 1.15rem;border-radius:8px;text-decoration:none;
  background:#fff;border:1px solid rgba(107,158,122,.18);box-shadow:var(--shadow-sm);color:var(--text);
  transition:border-color .2s,transform .2s;
}
.geo-svc:hover{border-color:var(--sage-dark);transform:translateY(-2px)}
main .geo-svc h3{margin:0;font-size:1.08rem}
main .geo-svc p{margin:0;font-size:.9rem;line-height:1.55;color:var(--text)}
.geo-svc__meta{font-size:.82rem;font-weight:600;color:#7A5C2A}
.geo-svc__go{margin-top:auto;padding-top:.35rem;font-size:.86rem;font-weight:700;color:var(--sage-dark)}

/* ── Clinician cards ── */
.geo-pros{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem;margin:1.1rem 0}
.geo-pro{
  display:grid;grid-template-columns:76px 1fr;column-gap:.9rem;align-content:start;
  padding:1.1rem 1.15rem;border-radius:8px;background:#fff;
  border:1px solid rgba(107,158,122,.18);box-shadow:var(--shadow-sm);
}
.geo-pro__ph{
  grid-row:1 / span 2;width:76px;height:76px;border-radius:50%;object-fit:cover;
  border:2px solid var(--gold-light);background:var(--cream-dark);
}
main .geo-pro h3{margin:.3rem 0 0;font-size:1.12rem;align-self:end}
main .geo-pro__role{margin:.1rem 0 0;font-size:.86rem;font-weight:600;color:#7A5C2A;line-height:1.4}
.geo-pro dl{grid-column:1 / -1;margin:.85rem 0 0;display:grid;gap:.45rem}
.geo-pro dt{font-size:.7rem;font-weight:700;letter-spacing:.7px;text-transform:uppercase;color:var(--text-light)}
.geo-pro dd{font-size:.9rem;line-height:1.5;color:var(--text)}
.geo-pro__act{grid-column:1 / -1;display:flex;align-items:center;gap:1rem;margin-top:.95rem}
.geo-pro__act a:not(.geo-btn){font-size:.88rem;font-weight:700;color:var(--sage-dark)}

/* ── Booking steps ── */
.geo-steps{list-style:none;margin:1rem 0 1.2rem!important;padding:0;counter-reset:geo-step;display:grid;gap:.7rem}
.geo-steps li{
  counter-increment:geo-step;position:relative;margin:0;padding:.9rem 1rem .9rem 3.3rem;border-radius:8px;
  background:#fff;border:1px solid rgba(107,158,122,.18);font-size:.94rem;line-height:1.6;
}
.geo-steps li::before{
  content:counter(geo-step);position:absolute;left:.9rem;top:.85rem;width:1.8rem;height:1.8rem;border-radius:50%;
  display:grid;place-items:center;background:var(--forest);color:#fff;font-weight:700;font-size:.88rem;
}

/* ── Packages and the fee button ── */
.geo-packs{min-width:560px}
.geo-packs td span{display:block;font-size:.8rem;color:var(--text-light)}
.geo-fees__cta{margin:1.1rem 0 0}

/* ── Public Google rating ── */
.geo-rating{display:grid;grid-template-columns:auto 1fr;gap:.4rem 1.2rem;align-items:center}
main .geo-rating p{margin:0;font-size:.92rem}
main .geo-rating__score{display:flex;flex-direction:column;align-items:center;line-height:1.1}
.geo-rating__score strong{font-family:'Literata',Georgia,serif;font-size:2.3rem;color:var(--forest)}
.geo-rating__score span[aria-hidden]{color:#A9792B;letter-spacing:2px;font-size:.95rem}

.geo-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ── Phone booking bar (shown by js/geo-pages.js once the hero has gone) ── */
.geo-bar{
  position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:60;display:none;
  align-items:center;gap:8px;padding:8px 8px 8px 16px;border-radius:14px;
  background:rgba(26,46,32,.96);box-shadow:0 14px 36px rgba(0,0,0,.3);
  transform:translateY(160%);transition:transform .35s cubic-bezier(.2,.8,.2,1);
}
.geo-bar.is-on{transform:none}
.geo-bar__t{flex:1;min-width:0;color:#fff;font-size:.88rem;font-weight:700;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.geo-bar__t small{display:block;font-weight:400;font-size:.76rem;color:rgba(255,255,255,.75);overflow:hidden;text-overflow:ellipsis}
.geo-bar__wa{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:10px;color:#fff;border:1.5px solid rgba(255,255,255,.35)}
.geo-bar__wa svg{width:20px;height:20px}
.geo-bar__book{
  flex:none;display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:10px;
  background:var(--sage-light);color:var(--forest-dark);font-weight:700;font-size:.9rem;text-decoration:none;
}

@media(max-width:700px){
  .geo-bar{display:flex}
  body.geo-has-bar{padding-bottom:84px}
  .geo-cta{flex-direction:column}
  .geo-cta .geo-btn{width:100%}
  .geo-hero .phero__sub{font-size:.98rem}
  .geo-trust{grid-template-columns:1fr 1fr;gap:.45rem .7rem}
  .geo-trust li{font-size:.82rem}
  .geo-pros{grid-template-columns:1fr}
  .geo-rating{grid-template-columns:1fr;justify-items:start}
  main .geo-rating__score{flex-direction:row;gap:.6rem;align-items:baseline}
}
@media(max-width:380px){
  .geo-bar__t{white-space:normal;font-size:.82rem}
  .geo-bar__t small{display:none}
  .geo-bar__book{padding:0 13px}
}
@media(max-width:360px){.geo-trust{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){
  .geo-bar,.geo-btn,.geo-svc{transition:none}
  .geo-btn:hover,.geo-svc:hover{transform:none}
}
@media print{.geo-bar,.geo-cta,.geo-jump{display:none!important}}

/* ── Hand-written pages (Lucknow): a photo and a Book button on the existing cards ── */
.card > .geo-pro__ph{margin-bottom:.7rem}
main .geo-card__act{margin:.9rem 0 0}

/* ── Language pages (scripts/add-language-framework.py): letter-spacing breaks
   the joins between Kannada, Gurmukhi and Gujarati letters ── */
html:not([lang^="en"]) .geo-btn,html:not([lang^="en"]) .geo-bar__book{letter-spacing:0}
