/**
 * Gateway Workshops — Homepage redesign
 * Scoped to .gw-site — does not affect other pages when homepage_shell is used.
 */
@import url('gateway-luxury-tokens.css');

.gw-site {
  --gw-container: min(1180px, calc(100% - 48px));
  --gw-header-h: 92px;

  color: var(--gw-ink);
  background: var(--gw-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.gw-site *,
.gw-site *::before,
.gw-site *::after { box-sizing: border-box; }

.gw-site img { max-width: 100%; height: auto; display: block; }
.gw-site a { color: inherit; text-decoration: none; }
.gw-site a.gw-btn--primary,
.gw-site button.gw-btn--primary,
.gw-site a.gw-btn--primary:hover,
.gw-site button.gw-btn--primary:hover,
.gw-site a.gw-btn--primary:focus,
.gw-site button.gw-btn--primary:focus {
  color: #fff;
}
.gw-site a.gw-btn--outline:not(.gw-btn--on-dark),
.gw-site button.gw-btn--outline:not(.gw-btn--on-dark) {
  color: var(--gw-ink);
}
.gw-site a.gw-btn--on-dark,
.gw-site a.gw-btn--on-dark:focus {
  color: #fff;
}
.gw-site a.gw-btn--on-dark:hover {
  color: var(--gw-primary);
}
.gw-site a.gw-btn--ghost.gw-btn--on-dark:hover,
.gw-site a.gw-btn--ghost.gw-btn--on-dark:focus {
  color: #fff;
}
.gw-site ul { list-style: none; margin: 0; padding: 0; }
.gw-site h1, .gw-site h2, .gw-site h3, .gw-site h4, .gw-site p { margin: 0; }

.gw-container {
  width: var(--gw-container);
  margin-inline: auto;
}

.gw-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Typography */
.gw-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gw-accent);
  margin-bottom: 0.75rem;
}

.gw-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.gw-section--professionals .gw-section-head {
  max-width: min(960px, 100%);
}

.gw-section-head__lead {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gw-ink-muted);
}

.gw-section-head__lead--wide {
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .gw-section-head__lead--wide {
    white-space: normal;
    max-width: 640px;
  }
}

.gw-section-head__cta {
  margin-top: 1.35rem;
}

.gw-section-head--left { text-align: left; margin-left: 0; }

