/* ==========================================================================
   Option G: Guided
   Leads with a question instead of a slogan: "How can we help you today?"
   and four big choice cards that send people straight to the right page.
   Then a zig-zag story of services (illustration left, then right), a
   centred doctor introduction, the first visit as a dotted path on navy, a
   single-column FAQ and icon tiles for the office. Parts in template-parts/g/.
   ========================================================================== */

:root { --radius-lg: 22px; }

body { background: var(--white); }
.header-top { background: var(--cyan); color: var(--ink); }
.header-top a { color: var(--ink); }
.header-top a:hover { color: var(--navy); }

/* ---------- Choice hero ---------- */
.gd-hero {
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3.5rem, 7vw, 5rem); text-align: center;
  background:
    radial-gradient(circle at 15% 0%, rgba(7, 204, 236, .28), transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(39, 71, 125, .16), transparent 45%),
    linear-gradient(180deg, #e9fcff, var(--white));
}
.gd-hero .section-label { justify-content: center; }
.gd-hero h1 { max-width: 16ch; margin: 0 auto 1rem; font-size: clamp(2.5rem, 5.6vw, 4.3rem); color: var(--ink); line-height: 1.06; }
.gd-lead { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--navy); }
.gd-choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; max-width: 1100px; margin: 2.75rem auto 2rem; text-align: left; }
.gd-choice {
  display: flex; flex-direction: column; gap: .5rem; padding: 1.75rem 1.5rem; border: 2px solid transparent; border-radius: var(--radius-lg);
  background: var(--white); color: var(--ink); box-shadow: 0 16px 36px -20px rgba(15, 33, 64, .4);
  transition: transform .25s ease, border-color .25s ease;
}
.gd-choice:hover { transform: translateY(-4px); border-color: var(--cyan); color: var(--ink); }
.gd-choice-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: .75rem; border-radius: 16px; background: var(--cyan-pale); color: var(--navy); }
.gd-choice strong { font-family: var(--font-head); font-size: 1.2rem; line-height: 1.3; }
.gd-choice > span:last-child { margin-top: auto; padding-top: .5rem; color: var(--cyan-ink); font-weight: 700; font-size: .95rem; }
.gd-choice:last-child, .gd-choice:last-child strong { background: var(--navy); color: var(--white); }
.gd-choice:last-child:hover { color: var(--white); }
.gd-choice:last-child .gd-choice-icon { background: rgba(7, 204, 236, .2); color: var(--cyan); }
.gd-choice:last-child > span:last-child { color: var(--cyan-pale); }
.gd-call { color: var(--muted); }
.gd-call a { font-weight: 700; }

/* ---------- Zig-zag story ---------- */
.gd-row { position: relative; z-index: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.gd-row-flip .gd-row-media { order: 2; }
/* The decorative circle sits 28px outside the image; when the image spans the
   full width (tablets) it would push the page sideways, so clip it here. */
.gd-story { overflow-x: clip; }
.gd-row-media { position: relative; padding: 1.5rem; border-radius: 32px; background: var(--smoke); }
.gd-row-media::after { content: ''; position: absolute; z-index: -1; right: -28px; bottom: -28px; width: 130px; height: 130px; border-radius: 50%; background: var(--cyan); opacity: .2; }
.gd-row-flip .gd-row-media::after { right: auto; left: -28px; }
.gd-row-media img { width: 100%; border-radius: 22px; }
.gd-row-no { font: 700 .9rem var(--font-head); letter-spacing: .2em; color: var(--cyan-ink); }
.gd-row h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: .4rem; }
.gd-row-body > p { font-size: 1.08rem; }
.gd-all { text-align: center; margin: 0; }

/* ---------- Doctor ---------- */
.gd-doctor { background: var(--smoke); text-align: center; }
.gd-doctor .container { max-width: 760px; }
.gd-doctor .section-label { justify-content: center; }
.gd-doctor-photo { width: 170px; height: 170px; margin: 0 auto 1.5rem; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 6px solid var(--white); box-shadow: var(--shadow-lg); }
.gd-doctor-role { color: var(--cyan-ink); font-weight: 700; }
.gd-doctor-lead { font-size: 1.12rem; }

/* ---------- Steps as a dotted path ---------- */
.gd-steps { background: linear-gradient(135deg, var(--navy), var(--ink)); color: rgba(255, 255, 255, .8); }
.gd-steps h2 { color: var(--white); }
.gd-steps .section-label { color: var(--cyan); }
.gd-path { position: relative; list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.gd-path::before { content: ''; position: absolute; top: 22px; left: 12.5%; right: 12.5%; border-top: 2px dashed rgba(7, 204, 236, .5); }
.gd-path li { position: relative; counter-increment: step; text-align: center; }
.gd-path li::before { content: counter(step); position: relative; display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--cyan); color: var(--ink); font: 700 1.1rem var(--font-head); }
.gd-path h3 { color: var(--white); }
.gd-path p { margin: 0; color: rgba(255, 255, 255, .75); }

/* ---------- FAQ ---------- */
.gd-accordion { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.gd-accordion details { border-bottom: 1px solid var(--line); }
.gd-accordion summary { position: relative; padding: 1.3rem 3rem 1.3rem 0; list-style: none; cursor: pointer; font: 700 1.15rem/1.35 var(--font-head); color: var(--ink); }
.gd-accordion summary::-webkit-details-marker { display: none; }
.gd-accordion summary::after { content: ''; position: absolute; right: .5rem; top: 1.55rem; width: 11px; height: 11px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .2s ease, top .2s ease; }
.gd-accordion details[open] summary::after { top: 1.8rem; transform: rotate(225deg); }
.gd-accordion details p { margin: 0; padding-bottom: 1.3rem; }

/* ---------- Visit ---------- */
.gd-visit { background: var(--smoke); }
.gd-visit-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gd-visit-tiles > div { padding: 1.75rem; border-radius: var(--radius-lg); background: var(--white); text-align: center; }
.gd-visit-tiles > div > span { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 50%; background: var(--cyan-pale); color: var(--navy); }
.gd-visit-tiles p { margin: 0; }
.gd-map iframe { display: block; width: 100%; height: 380px; margin-top: 1.5rem; border: 0; border-radius: 24px; }

@media (prefers-reduced-motion: reduce) {
  .gd-choice, .gd-accordion summary::after { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .gd-choices { grid-template-columns: repeat(2, 1fr); }
  .gd-row { grid-template-columns: 1fr; }
  .gd-row-flip .gd-row-media { order: 0; }
  .gd-path { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .gd-path::before { display: none; }
  .gd-visit-tiles { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .gd-choices { grid-template-columns: 1fr; }
  .gd-row-media::after { display: none; }
}
