/* ==========================================================================
   Genesis Chess Academy – home page  (v3, mobile-first)
   Colours come from the site's existing variables in style.css
   (:root and body.hoc), so the House of Chess theme applies automatically.
   All classes are prefixed "gh-" so nothing leaks into other pages.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
.gh {
  --gh-ink: var(--primary-text-color, #000);
  --gh-text: var(--text-color, #5e5e5e);
  --gh-bg: var(--bg-color, #fff);
  --gh-dark: var(--secondry-bg-color, #171717);
  --gh-accent: var(--color1, #00bfa5);
  --gh-accent-2: var(--color2, #1de4c9);
  --gh-accent-3: var(--color3, #00a192);
  --gh-heading: var(--headingColor, #0d544f);
  --gh-muted: var(--color5, #8ebaa5);
  --gh-soft: color-mix(in srgb, var(--gh-muted) 16%, #fff);
  --gh-tint: color-mix(in srgb, var(--gh-accent) 16%, #fff);
  --gh-line: color-mix(in srgb, var(--gh-muted) 40%, #fff);

  --gh-serif: "Fraunces", Georgia, serif;
  --gh-radius: 1.25rem;
  --gh-radius-sm: 0.75rem;
  --gh-gap: clamp(1rem, 2.5vw, 1.5rem);
  --gh-section: clamp(3.5rem, 8vw, 5.5rem);
  --gh-shadow: 0 1.25rem 3rem rgb(0 0 0 / 0.08);

  display: block;
  color: var(--gh-text);
  background: var(--gh-bg);
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: clip;
}

/* ---------- 2. Base & utilities ---------- */
.gh :where(h2, h3) { color: var(--gh-heading); line-height: 1.15; }
.gh :where(p, ul, figure, blockquote) { margin: 0; }
.gh :where(ul[role="list"]) { list-style: none; padding: 0; }
.gh img { display: block; max-width: 100%; height: auto; }
:where(.gh) a { color: inherit; }
.gh :focus-visible { outline: 3px solid var(--gh-heading); outline-offset: 3px; }

.gh-wrap { width: min(100% - 2rem, 77.5rem); margin-inline: auto; }
.gh-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.gh-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.gh-icon {
  width: 1.25rem; height: 1.25rem; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.gh-h2 { font-family: var(--gh-serif); font-weight: 600; font-size: clamp(1.75rem, 4vw, 2.6rem); letter-spacing: -0.01em; margin: 0.6rem 0 0; }
.gh-h3 { font-family: var(--gh-serif); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0.4rem 0 0.75rem; }
.gh-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gh-heading);
}
.gh-kicker::before { content: ""; width: 1.4rem; height: 3px; border-radius: 2px; background: var(--gh-accent); }

.gh-section { padding-block: var(--gh-section) 0; }
.gh-section--last { padding-bottom: var(--gh-section); }
.gh-section__head { display: grid; gap: 0.25rem; margin-bottom: 2rem; }
.gh-section__head--row { gap: 1rem; }
.gh-section__intro { margin-top: 0.75rem; max-width: 34rem; }

.gh-grid { display: grid; gap: var(--gh-gap); }

/* Faint chess "stickers" behind a section (pattern takes the theme colour) */
.gh-stickers { position: relative; isolation: isolate; }
.gh-stickers::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--gh-accent); opacity: 0.09;
  -webkit-mask: url("../images/home/stickers.svg") 0 0 / 32rem repeat;
          mask: url("../images/home/stickers.svg") 0 0 / 32rem repeat;
}
.gh-stickers--alt::before { -webkit-mask-position: 16rem 9rem; mask-position: 16rem 9rem; }