/* Use only on dark / colored bands */
.gw-section-head--inverse .gw-eyebrow { color: var(--gw-accent-soft); }
.gw-section-head--inverse h2 { color: #fff; }

.gw-section-head h2,
.gw-hero__title {
  font-family: var(--gw-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.gw-section-head h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.gw-hero--full .gw-hero__title { font-size: clamp(2.35rem, 4.8vw, 3.85rem); color: #fff; max-width: none; }

/* Buttons */
.gw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}

.gw-btn:hover { transform: translateY(-1px); box-shadow: var(--gw-shadow-sm); }

.gw-btn--primary {
  background: var(--gw-primary);
  color: #fff;
}
.gw-btn--primary:hover { background: var(--gw-primary-dark); color: #fff; }

.gw-btn--ghost {
  background: transparent;
  border-color: var(--gw-border);
  color: var(--gw-ink);
}
.gw-btn--ghost:hover { border-color: var(--gw-primary); color: var(--gw-primary); }

.gw-btn--outline {
  background: #fff;
  border-color: var(--gw-border);
  color: var(--gw-ink);
}
.gw-btn--outline:hover {
  border-color: var(--gw-primary);
  color: var(--gw-primary);
  background: var(--gw-primary-light);
}

.gw-btn--on-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
.gw-btn--on-dark:hover {
  background: #fff;
  border-color: #fff;
  color: var(--gw-primary);
}

.gw-btn--outline-light {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}
.gw-btn--outline-light:hover {
  background: #fff;
  color: var(--gw-primary);
  border-color: #fff;
}

.gw-btn--light {
  background: #fff;
  color: var(--gw-primary);
}
.gw-btn--sm { padding: 0.65rem 1.15rem; font-size: 0.85rem; }

.gw-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-weight: 600;
  color: var(--gw-primary);
}
.gw-link-arrow::after { content: '→'; transition: transform 0.2s; }
.gw-link-arrow:hover::after { transform: translateX(4px); }

/* Header */
.gw-header-zone {
  position: relative;
  z-index: 1000;
}

.gw-nav__mobile-bar {
  display: none;
}

.gw-site-header,
.gw-header {
  position: sticky;
  top: 0;
  z-index: 1;
  height: var(--gw-header-h);
  overflow: visible;
}

.gw-header__surface {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gw-border);
  box-shadow: 0 4px 24px rgba(8, 16, 40, 0.06);
  pointer-events: none;
}

.gw-header__inner {
  position: relative;
  z-index: 1;
  width: var(--gw-container);
  margin-inline: auto;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem 2rem;
}

.gw-header__aside {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.gw-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
  padding: 0.15rem 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: opacity 0.2s;
}

.gw-logo:hover {
  transform: none;
  opacity: 0.88;
  box-shadow: none;
}

.gw-logo img {
  height: clamp(52px, 6vw, 64px);
  width: auto;
  min-width: 200px;
  max-width: 280px;
  object-fit: contain;
  display: block;
}

.gw-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.gw-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.gw-nav__list > li > a,
.gw-nav__dropdown > button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border: none;
  background: none;
  font: inherit;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gw-ink-soft);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.gw-nav__list > li > a:hover,
.gw-nav__dropdown > button:hover,
.gw-nav__dropdown.is-open > button {
  color: var(--gw-primary);
  background: var(--gw-primary-light);
}

/* Logged-in user chip */
.gw-user-menu > .gw-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: min(240px, 42vw);
  padding: 0.35rem 0.7rem 0.35rem 0.4rem;
  border: 1.5px solid rgba(13, 27, 76, 0.24);
  background: linear-gradient(180deg, #fff 0%, rgba(13, 27, 76, 0.08) 100%);
  color: var(--gw-primary-dark);
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.2;
  box-shadow: 0 1px 2px rgba(18, 12, 30, 0.05);
}

.gw-user-menu > .gw-user-chip:hover,
.gw-user-menu.is-open > .gw-user-chip {
  color: var(--gw-primary-dark);
  background: linear-gradient(180deg, #fff 0%, rgba(13, 27, 76, 0.14) 100%);
  border-color: rgba(13, 27, 76, 0.38);
  box-shadow: 0 4px 14px rgba(13, 27, 76, 0.12);
}

.gw-user-chip__avatar {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gw-gradient-brand);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gw-user-chip__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gw-user-chip__chevron {
  flex-shrink: 0;
  opacity: 0.65;
  transition: transform 0.2s ease;
}

.gw-user-menu.is-open .gw-user-chip__chevron {
  transform: rotate(180deg);
}

.gw-user-menu__sub {
  min-width: 180px;
  right: 0;
  left: auto;
}

.gw-nav__dropdown { position: relative; }

.gw-nav__sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  padding: 0.5rem;
  background: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-sm);
  box-shadow: var(--gw-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
  z-index: 10;
}

.gw-nav__dropdown.is-open .gw-nav__sub,
.gw-nav__dropdown:hover .gw-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gw-nav__sub li a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--gw-ink-soft);
}
.gw-nav__sub li a:hover { background: var(--gw-bg); color: var(--gw-primary); }

.gw-nav__sub .depth-2,
.gw-nav__sub ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 0.75rem; }

.gw-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gw-icon-btn {
  position: relative;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gw-ink-soft);
  transition: background 0.2s;
}
.gw-icon-btn:hover { background: rgba(13, 27, 76, 0.08); color: var(--gw-primary); }

.gw-badge {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #c0392b;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.gw-nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: none;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.gw-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  flex-shrink: 0;
  background: var(--gw-ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.gw-hero--full {
  position: relative;
  min-height: clamp(520px, 78vh, 720px);
  display: flex;
  align-items: center;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(4.5rem, 10vw, 6.5rem);
  overflow: hidden;
}

.gw-hero__backdrop-slides,
.gw-hero__backdrop-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gw-hero__backdrop-fallback {
  background: linear-gradient(135deg, var(--gw-primary-dark) 0%, var(--gw-primary) 100%);
}

.gw-hero__backdrop-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.75s ease;
}

.gw-hero__backdrop-slide.is-active {
  opacity: 1;
}

.gw-hero__backdrop-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gw-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18, 12, 30, 0.5) 0%, rgba(8, 16, 40, 0.72) 45%, rgba(8, 16, 40, 0.82) 100%);
}

