/* The guide pages (online consultation, Delhi NCR, parents in India, choosing a
   doctor): the illness-page bands from condition.css, plus the few pieces only
   guides need. Loaded after site.css and condition.css. */

/* ——— Opening ——— */
.g-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 0.92rem; font-weight: 700; color: var(--ink-soft); }
.g-crumbs a { text-decoration: none; }
.g-crumbs a:hover { color: var(--teal); }
.g-hero .c-h1 { text-wrap: balance; }
.g-by { display: flex; gap: 10px; align-items: baseline; margin-top: 22px; max-width: 36em; font-size: 0.92rem; color: var(--ink-soft); }
.g-by a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.g-by-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(22, 115, 122, 0.18); translate: 0 1px; }

.g-art {
  justify-self: center; width: 100%; max-width: 560px; padding: clamp(10px, 2vw, 24px); border-radius: var(--r-card);
  background: radial-gradient(ellipse 80% 70% at 50% 30%, #fffdf9, var(--paper) 55%, #f0ebe4);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(11, 30, 35, 0.05);
  transition: transform 1.8s var(--ease), opacity 1.1s;
}
.js .g-art:not(.in) { transform: perspective(1400px) rotateX(24deg) translateY(30px) scale(0.95); opacity: 0; }
.g-art--map, .g-art--globe { max-width: 480px; }

/* the hero picture with its own buttons, stacked */
.fig--hero { grid-template-columns: 1fr; grid-template-areas: "stage" "switch" "say"; margin-top: 0; justify-self: center; width: 100%; max-width: 600px; gap: 14px; }
.fig--hero .fig-say { font-size: 1rem; }

/* three bodies, each lit differently */
.g-bodies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 22px); align-items: end; max-width: 520px; background: none; box-shadow: none; padding: 0; }
.g-body { display: grid; gap: 12px; justify-items: center; }
.g-body:nth-child(2) { translate: 0 -34px; }
.g-body-in {
  position: relative; width: 100%; aspect-ratio: 700 / 1663; border-radius: 999px; overflow: hidden;
  background: radial-gradient(ellipse 70% 50% at 50% 40%, #fffdf9, var(--paper) 60%, #efe9e1);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(11, 30, 35, 0.06);
}
.g-body .plate-img--lit { transition: opacity 1.4s var(--ease); }
.g-body:nth-child(2) .plate-img--lit { transition-delay: 0.5s; }
.g-body:nth-child(3) .plate-img--lit { transition-delay: 1s; }
.js .g-bodies:not(.in) .plate-img--lit { opacity: 0; }
.g-body-tag { white-space: nowrap; display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow); font-weight: 700; font-size: 0.84rem; text-align: center; }

/* ——— Bands ——— */
.c-split.g-solo { grid-template-columns: minmax(0, 1fr); }
.c-split.g-solo .c-prose { max-width: 40em; }
.g-rx, .g-faq, .g-answer { max-width: 1320px; margin-inline: auto; padding: clamp(64px, 10vh, 120px) var(--gutter); }

