/* ==========================================================================
   SHRM India 2026 event page — booking-first layout
   Hero (pitch + event pass | booking form) → offers → demo flow →
   audience/proof → closing CTA. Shared components come from styles.css.
   ========================================================================== */

.shrm-hero .aurora i:nth-child(1) { --c: #5b8cff; --o: 0.3; left: 50%; top: -24%; }
.shrm-hero .aurora i:nth-child(2) { --c: #e879f9; --o: 0.14; left: 80%; top: 30%; }
.shrm-hero .aurora i:nth-child(3) { --c: #8b5cf6; --o: 0.2; left: -10%; top: 30%; }

.shrm-hero-grid {
  align-items: start;
}

@media (min-width: 1000px) {
  .shrm-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  }

  .shrm-form-col {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

.shrm-hero .pill .dot {
  margin-left: 2px;
}

.shrm-inline {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-3);
  text-underline-offset: 3px;
}

.shrm-inline:hover {
  text-decoration-color: var(--text);
}

.shrm-label {
  display: block;
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.req {
  color: #f0abfc;
}

.opt {
  color: var(--text-4);
}

/* Event pass ---------------------------------------------------------------- */
.shrm-pass {
  width: 100%;
  margin-top: 0.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: var(--panel);
  overflow: hidden;
}

.shrm-pass-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.shrm-pass-logo {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
}

.shrm-pass-logo img {
  width: 100%;
  height: auto;
}

.shrm-chip {
  justify-self: start;
  padding: 7px 12px;
  border-radius: 999px;
  background: #0b1464;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shrm-pass-body {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 18px 20px;
}

.shrm-count {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.shrm-count div {
  padding: 8px 2px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  text-align: center;
}

.shrm-count b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.shrm-count span {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shrm-facts {
  display: grid;
  gap: 8px;
}

.shrm-facts div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.shrm-facts dt {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shrm-facts dd {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.4;
}

.shrm-booth {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 16px 20px;
  border-top: 1px solid var(--line-2);
  background: linear-gradient(100deg, rgba(91, 140, 255, 0.16), rgba(139, 92, 246, 0.12) 50%, rgba(232, 121, 249, 0.14));
}

.shrm-booth .icon-box {
  color: #f0abfc;
}

.shrm-booth-text {
  display: grid;
  gap: 2px;
  flex: 1 1 200px;
  min-width: 0;
}

.shrm-booth strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.shrm-booth small {
  color: var(--text-2);
  font-size: 0.82rem;
}

/* Jump links: fill the space under the pass and signal there is more below */
.shrm-jump {
  display: grid;
  gap: 10px;
  width: 100%;
}

.shrm-jump ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.shrm-jump a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.shrm-jump a:hover,
.shrm-jump a:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 65%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, var(--panel));
  transform: translateY(-2px);
}

.shrm-jump-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.shrm-jump strong {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
}

.shrm-jump small {
  color: var(--text-3);
  font-size: 0.76rem;
  line-height: 1.3;
}

.shrm-jump svg {
  width: 16px;
  height: 16px;
  color: var(--accent-text);
  animation: shrm-nudge 1.8s ease-in-out infinite;
}

@keyframes shrm-nudge {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}

@media (prefers-reduced-motion: reduce) {
  .shrm-jump svg {
    animation: none;
  }
}

/* Booking form ------------------------------------------------------------- */
.shrm-form-card {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.shrm-form-head {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.shrm-form-head p {
  color: var(--text-3);
  font-size: 0.92rem;
}

.kicker--warn {
  color: var(--amber);
}

.shrm-form-card .field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.4rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.shrm-form-card .field textarea {
  min-height: 84px;
}

.shrm-form-card .invalid {
  border-color: var(--bad) !important;
}

.shrm-group {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.shrm-group legend {
  margin-bottom: 8px;
  padding: 0;
}

.shrm-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shrm-choices--stack {
  grid-template-columns: minmax(0, 1fr);
}

.shrm-choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.shrm-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.shrm-choice span {
  display: grid;
  gap: 2px;
  padding: 11px 12px 11px 42px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(5, 6, 11, 0.6);
  color: var(--text);
  font-size: 0.93rem;
  line-height: 1.35;
  transition: border-color 0.2s, background 0.2s;
}

.shrm-choice span small {
  color: var(--text-3);
  font-size: 0.78rem;
}

.shrm-choice span::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 14px;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1.5px solid var(--line-3);
  background: var(--panel);
}

.shrm-choice input[type="radio"] + span::before {
  border-radius: 50%;
}

.shrm-choice:hover span {
  border-color: var(--line-3);
}

.shrm-choice input:checked + span {
  border-color: var(--violet);
  background: rgba(139, 92, 246, 0.12);
}

.shrm-choice input:checked + span::before {
  border-color: transparent;
  background: var(--grad);
  box-shadow: inset 0 0 0 3px var(--panel);
}

.shrm-choice input:focus-visible + span {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

.group-invalid .shrm-choice span {
  border-color: var(--bad);
}

.shrm-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: var(--text-3);
  font-size: 0.82rem;
  line-height: 1.45;
  cursor: pointer;
}

.shrm-consent input {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--violet);
}

.shrm-form-card .form-submit:disabled {
  opacity: 0.7;
  cursor: progress;
}

.shrm-reassure {
  margin-top: 12px;
  color: var(--text-3);
  font-size: 0.8rem;
  text-align: center;
}

.shrm-reassure a {
  color: var(--text-2);
}

.shrm-done {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: 10px 0;
}

.shrm-done[hidden],
.shrm-form-head[hidden],
#shrm-form[hidden] {
  display: none;
}

.shrm-done:focus {
  outline: 0;
}

.shrm-done p {
  color: var(--text-2);
}

.shrm-done .dialog-icon {
  margin: 0;
}

/* Ticker ------------------------------------------------------------------- */
.shrm-ticker {
  padding-block: 16px;
  border-block: 1px solid var(--line);
  background: var(--panel);
}

.shrm-ticker .marquee-track li {
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.shrm-ticker .marquee-track li::before {
  content: "◆";
  margin-right: 14px;
  color: var(--violet);
  font-size: 0.6rem;
  vertical-align: 2px;
}

/* Offers ------------------------------------------------------------------- */
.shrm-offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.shrm-offer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: var(--panel);
}

.shrm-offer .shrm-label {
  color: var(--accent-text);
}

.shrm-offer.c-green .shrm-label { color: var(--mint); }
.shrm-offer.c-orange .shrm-label { color: var(--amber); }
.shrm-offer.c-pink .shrm-label { color: #f0abfc; }

.shrm-offer > p {
  color: var(--text-2);
  font-size: 0.95rem;
}

.shrm-offer .checklist {
  font-size: 0.92rem;
}

.shrm-offer--feature {
  border-color: transparent;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.16), rgba(139, 92, 246, 0.02) 60%), var(--panel);
}

.shrm-offer .tag {
  align-self: flex-start;
}

.shrm-offer-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.82rem;
}

/* Demo flow ---------------------------------------------------------------- */
.shrm-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: var(--panel);
  overflow: hidden;
}

.shrm-flow li {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
}

.shrm-flow li:last-child {
  border-right: 0;
}

.shrm-flow p {
  color: var(--text-2);
  font-size: 0.92rem;
}

.shrm-min {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.shrm-golive {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel-2);
}

.shrm-golive strong {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  font-weight: 600;
}

/* Audience + proof --------------------------------------------------------- */
.shrm-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.shrm-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: var(--panel);
}

.shrm-aud div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.shrm-aud dt {
  font-family: var(--font-display);
  font-weight: 600;
}

.shrm-aud dd {
  margin: 0;
  color: var(--text-2);
  font-size: 0.92rem;
}

.shrm-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 4px;
}

.shrm-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shrm-stat p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 0.92rem;
}

.shrm-fine {
  color: var(--text-3);
  font-size: 0.8rem;
}

/* Closing CTA -------------------------------------------------------------- */
.shrm-cta-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
}

.shrm-disclaimer {
  max-width: 80ch;
  margin: 28px auto 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--amber);
  background: var(--panel);
  color: var(--text-2);
  font-size: 0.85rem;
  line-height: 1.55;
}

.shrm-disclaimer strong {
  color: var(--amber);
  font-weight: 600;
}

.shrm-disclaimer a {
  color: var(--text);
  text-decoration: underline;
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1000px) {
  .shrm-offers,
  .shrm-split {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Stacked layout puts the form next; keep the hero short */
  .shrm-jump {
    display: none;
  }

  .shrm-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shrm-flow li:nth-child(2) {
    border-right: 0;
  }

  .shrm-flow li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .shrm-pass-top,
  .shrm-flow,
  .shrm-choices {
    grid-template-columns: minmax(0, 1fr);
  }

  .shrm-facts {
    display: none;
  }

  .shrm-flow li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .shrm-flow li:last-child {
    border-bottom: 0;
  }

  .shrm-aud div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}