.gw-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gw-hero__panel {
  width: 100%;
  max-width: min(1060px, 94%);
  margin: 0 auto;
  text-align: center;
}

.gw-hero--full .gw-hero__eyebrow {
  display: inline-block;
  margin-bottom: 1.15rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 100%;
  line-height: 1.35;
}

.gw-hero--full .gw-hero__title {
  font-family: var(--gw-display);
  font-size: clamp(2.35rem, 4.8vw, 3.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: none;
  text-wrap: balance;
}

.gw-hero--full .gw-hero__desc {
  margin-top: 1.35rem;
  margin-inline: auto;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  max-width: min(860px, 100%);
  text-wrap: pretty;
}

.gw-hero--full .gw-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.gw-hero--full .gw-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2.25rem;
  margin-inline: auto;
  max-width: 720px;
  width: 100%;
}

.gw-hero--full .gw-hero__stat {
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--gw-radius-sm);
  backdrop-filter: blur(8px);
}

.gw-hero--full .gw-hero__stat strong {
  display: block;
  font-family: var(--gw-display);
  font-size: 1.45rem;
  color: #fff;
  line-height: 1.1;
}

.gw-hero--full .gw-hero__stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.78);
}

.gw-hero--full .gw-hero__slider-dots {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.gw-hero--full .gw-hero__slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}

.gw-hero--full .gw-hero__slider-dots button.is-active {
  width: 24px;
  background: #fff;
}

/* Legacy hero helpers (unused) */
.gw-hero {
  position: relative;
  overflow: hidden;
}

.gw-hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--gw-primary-light) 0%, var(--gw-bg) 42%, #fff 100%);
  pointer-events: none;
}

.gw-hero__backdrop::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 50%;
  height: 90%;
  background: radial-gradient(ellipse, rgba(13, 27, 76, 0.1) 0%, transparent 68%);
}

.gw-hero__inner {
  position: relative;
  z-index: 1;
}

.gw-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.gw-hero__eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(13, 27, 76, 0.1);
  color: var(--gw-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gw-hero__title {
  font-family: var(--gw-display);
  font-size: clamp(2.1rem, 4.8vw, 3.35rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--gw-ink);
  max-width: 14ch;
}

.gw-hero__desc {
  margin-top: 1.1rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--gw-ink-soft);
  max-width: 42ch;
}

.gw-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.gw-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
  max-width: 480px;
}

.gw-hero__stat {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-sm);
  box-shadow: var(--gw-shadow-sm);
}

.gw-hero__stat strong {
  display: block;
  font-family: var(--gw-display);
  font-size: 1.45rem;
  color: var(--gw-primary);
  line-height: 1.1;
}

.gw-hero__stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--gw-ink-muted);
}

.gw-hero__media {
  position: relative;
}

.gw-hero__media-ring {
  position: absolute;
  inset: -12px -12px 12px 12px;
  border-radius: clamp(22px, 3vw, 30px);
  border: 2px solid rgba(13, 27, 76, 0.15);
  pointer-events: none;
}

.gw-hero__image {
  position: relative;
  border-radius: clamp(20px, 3vw, 28px);
  overflow: hidden;
  box-shadow: var(--gw-shadow);
  aspect-ratio: 4 / 4.5;
}

.gw-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gw-hero__slides {
  position: relative;
  border-radius: clamp(20px, 3vw, 28px);
  overflow: hidden;
  box-shadow: var(--gw-shadow);
  aspect-ratio: 4 / 4.5;
  background: var(--gw-bg-muted);
}

.gw-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}

.gw-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.gw-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gw-hero__slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
}

.gw-hero__slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--gw-bg-muted);
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}

.gw-hero__slider-dots button.is-active {
  width: 24px;
  background: var(--gw-primary);
}