/* ---------- 3. Components ---------- */
.gh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0 1.4rem; border-radius: var(--gh-radius-sm); border: 1.5px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: filter 0.15s;
}
.gh-btn:hover { filter: brightness(1.08); }
.gh-btn--primary { background: var(--gh-accent); color: #000; }
.gh-btn--dark { background: var(--gh-heading); color: #fff; }
.gh-btn--line { background: #fff; border-color: var(--gh-line); color: var(--gh-heading); }
.gh-btn--ghost { background: transparent; border-color: rgb(255 255 255 / 0.65); color: #fff; }
.gh-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.gh-link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; font-weight: 600; color: var(--gh-heading); text-decoration: none; }
.gh-link:hover { text-decoration: underline; }

.gh-badge { display: grid; place-items: center; width: 3rem; height: 3rem; flex: none; border-radius: 0.875rem; background: var(--gh-tint); color: var(--gh-heading); }
.gh-pill { align-self: start; font-size: 0.75rem; font-weight: 700; background: var(--gh-tint); color: var(--gh-heading); border-radius: 999px; padding: 0.3rem 0.65rem; }
.gh-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.45rem 0.9rem; border-radius: 999px; background: rgb(255 255 255 / 0.14); color: var(--gh-accent-2);
}

.gh-card { border: 1px solid var(--gh-line); border-radius: var(--gh-radius); padding: 1.5rem; background: #fff; }
.gh-card h3 { font-size: 1.15rem; margin: 1rem 0 0.4rem; }

.gh-stars { display: inline-flex; gap: 2px; color: var(--gh-accent); }
.gh-stars .gh-icon { width: 1.1rem; height: 1.1rem; stroke: none; fill: currentColor; }
.gh-stars .is-off { color: var(--gh-line); }

.gh-avatar { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; border-radius: 50%; background: var(--gh-tint); color: var(--gh-heading); font-weight: 700; }

.gh-checklist { display: grid; gap: 0.75rem; margin: 1.25rem 0 1.75rem; }
.gh-checklist li { display: flex; gap: 0.75rem; color: var(--gh-ink); }
.gh-checklist .gh-icon { color: var(--gh-accent-3); margin-top: 0.15rem; stroke-width: 2.2; }

/* ---------- 4. Banner carousel ---------- */
.gh-hero { position: relative; background: var(--gh-dark); }
.gh-hero__track { display: grid; }
.gh-slide {
  --slide-bg: var(--gh-dark);
  grid-area: 1 / 1; position: relative; display: grid; min-height: 34rem; overflow: hidden;
  background: var(--slide-bg); color: #fff;
  opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s;
}
.gh-slide.is-active { opacity: 1; visibility: visible; }
.gh-slide--brand { --slide-bg: var(--gh-heading); }
.gh-slide--light { --slide-bg: var(--gh-soft); color: var(--gh-text); }
.gh-slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gh-slide__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(10 10 10 / 0.92), rgb(10 10 10 / 0.55) 55%, rgb(10 10 10 / 0.1)); }
.gh-slide__inner { position: relative; display: grid; align-content: end; gap: 2rem; padding-block: 3rem 6.5rem; }
.gh-slide__title { font-family: var(--gh-serif); font-weight: 600; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.02em; color: #fff; margin: 1rem 0 0.75rem; }
.gh-slide__lead { font-size: 1.05rem; color: rgb(255 255 255 / 0.86); margin-bottom: 1.5rem; max-width: 34rem; }
.gh-slide--light .gh-slide__title { color: var(--gh-heading); }
.gh-slide--light .gh-slide__lead { color: var(--gh-text); }
.gh-slide--light .gh-tag { background: var(--gh-tint); color: var(--gh-heading); }
.gh-slide--light .gh-btn--ghost { border-color: var(--gh-line); color: var(--gh-heading); background: #fff; }
.gh-slide__visual { display: none; }
.gh-slide__link { position: absolute; inset: 0; z-index: 2; }

.gh-quote { background: #fff; border-radius: 1.5rem; padding: 2.25rem; box-shadow: var(--gh-shadow); color: var(--gh-ink); }
.gh-quote blockquote { font-family: var(--gh-serif); font-size: 1.5rem; line-height: 1.35; }
.gh-quote blockquote::before { content: "“"; display: block; font-size: 4.5rem; line-height: 0.6; height: 2.2rem; color: var(--gh-accent-3); }
.gh-quote figcaption { margin-top: 1.25rem; display: grid; }
.gh-quote figcaption span { color: var(--gh-text); font-size: 0.9rem; }
.gh-slide__shot { border-radius: var(--gh-radius); background: #fff; box-shadow: 0 1.5rem 3rem rgb(0 0 0 / 0.25); max-height: 26rem; width: 100%; object-fit: contain; object-position: top; padding: 0.5rem; }
.gh-slide__side { max-height: 28rem; object-fit: contain; }
.gh-trophy { place-items: center; aspect-ratio: 1; border-radius: 50%; background: rgb(255 255 255 / 0.06); color: var(--gh-accent-2); }
.gh-trophy .gh-icon { width: 45%; height: 45%; stroke-width: 1.2; }

.gh-hero__controls { position: absolute; inset-inline: 0; bottom: 1.25rem; z-index: 3; display: flex; align-items: center; gap: 0.5rem; }
.gh-hero__controls[hidden] { display: none; }
.gh-hero__dots { display: flex; }
.gh-hero__dot { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.gh-hero__dot::after { content: ""; width: 1.6rem; height: 5px; border-radius: 3px; background: rgb(255 255 255 / 0.45); transition: width 0.2s, background 0.2s; }
.gh-hero__dot[aria-current="true"]::after { width: 2.5rem; background: var(--gh-accent); }
.gh-hero__pause { min-height: 2.75rem; padding: 0 0.9rem; border: 0; border-radius: 999px; background: rgb(255 255 255 / 0.16); color: #fff; font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.gh-hero__arrow { display: none; width: 3rem; height: 3rem; place-items: center; border: 0; border-radius: 50%; background: #fff; color: var(--gh-heading); cursor: pointer; box-shadow: 0 0.4rem 1rem rgb(0 0 0 / 0.18); }
.gh-hero[data-theme="light"] .gh-hero__dot::after { background: rgb(0 0 0 / 0.2); }
.gh-hero[data-theme="light"] .gh-hero__dot[aria-current="true"]::after { background: var(--gh-heading); }
.gh-hero[data-theme="light"] .gh-hero__pause { background: rgb(0 0 0 / 0.07); color: var(--gh-heading); }

/* ---------- 5. Quick links ---------- */
.gh-quick { border-bottom: 1px solid var(--gh-line); }
.gh-quick__list { display: grid; }
.gh-quick__link { display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 0.5rem; text-decoration: none; border-bottom: 1px solid var(--gh-line); }
.gh-quick__list li:last-child .gh-quick__link { border-bottom: 0; }
.gh-quick__link:hover { background: var(--gh-soft); }
.gh-quick__link strong { display: block; color: var(--gh-ink); }
.gh-quick__link small { font-size: 0.85rem; }

/* ---------- 6. Counters: white cards on the brand band ---------- */
.gh-stats { background: var(--gh-heading); }
.gh-stats__inner { display: grid; gap: 1.75rem; padding-block: clamp(2.5rem, 6vw, 3.5rem); }
.gh-stats__title { font-family: var(--gh-serif); font-weight: 600; font-size: clamp(1.6rem, 3.5vw, 2.3rem); color: #fff; margin: 0; }
.gh-stats__list { display: grid; gap: 1rem; }
/* Opaque cards sit above the sticker layer, so nothing ever overlaps the numbers. */
.gh-stat { position: relative; z-index: 1; display: grid; justify-items: start; gap: 0.5rem; padding: 1.5rem 1.5rem 1.75rem; border-radius: var(--gh-radius); border-top: 6px solid var(--gh-accent); background: #fff; }
.gh-stat__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 0.85rem; background: var(--gh-tint); color: var(--gh-heading); }
.gh-stat__icon .gh-icon { width: 1.5rem; height: 1.5rem; }
.gh-stat__num { margin-top: 0.5rem; font-family: var(--gh-serif); font-weight: 700; font-size: clamp(3.5rem, 5.8vw, 5.5rem); line-height: 0.95; letter-spacing: -0.02em; color: var(--gh-heading); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.gh-stat__plus { font-size: 0.55em; vertical-align: 0.6em; margin-left: 0.05em; }
.gh-stat__label { font-size: 1.1rem; font-weight: 600; color: var(--gh-ink); }

/* ---------- 7. Ways to learn ---------- */
.gh-way { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--gh-line); border-radius: var(--gh-radius); overflow: hidden; background: #fff; }
.gh-way img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gh-way__body { display: grid; gap: 0.5rem; padding: 1.5rem; }
.gh-way h3 { font-size: 1.2rem; margin: 0; }

/* ---------- 8. Student portal tabs ---------- */
.gh-portal { background: linear-gradient(180deg, var(--gh-bg), var(--gh-soft)); padding-bottom: var(--gh-section); }
.gh-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-bottom: 1.5rem; }
.gh-highlights li { background: #fff; border: 1px solid var(--gh-line); border-radius: 1rem; padding: 1rem; font-size: 0.9rem; }
.gh-highlights strong { display: block; font-family: var(--gh-serif); font-size: 1.15rem; color: var(--gh-heading); }

.gh-tabs { background: #fff; border: 1px solid var(--gh-line); border-radius: 1.5rem; padding: 0.6rem; box-shadow: var(--gh-shadow); }
.gh-tabs__list { display: flex; gap: 0.4rem; overflow-x: auto; scroll-snap-type: x mandatory; background: var(--gh-soft); border-radius: 1.1rem; padding: 0.35rem; }
.gh-tabs__tab {
  flex: 0 0 auto; scroll-snap-align: start; display: flex; align-items: center; gap: 0.7rem; min-height: 3.5rem;
  padding: 0.6rem 0.9rem; border: 0; border-radius: 0.9rem; background: none; font: inherit; text-align: left; color: var(--gh-text); cursor: pointer;
}
.gh-tabs__tab strong { display: block; color: var(--gh-ink); font-size: 0.95rem; }
.gh-tabs__tab small { display: block; font-size: 0.78rem; line-height: 1.3; }
.gh-tabs__num { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: #fff; color: var(--gh-heading); font-weight: 700; font-size: 0.8rem; }
.gh-tabs__tab[aria-selected="true"] { background: var(--gh-accent); box-shadow: 0 4px 0 var(--gh-accent-3); }
.gh-tabs__tab[aria-selected="true"] :is(strong, small) { color: #000; }
.gh-tabs__tab[aria-selected="true"] .gh-tabs__num { background: var(--gh-heading); color: #fff; }
.gh-tabs__panel { display: grid; gap: 1.75rem; padding: 1.75rem 0.6rem 0.6rem; }
.gh-tabs__panel[hidden] { display: none; }
.gh-tabs__eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gh-heading); }
.gh-shot { position: relative; border: 1px solid var(--gh-line); border-radius: var(--gh-radius); overflow: hidden; background: #fff; }
.gh-shot img { width: 100%; max-height: 28rem; object-fit: contain; object-position: top; padding: 0.75rem; }
.gh-shot figcaption { position: absolute; right: 0.75rem; bottom: 0.6rem; font-size: 0.72rem; background: rgb(255 255 255 / 0.94); border: 1px solid var(--gh-line); border-radius: 999px; padding: 0.15rem 0.6rem; }

/* ---------- 9. Where we teach + map ---------- */
.gh-areas { background: var(--gh-soft); padding-bottom: var(--gh-section); }
.gh-areas__inner { display: grid; gap: 2rem; }
.gh-modes { display: grid; gap: 0.9rem; }
.gh-mode { background: #fff; border: 1px solid var(--gh-line); border-radius: var(--gh-radius); padding: 1.1rem 1.25rem; }
.gh-mode__title { display: flex; align-items: center; gap: 0.6rem; margin: 0; font-size: 1.05rem; color: var(--gh-ink); font-family: inherit; }
.gh-dot { width: 0.75rem; height: 0.75rem; border-radius: 50%; flex: none; }
.gh-dot--accent { background: var(--gh-accent); }
.gh-dot--dark { background: var(--gh-heading); }
.gh-dot--soft { background: var(--gh-muted); }
.gh-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.gh-chips li { font-size: 0.9rem; color: var(--gh-heading); background: var(--gh-soft); border: 1px solid var(--gh-line); border-radius: 999px; padding: 0.35rem 0.85rem; }
.gh-map { position: relative; height: 22rem; border: 1px solid var(--gh-line); border-radius: 1.5rem; overflow: hidden; background: #e8efec; }
/* Explicit width/height: MapLibre's own CSS (loaded later) sets the container to position: relative,
   which cancels "inset: 0" and collapses the map to 0px tall. A fixed-height figure avoids that. */
.gh-map__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.gh-mapwrap { display: grid; gap: 0.75rem; min-width: 0; }
.gh-map__live { position: absolute; left: 0.75rem; top: 0.75rem; z-index: 2; display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0.35rem 0.75rem; border-radius: 999px; background: #fff; box-shadow: 0 2px 10px rgb(0 0 0 / 0.12); font-size: 0.8rem; font-weight: 700; color: var(--gh-ink); }
.gh-map__pulse { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 0 rgb(31 157 85 / 0.5); animation: gh-pulse 2s infinite; }
@keyframes gh-pulse { 70% { box-shadow: 0 0 0 0.5rem rgb(31 157 85 / 0); } 100% { box-shadow: 0 0 0 0 rgb(31 157 85 / 0); } }
.gh-map__status { position: absolute; inset: auto 0.75rem 0.75rem; z-index: 2; margin: 0; padding: 0.75rem 1rem; border-radius: var(--gh-radius-sm); background: #fff; color: var(--gh-ink); font-size: 0.9rem; }
.gh-map__status[hidden] { display: none; }
.gh-map__pop { display: grid; gap: 0.15rem; font: 0.9rem/1.35 inherit; color: var(--gh-ink); }
.gh-map__pop strong { color: var(--gh-heading); font-size: 0.95rem; }
.gh-maplist summary { cursor: pointer; font-weight: 700; color: var(--gh-heading); min-height: 2.75rem; display: flex; align-items: center; }
.gh-maplist .gh-chips { margin-top: 0.25rem; }

/* ---------- 10. Reviews: summary + review cards ---------- */
.gh-reviews { display: grid; gap: var(--gh-gap); margin-top: 2rem; align-items: start; }
.gh-rsum { position: relative; z-index: 1; display: grid; gap: 0.6rem; padding: 1.5rem; border: 1px solid var(--gh-line); border-radius: var(--gh-radius); background: #fff; color: var(--gh-ink); }
.gh-rsum__title { font-size: 1.25rem; font-weight: 600; color: var(--gh-ink); margin: 0 0 0.25rem; }
.gh-rsum__score { display: flex; align-items: center; gap: 0.9rem; }
.gh-rsum__score strong { font-family: var(--gh-serif); font-size: 3.25rem; font-weight: 700; line-height: 1; color: var(--gh-heading); }
.gh-rsum__score small { display: block; font-size: 0.9rem; color: var(--gh-text); }
.gh-rsum__bars { display: grid; gap: 0.4rem; margin: 0.5rem 0 0.75rem; }
.gh-rsum__bars li { display: grid; grid-template-columns: 0.75rem 1fr 1.75rem; gap: 0.6rem; align-items: center; font-size: 0.85rem; color: var(--gh-text); }
.gh-rsum__bars li span:last-child { text-align: right; }
.gh-bar { height: 0.5rem; border-radius: 1rem; background: var(--gh-line); overflow: hidden; }
.gh-bar i { display: block; height: 100%; border-radius: inherit; background: var(--gh-accent-3); }
.gh-btn--block { width: 100%; }
.gh-rgrid { display: grid; gap: 1rem; }
.gh-review { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.75rem; height: 100%; padding: 1.25rem 1.25rem 1rem; border: 1px solid var(--gh-line); border-radius: var(--gh-radius); background: #fff; }
.gh-review__by { display: flex; align-items: center; gap: 0.75rem; }
.gh-review__by cite { display: block; font-style: normal; font-weight: 700; color: var(--gh-ink); }
.gh-review__by small { font-size: 0.8rem; }
.gh-review__text { color: var(--gh-ink); font-size: 0.95rem; }
.gh-review.is-clamped .gh-review__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.gh-review__more { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: auto; }
.gh-more { min-height: 2.75rem; padding: 0; border: 0; background: none; font: inherit; font-size: 0.9rem; font-weight: 700; color: var(--gh-heading); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.gh-more:hover { text-decoration: underline; }
.gh-more[hidden] { display: none; }
/* Muted avatar colours, all with white text at 4.5:1 or better */
.gh-rgrid .gh-avatar { color: #fff; background: #3d6b8f; }
.gh-rgrid li:nth-child(6n + 2) .gh-avatar { background: #9a4a33; }
.gh-rgrid li:nth-child(6n + 3) .gh-avatar { background: #4f7034; }
.gh-rgrid li:nth-child(6n + 4) .gh-avatar { background: #6e4a8e; }
.gh-rgrid li:nth-child(6n + 5) .gh-avatar { background: #8a5a12; }
.gh-rgrid li:nth-child(6n + 6) .gh-avatar { background: #2d6e69; }

/* ---------- 11. Gallery ---------- */
.gh-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 11rem; gap: 0.75rem; }
.gh-gallery li { overflow: hidden; border-radius: 1rem; background: var(--gh-soft); }
.gh-gallery li:first-child { grid-column: 1 / -1; }
.gh-gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 12. FAQ ---------- */
.gh-faq { display: grid; gap: 2rem; padding-bottom: 0.5rem; }
.gh-faq header { display: grid; gap: 0.9rem; align-content: start; }
.gh-faq header a:not(.gh-btn) { color: var(--gh-heading); }
.gh-faq__item { border-bottom: 1px solid var(--gh-line); }
.gh-faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.75rem; padding: 1.1rem 0; cursor: pointer; list-style: none; }
.gh-faq__item summary::-webkit-details-marker { display: none; }
.gh-faq__item summary h3 { margin: 0; font-size: 1.05rem; color: var(--gh-ink); font-family: inherit; }
.gh-faq__item summary .gh-icon { color: var(--gh-heading); transition: transform 0.2s; }
.gh-faq__item[open] summary .gh-icon { transform: rotate(45deg); }
.gh-faq__item > p { padding-bottom: 1.25rem; }

/* ---------- 13. Call to action ---------- */
.gh-cta { display: grid; gap: 1.5rem; padding: 2rem 1.5rem; border-radius: 1.75rem; background: var(--gh-heading); color: rgb(255 255 255 / 0.88); }
.gh-cta .gh-h2 { color: #fff; margin: 0 0 0.5rem; }

/* ==========================================================================
   Larger screens (mobile-first breakpoints)
   ========================================================================== */
@media (min-width: 40rem) {
  .gh-quick__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gh-quick__link { padding: 1.25rem 1rem; border-bottom: 1px solid var(--gh-line); }
  .gh-quick__list li:nth-child(odd) .gh-quick__link { border-right: 1px solid var(--gh-line); }
  .gh-quick__list li:nth-last-child(-n + 2) .gh-quick__link { border-bottom: 0; }
  .gh-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gh-rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gh-highlights { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gh-gallery { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 14rem; }
  .gh-gallery li:first-child { grid-column: auto; grid-row: span 2; }
  .gh-gallery li:last-child { grid-column: span 2; }
  .gh-cta { padding: 3rem; }
}

@media (min-width: 48rem) {
  .gh-stats__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .gh-section__head--row { grid-template-columns: 1fr auto; align-items: end; }
  .gh-slide { min-height: 37.5rem; }
  .gh-slide__inner { grid-template-columns: 1fr 1fr; align-content: center; align-items: center; gap: 3rem; padding-block: 4rem 5.5rem; }
  .gh-slide__visual { display: grid; }
  .gh-slide__shade { background: linear-gradient(90deg, rgb(10 10 10 / 0.88), rgb(10 10 10 / 0.6) 42%, rgb(10 10 10 / 0) 75%); }
  .gh-hero__arrow { display: grid; }
  .gh-hero__arrow[data-prev] { margin-left: auto; }
  .gh-quick__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gh-quick__list li .gh-quick__link { border-bottom: 0; border-right: 1px solid var(--gh-line); }
  .gh-quick__list li:last-child .gh-quick__link { border-right: 0; }
  .gh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gh-stat { padding: 2rem 2rem 2.25rem; }
  .gh-reviews { grid-template-columns: 18rem minmax(0, 1fr); gap: 2rem; }
  .gh-rsum { position: sticky; top: 1.5rem; }
  .gh-rgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gh-tabs { padding: 1.25rem; }
  .gh-tabs__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; }
  .gh-tabs__panel { grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: 2.5rem; padding: 2.25rem 1.25rem 1.25rem; }
  .gh-areas__inner { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 3rem; }
  .gh-map { height: 32rem; }
  .gh-faq { grid-template-columns: 1fr 1.4fr; gap: 3.5rem; }
  .gh-cta { grid-template-columns: 1fr auto; align-items: center; padding: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .gh-map__pulse { animation: none; }
  .gh-slide, .gh-hero__dot::after, .gh-faq__item summary .gh-icon { transition: none; }
}