/* medicines online: four groups, from anything to never */
.g-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.g-group { position: relative; display: grid; align-content: start; gap: 10px; padding: 64px 22px 24px; border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow); }
.g-group::before { content: ""; position: absolute; left: 22px; top: 24px; width: 56px; height: 22px; border-radius: 999px; background: var(--g, var(--teal)); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.12); }
.g-group b { font-size: 1.15rem; line-height: 1.2; }
.g-group span { color: var(--ink-soft); }
.g-group--1 { --g: var(--teal); }
.g-group--2 { --g: #7fbdb9; }
.g-group--3 { --g: var(--mustard); }
.g-group--4 { --g: var(--coral); background: #fbe7e2; }
.g-group--4 span { color: var(--ink); }
.g-after { margin-top: 30px; max-width: 40em; }

/* the call, step by step */
.g-steps { counter-reset: step; display: grid; gap: 2px; margin-top: 26px; max-width: 38em; }
.g-steps li { counter-increment: step; position: relative; padding: 12px 0 12px 50px; border-top: 1px solid var(--line); }
.g-steps li:first-child { border-top: 0; }
.g-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 10px; width: 34px; height: 34px; border-radius: 999px;
  display: grid; place-items: center; background: var(--ink); color: var(--paper); font-weight: 800; font-size: 0.95rem;
}
.g-steps a, .g-facts a, .g-season a { text-underline-offset: 3px; }

.g-facts { display: grid; gap: 12px; margin-top: 24px; max-width: 36em; }
.g-facts li { padding: 16px 20px; border-radius: 18px; background: var(--paper); }
.g-addr { font-weight: 800; font-size: 1.12rem; line-height: 1.35; margin-bottom: 10px; }

.g-table th[scope="col"] { text-align: left; font-size: 0.82rem; color: var(--ink-soft); font-weight: 700; padding-bottom: 6px; }
.g-fees td:nth-child(2) { font-weight: 800; font-size: 1.2rem; white-space: nowrap; color: var(--teal-deep); }
.g-zones { margin-top: 30px; max-width: 860px; transform: rotate(-0.6deg); }
.g-zones td { font-weight: 700; color: var(--ink); }
.g-zones th[scope="row"] { width: 40%; }
.g-local { margin-top: 20px; padding: 14px 18px; border-radius: 18px; background: var(--paper); font-weight: 700; max-width: 36em; }

/* the NCR year */
.art--year .season { opacity: 0.22; transition: opacity 0.8s var(--ease); }
.fig[data-state="a"] .season--a, .fig[data-state="b"] .season--b, .fig[data-state="c"] .season--c { opacity: 1; }
.art--year .mo { font-size: 18px; fill: var(--ink-soft); }
.art--year .mo.is-now { fill: var(--coral); font-weight: 800; font-size: 22px; }
.art--year .hub { font-size: 24px; font-weight: 800; }
.g-seasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; align-items: start; }
.g-season h3 { font-size: 1.05rem; text-transform: none; letter-spacing: 0; color: var(--ink); }
.g-season p + p { margin-top: 12px; }
.g-season h3::before { content: ""; display: inline-block; width: 26px; height: 12px; margin-right: 10px; border-radius: 999px; background: var(--s); vertical-align: 1px; }
.g-season--a { --s: var(--coral); }
.g-season--b { --s: var(--teal); }
.g-season--c { --s: #6b7a80; }
.g-now { padding: 14px 16px; border-radius: 16px; background: #fbe7e2; font-size: 0.96rem; }

/* moving bits inside the pictures */
.art .bob { animation: bob 3.6s ease-in-out infinite; }
.art .live { animation: live 1.8s ease-in-out infinite; }
.art--ncr .waves circle { transform-box: fill-box; transform-origin: center; animation: wave 4.2s var(--ease) infinite; opacity: 0; }
.art--globe .hop { animation: hop 1.6s linear infinite; }
.art--desk .only-b .rx { transform: translateY(24px); transition: transform 1.2s var(--ease); }
.fig[data-state="b"] .art--desk .only-b .rx { transform: none; }
.art--register .lens { transform: translate(250px, 250px); transition: transform 2.4s var(--ease) 0.3s; }
.fig.in[data-state="a"] .art--register .lens { transform: translate(356px, 262px); }
@keyframes bob { 50% { transform: translateY(-6px); } }
@keyframes live { 50% { opacity: 0.25; } }
@keyframes wave { 0% { opacity: 0.55; transform: scale(0.6); } 100% { opacity: 0; transform: scale(3.6); } }
@keyframes hop { to { stroke-dashoffset: -22; } }

/* questions and answers */
.g-faq-list { display: grid; gap: 10px; margin-top: 30px; max-width: 900px; }
.g-faq details { border-radius: 18px; background: var(--paper); transition: box-shadow 0.35s var(--ease); }
.g-faq details[open] { box-shadow: var(--shadow); }
.g-faq summary { position: relative; list-style: none; cursor: pointer; padding: 18px 60px 18px 22px; font-weight: 800; font-size: 1.08rem; line-height: 1.35; }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 28px; height: 28px; translate: 0 -50%; border-radius: 999px;
  background: linear-gradient(var(--paper), var(--paper)) center / 12px 2.4px no-repeat, linear-gradient(var(--paper), var(--paper)) center / 2.4px 12px no-repeat, var(--teal);
  transition: rotate 0.35s var(--ease);
}
.g-faq details[open] summary::after { rotate: 45deg; }
.g-faq summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 18px; }
.g-faq details > div { padding: 0 22px 20px; max-width: 44em; }

/* the emergency sheet, on coral */
.g-sheet { margin-top: 34px; }
.g-sheet h3 { font-size: 1.2rem; font-weight: 800; }
.g-sheet > p { margin-top: 8px; max-width: 34em; }
.g-sheet .c-check { max-width: none; }

.g-share-go { margin-top: 16px; }
.g-careful h3 { color: #b8412b; }
.g-careful ul li::before { color: var(--coral); transform: rotate(45deg); }

.g-links-out { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.g-links-out a { min-height: 48px; white-space: normal; text-align: left; }
.g-note { margin-top: 16px; max-width: 44em; color: var(--ink-soft); }

.g-answer { text-align: center; }
.g-answer .statement { max-width: 16em; margin-inline: auto; text-wrap: balance; }
.g-answer .lede { margin: 24px auto 0; max-width: 34em; font-size: 1.15rem; }

@media (prefers-reduced-motion: reduce) {
  .js .g-art:not(.in) { transform: none; opacity: 1; }
  .js .g-bodies:not(.in) .plate-img--lit { opacity: 1; }
  .art .bob, .art .live, .art--globe .hop { animation: none; }
  .art--ncr .waves circle { animation: none; opacity: 0.25; transform: scale(1.6); }
  .art--register .lens { transform: translate(356px, 262px); }
}

@media (max-width: 1080px) {
  .g-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-seasons { grid-template-columns: 1fr; }
}
@media (max-width: 819px) {
  .g-art { max-width: 460px; }
  .g-bodies { max-width: 340px; }
  .g-body:nth-child(2) { translate: 0 -20px; }
  .g-body-tag { font-size: 0.76rem; padding: 0 9px; min-height: 30px; }
  .g-groups { grid-template-columns: 1fr; }
  .g-group { padding: 20px 20px 20px 96px; }
  .g-group::before { top: 22px; }
  .g-zones { transform: none; }
  .g-faq summary { font-size: 1rem; }
  .art--year .mo { font-size: 30px; }
  .art--year .mo.is-now { font-size: 34px; }
  .art--year .hub { font-size: 32px; }
}

/* the "Booking opens soon" page and the "Page not found" page: text only, no picture beside the heading */
.g-hero--solo { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-bottom: 8px; }
.g-hero--solo .c-hero-text { max-width: 44rem; }
.g-phones { list-style: none; margin: 4px 0 22px; padding: 0; display: grid; gap: 12px; }
.g-phone {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px;
  padding: 16px 18px 16px 22px; border-radius: var(--r-card); background: var(--paper); box-shadow: var(--shadow);
}
.g-phone-n { font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 1.75rem); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.g-phone-go { display: flex; gap: 8px; }
.guide--simple .g-more { padding-top: 8px; }