.gw-hero__float-card {
  position: absolute;
  left: -1rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: #fff;
  border-radius: var(--gw-radius-sm);
  box-shadow: var(--gw-shadow);
  border: 1px solid var(--gw-border);
  max-width: 220px;
}

.gw-hero__float-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gw-primary);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.gw-hero__float-card strong {
  display: block;
  font-size: 0.85rem;
  color: var(--gw-ink);
  line-height: 1.3;
}

.gw-hero__float-card span {
  display: block;
  font-size: 0.72rem;
  color: var(--gw-ink-muted);
  margin-top: 0.15rem;
  line-height: 1.35;
}

/* Search band */
.gw-search-band {
  margin-top: -2.5rem;
  padding-bottom: 1rem;
  position: relative;
  z-index: 4;
}

.gw-search-card {
  background: var(--gw-surface);
  border-radius: var(--gw-radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--gw-shadow);
  border: 1px solid var(--gw-border);
}

.gw-search-card__head h2 {
  font-family: var(--gw-display);
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.gw-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.gw-field {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 1rem;
  min-height: 52px;
  background: var(--gw-bg);
  border: 1px solid var(--gw-border);
  border-radius: 999px;
  color: var(--gw-ink-muted);
  font-family: var(--gw-ui);
  font-size: var(--gw-text-sm);
}
.gw-field--grow { flex: 1 1 240px; }
.gw-field--select {
  flex: 0 1 220px;
  min-width: 180px;
}
.gw-field input,
.gw-field select {
  border: none;
  background: transparent;
  font-family: var(--gw-ui);
  font-size: var(--gw-text-sm);
  font-weight: 500;
  color: var(--gw-ink);
  width: 100%;
  outline: none;
}
.gw-field select {
  cursor: pointer;
  appearance: auto;
}
.gw-field select option {
  font-family: var(--gw-ui);
  font-size: var(--gw-text-sm);
  color: var(--gw-ink);
}

.gw-search-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.25rem;
  background: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-sm);
  overflow: hidden;
  box-shadow: var(--gw-shadow-sm);
}

.gw-search-stat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.35rem;
  border-right: 1px solid var(--gw-border);
}

.gw-search-stat:last-child {
  border-right: none;
}

.gw-search-stat__icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gw-primary-light);
  color: var(--gw-primary);
  font-size: 1rem;
  line-height: 1;
  margin: 0;
}

.gw-search-stat__icon i {
  display: block;
  line-height: 1;
}

.gw-search-stat strong {
  display: block;
  font-family: var(--gw-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  color: var(--gw-primary);
  line-height: 1.1;
}

.gw-search-stat > div > span {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--gw-ui);
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--gw-ink-soft);
}

@media (max-width: 768px) {
  .gw-search-stats {
    grid-template-columns: 1fr;
  }

  .gw-search-stat {
    border-right: none;
    border-bottom: 1px solid var(--gw-border);
  }

  .gw-search-stat:last-child {
    border-bottom: none;
  }
}

/* Sections */
.gw-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.gw-section--soft { background: var(--gw-bg-soft); }
.gw-section--muted { background: var(--gw-bg-muted); }
.gw-section--tight { padding: 2.5rem 0; }
.gw-section--dark,
.gw-section--testimonials {
  background: var(--gw-gradient-hero);
  color: #fff;
}
.gw-section--testimonials {
  padding: clamp(2.75rem, 5vw, 4rem) 0;
}
.gw-section--testimonials .gw-section-head {
  margin-bottom: 1.75rem;
}
.gw-section--contact { background: var(--gw-surface); }
.gw-section-cta { text-align: center; margin-top: 2.5rem; }

/* Course grid */
.gw-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gw-course-card {
  background: var(--gw-surface);
  border-radius: var(--gw-radius);
  overflow: hidden;
  border: 1px solid var(--gw-border);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.gw-course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gw-shadow);
}

.gw-course-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--gw-bg-muted) center/cover no-repeat;
}

.gw-course-card__category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255,255,255,0.92);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gw-primary);
}

