/* Clean, light hero shared by Services, Shop and Free Tools (Events and Training use the same look with a portrait).
   Add class "clean-hero" to the hero section; its first child is the copy, the second is the visual. */

body.photo-hero-page .clean-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: min(100vh, 820px) !important;
  padding: calc(var(--photo-hero-nav-overlap, 86px) + 40px) 0 76px !important;
  color: #071426;
}
body.photo-hero-page .clean-hero::before,
body.photo-hero-page .clean-hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: auto;
  width: 100vw;
  transform: translateX(-50%);
  pointer-events: none;
}
body.photo-hero-page .clean-hero.clean-hero.clean-hero::before {
  z-index: -2;
  background: linear-gradient(180deg, #f8f4ec 0%, #f3ede1 100%) !important;
  opacity: 1 !important;
  filter: none !important;
}
body.photo-hero-page .clean-hero.clean-hero.clean-hero::after {
  z-index: -1;
  background:
    radial-gradient(circle at 80% 42%, rgba(17,135,141,.12), transparent 40%),
    radial-gradient(circle at 12% 92%, rgba(242,96,81,.08), transparent 34%) !important;
}
body.photo-hero-page .clean-hero > * { min-width: 0; max-width: none; }
body.photo-hero-page .clean-hero > div:first-child { position: relative; z-index: 1; text-shadow: none; }

/* headline: dark, with a coral italic serif accent */
body.photo-hero-page .clean-hero h1 {
  max-width: 15ch;
  color: #071426 !important;
  text-shadow: none !important;
}
body.photo-hero-page .clean-hero h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  color: #E4584A;
  letter-spacing: -.01em;
}
body.photo-hero-page .clean-hero p,
body.photo-hero-page .clean-hero .diagnostic-hero-copy {
  max-width: 56ch;
  color: #44546a !important;
  text-shadow: none !important;
}

/* eyebrow as a small white pill */
body.photo-hero-page .clean-hero .diagnostic-kicker {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(7,20,38,.1);
  color: #0b6f74 !important;
  box-shadow: 0 6px 18px rgba(7,20,38,.06);
}
body.photo-hero-page .clean-hero .btn-secondary {
  background: #fff;
  color: #071426;
  border: 1px solid rgba(7,20,38,.16);
}

/* ---------- visuals ---------- */
.clean-hero .hero-visual-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: end;
}
.clean-hero .hero-visual-wrap::before {
  content: "";
  position: absolute;
  right: 4%;
  top: 50%;
  width: min(92%, 440px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(17,135,141,.28), rgba(246,215,63,.32) 70%, rgba(242,96,81,.2));
  z-index: -1;
}

