/* =====================================================================
   BASE – variables, reset, container, grid, utilities
   File: css/common/01-base.css
   Yahan colors (:root), body font, container (.c), grid (.g .g2 .g3 .g4), section spacing (.sec .pg) aur divider (.bar) hain.
   Color badalna ho to sirf :root ke variables badliye.
   ===================================================================== */

/* ---------------------------------------------------------------------
   MAIN STYLE (desktop)
   --------------------------------------------------------------------- */
:root {
  --r: #fd5753;
  --r2: #ff5a4e;
  --rd: #e04a3e;
  --ink: #302929;
  --gy: #4b5563;
  --nav: #2c2c2c;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
}
.c {
  width: 100%;
  max-width: 1280px;
  margin: auto;
  padding: 0 16px;
}
.sec {
  padding: 48px 0;
}
.tc {
  text-align: center;
}
.red {
  color: #ef4444;
}
.bar {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}
.bar hr {
  border: 0;
  border-top: 4px solid #000;
  width: 16%;
}
.bar:after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #000;
}
.bar.s hr {
  border-top: 1px solid #000;
  width: 100px;
}
.bar.w hr {
  border-top: 2px solid #fff;
}
.bar.w:after {
  background: #fff;
  width: 12px;
  height: 12px;
}
.fl {
  display: flex;
  flex-wrap: wrap;
}
.g {
  display: grid;
  gap: 32px;
}
.g2 {
  grid-template-columns: repeat(2,1fr);
}
.g3 {
  grid-template-columns: repeat(3,1fr);
}
.g4 {
  grid-template-columns: repeat(4,1fr);
}
.pg {
  padding: 0px 16px;
  margin-top: 40px;
}
.hh {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1f2937;
}

/* .c aur .sec ek saath ho to side padding bachi rahe (slider edge se na chipke) */
.c.sec { padding-left: 16px; padding-right: 16px; }

/* ---- Extra helpers (pehle inline style me the) ---- */
.pg-narrow { max-width: 900px; }              /* appointment page form width */
.pg-blog { max-width: 860px; }                /* blog article width */
.hh-sm { font-size: 1.5rem; }                 /* chhota page heading */
.hh-md { font-size: 1.875rem; }               /* medium page heading */
.hh-sm, .hh-md { font-weight: 700; color: #1f2937; }
.lead { color: #6b7280; max-width: 42rem; margin: 0 auto 32px; }
.align-start { align-items: start; }
.align-center { align-items: center; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
img { height: auto; }

/* ---------------------------------------------------------------------
   RESPONSIVE – Tablet (max 1023px) aur Mobile (max 767px)
   --------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .g { gap: 24px; }
  .sec { padding: 40px 0; }
}
@media (max-width: 767px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .g { gap: 20px; }
  .sec { padding: 32px 0; }
  /* .pg { padding: 32px 16px; } */
  .hh { font-size: 1.75rem; }
  .bar hr { width: 28%; }
}

/* ---- Text colour helpers (pehle inline style me the) ---- */
.muted { color: #4b5563; }
.muted-light { color: #6b7280; }
.mb-16 { margin-bottom: 16px; }