.gw-course-card__tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.65rem;
  background: var(--gw-accent);
  color: #fff;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.gw-course-card__body {
  padding: 1.25rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gw-course-card__body h3 {
  font-family: var(--gw-display);
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gw-course-card__body h3 a:hover { color: var(--gw-primary); }

.gw-course-card__desc {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--gw-ink-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(0.88rem * 1.5 * 2);
  flex: 1;
}

.gw-course-card__foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--gw-ink-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--gw-border);
  margin-top: auto;
}

.gw-course-card__foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.gw-course-card__foot-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.gw-course-card__tutor {
  font-weight: 600;
  color: var(--gw-ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gw-course-card__students {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
}

.gw-course-card__foot a {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--gw-primary);
  white-space: nowrap;
}

/* Features */
.gw-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.gw-feature-card {
  background: var(--gw-surface);
  border-radius: var(--gw-radius);
  padding: 1.5rem;
  border: 1px solid var(--gw-border);
  box-shadow: var(--gw-shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.gw-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--gw-shadow);
}

.gw-feature-card__icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--gw-gradient-brand);
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.gw-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gw-ink);
}
.gw-feature-card p {
  font-size: 0.9rem;
  color: var(--gw-ink-soft);
}

/* Testimonials — single featured quote carousel */
.gw-quote-slider {
  max-width: 720px;
  margin: 0 auto;
}

.gw-quote-slider__stage {
  position: relative;
  min-height: 0;
}

.gw-quote-card {
  display: none;
  background: #fff;
  color: var(--gw-ink);
  border-radius: var(--gw-radius);
  padding: 1.75rem 2rem 1.5rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  text-align: center;
  animation: gw-quote-in 0.35s ease;
}

.gw-quote-card.is-active { display: block; }

@keyframes gw-quote-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.gw-quote-card__mark {
  font-family: var(--gw-display);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--gw-primary);
  opacity: 0.25;
  margin-bottom: 0.25rem;
}

.gw-quote-card__text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gw-ink-soft);
  margin: 0 0 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gw-quote-card__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gw-border);
}

.gw-quote-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gw-primary-light);
  color: var(--gw-primary);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.gw-quote-card__meta {
  text-align: left;
}

.gw-quote-card__meta strong {
  display: block;
  font-size: 0.92rem;
  color: var(--gw-ink);
}

.gw-quote-card__meta em {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--gw-ink-muted);
  margin-top: 0.1rem;
}

.gw-quote-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.gw-quote-slider__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.gw-quote-slider__btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
}

.gw-quote-slider__dots {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 280px;
}

.gw-quote-slider__dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: 0.2s;
}

.gw-quote-slider__dots button.is-active {
  background: #fff;
  width: 22px;
  border-radius: 999px;
}

.gw-empty--inverse { color: rgba(255, 255, 255, 0.7); }

/* News */
.gw-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gw-news-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gw-border);
}

.gw-news-item__thumb {
  width: 88px; height: 72px;
  border-radius: 10px;
  background: center/cover no-repeat;
}

.gw-news-item time {
  font-size: 0.75rem;
  color: var(--gw-ink-muted);
}

.gw-news-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0.25rem 0;
  line-height: 1.35;
}
.gw-news-item h3 a:hover { color: var(--gw-primary); }

.gw-news-item__cat {
  font-size: 0.78rem;
  color: var(--gw-primary);
  font-weight: 600;
}

/* Professional associations */
.gw-partners {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: #fff;
  border-top: 1px solid var(--gw-border);
  border-bottom: 1px solid var(--gw-border);
}

.gw-partners__head {
  margin-bottom: 2rem;
}

.gw-partners__head h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin: 0.85rem auto 0;
  background: var(--gw-primary);
  border-radius: 2px;
}

.gw-partners__carousel {
  position: relative;
}

.gw-partners__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.35rem;
}

.gw-partners__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gw-border);
  background: var(--gw-bg);
  color: var(--gw-primary);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}

.gw-partners__btn:hover {
  background: var(--gw-primary-light);
  border-color: var(--gw-primary);
}

.gw-partners__dots {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 280px;
}

.gw-partners__dots[hidden] {
  display: none;
}

.gw-partners__dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--gw-bg-muted);
  cursor: pointer;
  transition: width 0.2s, background 0.2s, border-radius 0.2s;
}

.gw-partners__dots button.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--gw-primary);
}