/* Services: the "choose the result" panel becomes a white card */
body.services-page .clean-hero .service-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  justify-self: end;
  border: 1px solid rgba(7,20,38,.08);
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 28px 70px rgba(7,20,38,.16);
  padding: 26px;
}
body.services-page .clean-hero .service-panel > strong { color: #071426; }
body.services-page .clean-hero .service-panel li { color: #44546a; }
body.services-page .clean-hero .service-panel li strong { color: #071426; }
body.services-page .clean-hero .service-panel li span { color: #44546a; }
body.services-page .clean-hero .service-panel i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: 0;
  border-radius: 11px;
  color: #0b6f74;
  background: rgba(17,135,141,.12);
}
body.services-page .clean-hero .service-panel li:nth-child(2) i { color: #a37f00; background: rgba(246,215,63,.3); }
body.services-page .clean-hero .service-panel li:nth-child(3) i { color: #c9473a; background: rgba(242,96,81,.14); }
body.services-page .clean-hero .service-panel ul { gap: 16px; }

/* Free tools: reveal the three-step map as a white card */
body.free-tools-page .clean-hero .diagnostic-map {
  display: block !important;
  width: 100%;
  max-width: 460px;
  justify-self: end;
  position: relative;
  z-index: 1;
  padding: 10px 26px;
  border: 1px solid rgba(7,20,38,.08);
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 28px 70px rgba(7,20,38,.16);
}
body.free-tools-page .clean-hero .diagnostic-map-step strong { color: #071426; }
body.free-tools-page .clean-hero .diagnostic-map-step small { color: #44546a; }
body.free-tools-page .clean-hero .diagnostic-map-step:nth-child(2) > span { background: rgba(246,215,63,.38); }
body.free-tools-page .clean-hero .diagnostic-map-step:nth-child(3) > span { background: rgba(242,96,81,.2); }

/* Shop: three stacked resource cards */
.shop-hero-visual {
  position: relative;
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 440px;
  justify-self: end;
}
.shop-hero-visual .shop-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 4px 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(7,20,38,.08);
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 22px 54px rgba(7,20,38,.14);
}
.shop-hero-visual .shop-card:nth-child(1) { transform: translateX(-18px) rotate(-1.2deg); }
.shop-hero-visual .shop-card:nth-child(2) { transform: translateX(14px) rotate(.8deg); }
.shop-hero-visual .shop-card:nth-child(3) { transform: translateX(-8px) rotate(-.6deg); }
.shop-hero-visual .shop-card i {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  font-size: 1.2rem;
  color: #0b6f74;
  background: rgba(17,135,141,.14);
}
.shop-hero-visual .shop-card:nth-child(2) i { color: #a37f00; background: rgba(246,215,63,.34); }
.shop-hero-visual .shop-card:nth-child(3) i { color: #c9473a; background: rgba(242,96,81,.16); }
.shop-hero-visual .shop-card strong { align-self: end; color: #071426; font-size: 1.05rem; }
.shop-hero-visual .shop-card span { align-self: start; color: #44546a; font-size: .9rem; line-height: 1.4; }

@media (max-width: 980px) {
  body.photo-hero-page .clean-hero {
    grid-template-columns: 1fr;
    min-height: 0 !important;
    padding-bottom: 56px !important;
  }
  body.photo-hero-page .clean-hero h1 { max-width: 18ch; }
  body.services-page .clean-hero .service-panel,
  body.free-tools-page .clean-hero .diagnostic-map,
  .shop-hero-visual { justify-self: stretch; max-width: none; }
  .shop-hero-visual .shop-card:nth-child(n) { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-hero-visual .shop-card { transform: none !important; }
}

/* Kithms Women: same light hero, the stat cards sit on a soft circle */
body.kithms-women-page .clean-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(7,20,38,.1);
  color: #0b6f74 !important;
  box-shadow: 0 6px 18px rgba(7,20,38,.06);
}
body.kithms-women-page .clean-hero .eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: #F26051; }
body.kithms-women-page .clean-hero .hero-copy { max-width: 54ch; }
body.kithms-women-page .clean-hero .kw-reassure,
body.kithms-women-page .clean-hero p.kw-reassure { color: #44546a !important; text-shadow: none !important; }
body.kithms-women-page .clean-hero .kw-reassure i { color: #0b6f74; }
body.kithms-women-page .clean-hero .kw-link { color: #0b6f74 !important; border-bottom-color: rgba(11,111,116,.4) !important; text-shadow: none !important; }
body.kithms-women-page .clean-hero .hero-creds { border-top-color: rgba(7,20,38,.12); }
body.kithms-women-page .clean-hero .cred-badge {
  background: #fff;
  border-color: rgba(7,20,38,.1);
  color: #44546a;
  box-shadow: 0 4px 12px rgba(7,20,38,.05);
}
body.kithms-women-page .clean-hero .hero-panel { position: relative; align-self: center; }
body.kithms-women-page .clean-hero .hero-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -4%;
  top: 50%;
  width: min(105%, 470px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(17,135,141,.26), rgba(246,215,63,.3) 70%, rgba(242,96,81,.18));
}
body.kithms-women-page .clean-hero .hero-panel .stat-card {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(7,20,38,.08);
  box-shadow: 0 20px 48px rgba(7,20,38,.12);
}
body.kithms-women-page .clean-hero .hero-panel .stat-card:nth-child(2) .stat-num { color: #E4584A; }
body.kithms-women-page .clean-hero .eyebrow { background: #fff !important; border-color: rgba(7,20,38,.1) !important; }
body.kithms-women-page.photo-hero-page .clean-hero h1 { max-width: none; }
body.kithms-women-page .clean-hero h1 em { white-space: nowrap; }

/* Kithms Women: portrait on a circle, the stat cards float around it */
body.kithms-women-page .clean-hero .hero-panel::before { display: none; }
body.kithms-women-page .clean-hero .hero-panel .stat-card:not(.featured) .stat-num { color: #E4584A; }
.kw-hero-circle {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 4%;
  width: min(82%, 380px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(17,135,141,.28), rgba(246,215,63,.34) 70%, rgba(242,96,81,.2));
}
.kw-hero-portrait {
  position: relative;
  z-index: 1;
  display: block;
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 380px);
  height: auto;
}
@media (min-width: 981px) {
  body.kithms-women-page.photo-hero-page .clean-hero {
    padding-top: calc(var(--photo-hero-nav-overlap, 86px) + 28px) !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
  }
  body.kithms-women-page .clean-hero .hero-panel {
    --ev-h: clamp(560px, calc(100vh - 114px), 780px);
    --wi: min(106cqw, calc(var(--ev-h) * .927));
    container-type: inline-size;
    display: block;
    position: relative;
    height: var(--ev-h);
    align-self: end;
  }
  .kw-hero-circle { top: auto; bottom: calc(var(--wi) * .1); width: calc(var(--wi) * .8); }
  .kw-hero-portrait { position: absolute; left: 50%; bottom: 0; width: var(--wi); max-width: none; transform: translateX(-50%); }
  body.kithms-women-page .clean-hero .hero-panel .stat-card {
    position: absolute;
    z-index: 2;
    display: grid;
    gap: 2px;
    width: auto;
    max-width: 150px;
    margin: 0;
    padding: 12px 16px;
    text-align: left;
    border-radius: 16px;
  }
  body.kithms-women-page .clean-hero .hero-panel .stat-card .stat-num { font-size: 1.55rem; line-height: 1.1; }
  body.kithms-women-page .clean-hero .hero-panel .stat-card .stat-label { font-size: .8rem; line-height: 1.3; }
  body.kithms-women-page .clean-hero .hero-panel .stat-card.featured {
    left: 0;
    bottom: 7%;
    width: min(236px, 46%);
    max-width: none;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    align-items: center;
  }
  body.kithms-women-page .clean-hero .hero-panel .stat-card.featured .kw-feature-copy { font-size: .78rem; line-height: 1.4; }
  body.kithms-women-page .clean-hero .hero-panel .stat-card.featured .kw-feature-title { font-size: .95rem; }
  body.kithms-women-page .clean-hero .hero-panel > div:nth-of-type(2) { left: 0; top: 12%; }
  body.kithms-women-page .clean-hero .hero-panel > div:nth-of-type(3) { right: 0; top: 18%; }
  body.kithms-women-page .clean-hero .hero-panel > div:nth-of-type(4) { left: 0; top: 33%; }
  body.kithms-women-page .clean-hero .hero-panel > div:nth-of-type(5) { right: 0; bottom: 24%; }
}
@media (max-width: 980px) {
  body.kithms-women-page .clean-hero .hero-panel { position: relative; gap: 12px; }
  body.kithms-women-page .clean-hero .hero-panel .stat-card { position: relative; z-index: 2; }
}
@media (max-width: 980px) {
  body.kithms-women-page .clean-hero .hero-panel {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    margin-top: 8px;
  }
  body.kithms-women-page .clean-hero .hero-panel .stat-card.featured { grid-column: 1 / -1; order: 3; }
  body.kithms-women-page .clean-hero .hero-panel .kw-hero-portrait { order: 1; margin-bottom: -4px; }
  body.kithms-women-page .clean-hero .hero-panel .stat-card:not(.featured) { order: 2; }
}