.gw-partners__viewport {
  overflow: hidden;
  width: 100%;
}

.gw-partners__track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: flex-start;
}

.gw-partners__track::-webkit-scrollbar {
  display: none;
}

.gw-partners__item {
  flex: 0 0 20%;
  width: 20%;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: background 0.2s;
  background: #fff;
  box-sizing: border-box;
}

.gw-partners__item:last-child {
  border-right: none;
}

.gw-partners__item:hover {
  background: var(--gw-bg-soft);
}

.gw-partners__item img {
  max-height: 120px;
  max-width: 175px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s;
}

.gw-partners__item:hover img {
  transform: scale(1.04);
}

.gw-partners__fallback {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gw-ink-muted);
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .gw-partners__item {
    flex: 0 0 33.333%;
    width: 33.333%;
  }
}

@media (max-width: 560px) {
  .gw-partners__item {
    flex: 0 0 50%;
    width: 50%;
  }
}

/* Our professionals */
.gw-section--professionals {
  background: var(--gw-bg-soft);
  color: var(--gw-ink);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--gw-border);
  border-bottom: 1px solid var(--gw-border);
}

.gw-eyebrow--light {
  color: var(--gw-primary);
}

.gw-pro-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.gw-professionals__footer {
  max-width: 560px;
  margin: 2.5rem auto 0;
  text-align: center;
}

.gw-professionals__footer p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--gw-ink-soft);
}

.gw-professionals__footer .gw-link-arrow {
  justify-content: center;
  margin-top: 1rem;
}

.gw-pro-card {
  background: #fff;
  border-radius: var(--gw-radius);
  overflow: hidden;
  box-shadow: var(--gw-shadow-sm);
  border: 1px solid var(--gw-border);
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
}

.gw-pro-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--gw-shadow);
}

.gw-pro-card__photo {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gw-primary-light);
}

.gw-pro-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gw-pro-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.gw-pro-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gw-ink);
  margin: 0 0 0.85rem;
}

.gw-pro-card__body h3 a {
  color: var(--gw-ink);
  text-decoration: none;
}

.gw-pro-card__body h3 a:hover {
  color: var(--gw-primary);
}

.gw-pro-card__role {
  margin: 0.25rem 0 0.85rem;
  font-size: 0.8rem;
  color: var(--gw-ink-muted);
}

.gw-pro-card__links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.gw-pro-card__links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gw-primary-light);
  color: var(--gw-primary);
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.gw-pro-card__links a:hover {
  background: var(--gw-primary);
  color: #fff;
}

/* FAQ */
.gw-faq__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.gw-faq__tabs button {
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--gw-border);
  background: var(--gw-surface);
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: 0.2s;
}
.gw-faq__tabs button[aria-selected="true"] {
  background: var(--gw-primary);
  border-color: var(--gw-primary);
  color: #fff;
}

.gw-faq__panel { display: none; }
.gw-faq__panel.is-active { display: block; }

.gw-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gw-faq__item {
  background: var(--gw-surface);
  border: 1px solid var(--gw-border);
  border-radius: var(--gw-radius-sm);
  padding: 0 1.15rem;
}
.gw-faq__item summary {
  padding: 1rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.gw-faq__item summary::-webkit-details-marker { display: none; }
.gw-faq__item p {
  padding-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--gw-ink-soft);
}

/* Categories */
.gw-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.gw-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.5rem 1rem;
  background: var(--gw-surface);
  border-radius: var(--gw-radius);
  border: 1px solid var(--gw-border);
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.gw-category-card:hover {
  transform: translateY(-3px);
  border-color: var(--gw-primary);
}

.gw-category-card__icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gw-accent-soft), #fff);
  color: var(--gw-primary);
  font-size: 1.4rem;
}

.gw-category-card__name {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Contact */
.gw-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.gw-contact-copy h2 {
  font-family: var(--gw-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0.5rem 0 1rem;
}

.gw-contact-copy > p {
  color: var(--gw-ink-soft);
  margin-bottom: 1.5rem;
}

.gw-contact-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.gw-contact-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.gw-contact-list i {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gw-bg);
  color: var(--gw-primary);
  flex-shrink: 0;
}
.gw-contact-list span {
  display: block;
  font-size: 0.92rem;
  color: var(--gw-ink-soft);
}

.gw-contact-map {
  border-radius: var(--gw-radius);
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--gw-border);
}
.gw-contact-map iframe { width: 100%; min-height: 320px; border: 0; }

/* Footer */
.gw-footer {
  background: #fff;
  color: var(--gw-ink-soft);
  padding: 2.5rem 0 0;
  margin-top: 0;
  border-top: 1px solid var(--gw-border);
}

.gw-footer__grid {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 2rem 3rem;
  align-items: start;
}

.gw-footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.gw-footer__logo img {
  height: clamp(54px, 5vw, 64px);
  width: auto;
  min-width: 200px;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

.gw-footer__tagline {
  margin: 0 0 2.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gw-ink-soft);
}

.gw-footer__social {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.gw-footer__social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gw-primary-light);
  color: var(--gw-primary);
  font-size: 0.85rem;
  transition: background 0.2s, transform 0.2s, color 0.2s;
}

.gw-footer__social a:hover {
  background: var(--gw-primary);
  color: #fff;
  transform: translateY(-1px);
}

.gw-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 2rem;
  padding-top: clamp(1.85rem, 3.5vw, 2.35rem);
}

.gw-footer__col-title {
  margin: 0 0 1.1rem;
  font-family: var(--gw-display);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--gw-primary);
  line-height: 1.2;
}

.gw-footer__col-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.gw-footer__col-list a {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.15rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--gw-ink-soft);
  transition: color 0.2s, gap 0.2s;
}

.gw-footer__col-list a::before {
  content: '›';
  flex-shrink: 0;
  margin-top: 0.02rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gw-primary);
  transition: transform 0.2s;
}

.gw-footer__col-list a:hover {
  color: var(--gw-primary);
  gap: 0.6rem;
}

.gw-footer__col-list a:hover::before {
  transform: translateX(2px);
}

.gw-footer__newsletter {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gw-border);
}

.gw-footer__newsletter label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gw-ink);
}

.gw-footer__newsletter-row {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
}

.gw-footer__newsletter input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--gw-border);
  background: var(--gw-bg);
  color: var(--gw-ink);
  font: inherit;
  font-size: 0.82rem;
}

.gw-footer__newsletter input::placeholder {
  color: var(--gw-ink-muted);
}

.gw-footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.5rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--gw-border);
  font-size: 0.88rem;
  color: var(--gw-ink-soft);
}

.gw-footer__legal p {
  margin: 0;
}

.gw-footer__credit a {
  color: var(--gw-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.gw-footer__credit a:hover {
  color: var(--gw-primary-dark);
  text-decoration: underline;
}

.gw-empty {
  text-align: center;
  color: var(--gw-ink-muted);
  padding: 2rem;
}

/* Alert */
.gw-site .my-alert {
  position: fixed;
  z-index: 1100;
  left: 50%;
  transform: translateX(-50%);
  top: calc(var(--gw-header-h) + 12px);
  width: min(520px, 92vw);
  margin: 0;
  border-radius: var(--gw-radius-sm);
  box-shadow: var(--gw-shadow);
}

/* Isolate homepage from legacy theme */
body.gw-homepage {
  background: var(--gw-bg) !important;
}
body.gw-homepage .gw-site h1,
body.gw-homepage .gw-site h2,
body.gw-homepage .gw-site h3 {
  font-family: var(--gw-display);
  text-transform: none;
  letter-spacing: -0.02em;
}
body.gw-homepage .gw-site .btn,
body.gw-homepage .gw-site .genius-btn { display: none; }

/* Responsive */
@media (max-width: 1024px) {
  .gw-contact-grid { grid-template-columns: 1fr; }
  .gw-pro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gw-hero--full .gw-hero__stats { max-width: none; }
  .gw-news-grid { grid-template-columns: 1fr 1fr; }
  .gw-faq__grid { grid-template-columns: 1fr; }
  .gw-footer__grid { grid-template-columns: 1fr; }
  .gw-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 0;
  }
}

@media (min-width: 769px) {
  .gw-header-zone .gw-nav {
    position: absolute;
    left: 50%;
    top: calc(var(--gw-header-h) / 2);
    transform: translate(-50%, -50%);
    width: max-content;
    max-width: calc(100% - 420px);
    z-index: 2;
  }

  .gw-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .gw-header__aside {
    grid-column: 3;
    justify-self: end;
  }
}

@media (max-width: 768px) {
  .gw-header-zone {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1200;
    pointer-events: none;
    overflow: visible;
  }

  body.gw-nav-open .gw-header-zone {
    z-index: 2000;
  }

  .gw-header-zone .gw-site-header,
  .gw-header-zone .gw-header {
    position: relative;
    top: auto;
    pointer-events: auto;
  }

  .gw-site > main {
    padding-top: var(--gw-header-h);
  }

  body.gw-nav-open {
    overflow: hidden;
  }

  body.gw-nav-open::before {
    content: '';
    position: fixed;
    inset: var(--gw-header-h) 0 0 0;
    background: rgba(18, 12, 30, 0.35);
    z-index: 1190;
    pointer-events: auto;
  }

  .gw-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
  }

  .gw-logo {
    flex: 1;
    min-width: 0;
  }

  .gw-header__aside {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
  }

  .gw-user-menu > .gw-user-chip {
    max-width: min(180px, 38vw);
    padding-right: 0.55rem;
  }

  .gw-nav-toggle { display: flex; }

  .gw-nav-toggle {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    border-radius: 10px;
    border: 1px solid var(--gw-border);
    background: var(--gw-surface);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  body.gw-nav-open .gw-nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.gw-nav-open .gw-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.gw-nav-open .gw-nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .gw-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 0;
    max-height: min(70vh, 380px);
    overflow: hidden;
    background: var(--gw-surface);
    border: 1px solid var(--gw-border);
    border-top: none;
    border-radius: 0 0 var(--gw-radius-sm) var(--gw-radius-sm);
    box-shadow: var(--gw-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
    z-index: 3;
  }

  .gw-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .gw-nav__mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--gw-border);
    background: var(--gw-bg-soft);
    flex-shrink: 0;
  }

  .gw-nav__mobile-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gw-ink-muted);
  }

  .gw-nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 999px;
    background: #fff;
    color: var(--gw-ink-soft);
    cursor: pointer;
    box-shadow: var(--gw-shadow-sm);
  }

  .gw-nav__list {
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
    padding: 0.35rem 0;
    -webkit-overflow-scrolling: touch;
  }

  .gw-nav__list > li > a,
  .gw-nav__dropdown > button {
    width: 100%;
    justify-content: space-between;
    border-radius: 0;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  .gw-nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    display: none;
    background: var(--gw-bg-soft);
  }

  .gw-nav__dropdown.is-open .gw-nav__sub { display: block; }

  .gw-nav__actions {
    flex-direction: row;
    align-items: center;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .gw-hero--full {
    min-height: clamp(480px, 70vh, 620px);
    padding-bottom: 5rem;
  }

  .gw-hero__panel {
    max-width: 100%;
  }

  .gw-hero--full .gw-hero__title {
    font-size: clamp(1.9rem, 7vw, 2.65rem);
  }

  .gw-hero--full .gw-hero__desc {
    max-width: 100%;
    font-size: 1rem;
  }

  .gw-hero--full .gw-hero__stats { grid-template-columns: 1fr; max-width: 100%; }
  .gw-partners__track {
    justify-content: flex-start;
  }

  .gw-search-form .gw-btn { width: 100%; }
  .gw-search-form .gw-field--select,
  .gw-search-form .gw-field--grow {
    flex: 1 1 100%;
    min-width: 0;
  }
  .gw-news-grid { grid-template-columns: 1fr; }
  .gw-footer__nav {
    grid-template-columns: 1fr;
    padding-top: 0;
  }
  .gw-footer__legal { flex-direction: column; align-items: flex-start; }
  .gw-footer__newsletter-row { max-width: none; flex-direction: column; }
}

@media (max-width: 480px) {
  .gw-site { --gw-container: calc(100% - 32px); }
  .gw-course-grid { grid-template-columns: 1fr; }
}
