/* Design tokens live in ../assets/brand.css, which index.html loads first. */

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--ink);
  color-scheme: dark;
  background: var(--adani-black);
  font-family: var(--font-brand);
  line-height: 1.55;
}
main { width: 100%; min-width: 0; flex: 1 0 auto; }
button, input, select { max-width: 100%; font: inherit; }
img, video { max-width: 100%; }
form, fieldset { min-width: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
.site-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; background: #fff; color: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header { position: relative; z-index: 10; width: 100%; min-width: 0; overflow: hidden; background: var(--adani-black); border-bottom: 1px solid #2b2b2b; }
.navbar { height: 76px; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; overflow: hidden; }
.brand { flex: 0 1 220px; min-width: 0; height: 76px; display: flex; align-items: center; text-decoration: none; line-height: 1; overflow: hidden; }
.brand img { display: block; width: min(100%, 210px); height: auto; max-height: 76px; object-fit: contain; }
.header-label { flex: none; color: var(--muted-reverse); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }

.section-kicker { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.registration-section { width: 100%; padding: clamp(20px, 4vw, 38px) 0 clamp(32px, 6vw, 54px); }
.registration-layout { display: block; width: min(940px, calc(100% - 40px)); max-width: none; }
.success-panel .section-kicker { color: var(--pink); }

.form-card { width: 100%; min-width: 0; padding: clamp(18px, 3.5vw, 30px); overflow: hidden; background: var(--adani-black); border: 1px solid #2b2b2b; border-radius: 10px; box-shadow: 0 18px 48px rgba(0, 0, 0, .28); }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 0 34px; padding: 0; list-style: none; }
.stepper li { min-width: 0; position: relative; display: grid; justify-items: center; gap: 7px; color: #858585; font-size: 11px; font-weight: 600; text-align: center; }
.stepper small { width: 100%; overflow-wrap: anywhere; line-height: 1.25; }
.stepper li:not(:last-child)::after { content: ""; position: absolute; z-index: 0; left: calc(50% + 22px); right: calc(-50% + 22px); top: 17px; height: 2px; background: var(--line); }
.stepper span { position: relative; z-index: 1; display: grid; place-items: center; width: 35px; height: 35px; border: 2px solid var(--line); border-radius: 50%; background: var(--adani-black); }
.stepper li.active, .stepper li.done { color: var(--navy); }
.stepper li.active span { color: #000; background: #fff; border-color: #fff; box-shadow: 0 6px 18px rgba(255,255,255,.12); }
.stepper li.done span { color: #fff; background: #444; border-color: var(--adani-grey); }
.stepper li.done:not(:last-child)::after { background: var(--blue); }
.page-title { margin: 0 0 22px; text-align: center; font-size: clamp(21px, 3.4vw, 29px); line-height: 1.25; letter-spacing: -.02em; overflow-wrap: anywhere; }
.stage-heading { margin-bottom: 24px; }
.stage-heading.split { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.stage-heading p { margin: 0 0 2px; color: #bdbdbd; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.stage-heading h2 { margin: 0; color: var(--navy); font-size: clamp(20px, 4vw, 25px); line-height: 1.25; letter-spacing: -.02em; overflow-wrap: anywhere; }
.form-stage { display: none; }
.form-stage.show { display: block; animation: stage-in .28s ease both; }
@keyframes stage-in { from { opacity: 0; transform: translateY(8px); } }
.fields { display: grid; gap: 18px; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { width: 100%; min-width: 0; }
.field label { display: block; margin-bottom: 7px; color: #d8d8d8; font-size: 13px; font-weight: 600; }
.field label b { color: #fff; }
input, select { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 11px 13px; color: #f5f5f5; background: #181818; border: 1px solid #444; border-radius: 5px; outline: none; transition: border-color .18s, box-shadow .18s; }
select option { color: #f5f5f5; background: #181818; }
input::placeholder { color: var(--adani-grey); }
input:focus, select:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.1); }
input:user-invalid, select:user-invalid { border-color: var(--danger); }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; }
.form-actions.end { justify-content: flex-end; }
.button { min-width: 118px; min-height: 47px; padding: 11px 24px; white-space: normal; line-height: 1.35; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-weight: 600; overflow-wrap: anywhere; transition: transform .18s, box-shadow .18s, background .18s; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible { outline: 3px solid rgba(255,255,255,.24); outline-offset: 2px; }
.button.primary { color: #000; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.button.primary:hover { background: var(--line); }
.button.primary:disabled { opacity: .6; cursor: wait; transform: none; }
.button.secondary { color: #fff; background: transparent; border-color: #555; }
.button.secondary:hover { background: #1e1e1e; border-color: var(--adani-grey); }
.member-card { width: 100%; min-inline-size: 0; margin: 0; padding: clamp(14px, 3vw, 20px); border: 1px solid #333; border-radius: 7px; background: #151515; }
.member-card + .member-card { margin-top: 18px; }
.member-card legend { padding: 0 8px; color: var(--navy); font-size: 14px; font-weight: 700; }
.compact-row { margin: 22px 0; }
.people-count { flex: none; padding: 8px 12px; color: #fff; background: var(--adani-black); border: 1px solid #383838; border-radius: 99px; font-size: 12px; }
.people-count strong { margin-left: 5px; color: #fff; font-size: 18px; }
.experience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.experience-option { min-width: 0; overflow: hidden; position: relative; border: 2px solid #333; border-radius: 8px; background: #151515; cursor: pointer; overflow-wrap: anywhere; transition: border-color .18s, transform .18s, box-shadow .18s; }
.experience-option:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(11,40,80,.1); }
.experience-option.selected { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.experience-option input { position: absolute; opacity: 0; pointer-events: none; }
.experience-option img, .experience-option video { display: block; width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; background: var(--adani-black); }
.experience-copy { display: block; padding: 17px; }
.experience-copy h3 { margin: 0; color: var(--navy); font-size: 17px; }
.experience-copy p { margin: 7px 0 0; color: #aaa; font-size: 12px; }
.experience-copy ul { margin: 10px 0 0; padding-left: 18px; color: var(--line); font-size: 12px; }
.experience-duration { display: inline-block; margin-top: 12px; padding: 5px 9px; color: #fff; background: #292929; border-radius: 99px; font-size: 11px; font-weight: 700; }
.loading { grid-column: 1 / -1; color: var(--muted); text-align: center; }
.selection-summary { max-width: 100%; margin-bottom: 20px; padding: 13px 15px; overflow-wrap: anywhere; color: #fff; background: #1d1d1d; border-left: 4px solid #fff; border-radius: 4px; font-size: 13px; font-weight: 600; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; color: var(--line); font-size: 13px; cursor: pointer; }
.consent input { flex: none; width: 18px; min-height: 18px; height: 18px; margin-top: 2px; accent-color: var(--pink); }
.helper { margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.form-alert { margin-bottom: 22px; padding: 12px 14px; color: #ffd4d4; background: #351919; border: 1px solid #713030; border-radius: 5px; font-size: 13px; }

.success-icon { display: grid; place-items: center; width: 55px; height: 55px; margin: 0 auto 16px; color: #000; background: #fff; border-radius: 50%; font-size: 24px; }

.success-panel { padding: 12px 6px; text-align: center; }
.success-icon { background: var(--success); font-weight: 700; }
.success-panel h2 { margin: 0; color: var(--navy); font-size: 30px; }
.success-panel > p:not(.section-kicker):not(.whatsapp-status) { color: var(--muted); }
.booking-code { display: inline-block; max-width: 100%; margin: 10px 0 24px; padding: 11px 18px; overflow-wrap: anywhere; color: #fff; background: #1d1d1d; border: 1px dashed var(--adani-grey); border-radius: 5px; font-size: clamp(17px, 5vw, 22px); letter-spacing: .06em; }
.success-qr { margin: 0 0 24px; }
.success-qr #successQr { display: flex; justify-content: center; }
.success-qr #successQr img, .success-qr #successQr canvas { display: block; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-input); }
.success-qr p { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.success-details { width: min(520px, 100%); margin: 0 auto 22px; text-align: left; border-top: 1px solid var(--line); }
.success-details div { display: grid; grid-template-columns: 145px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.success-details dt { color: var(--muted); font-size: 12px; }
.success-details dd { margin: 0; color: var(--navy); font-size: 13px; font-weight: 600; }
.whatsapp-status { width: min(520px, 100%); margin: 0 auto 22px; padding: 11px 13px; color: #b9f6d5; background: #173127; border-radius: 5px; font-size: 12px; }
.whatsapp-status.warning { color: #ffe0a3; background: #332915; }

.site-footer { color: var(--muted-reverse); background: var(--adani-black); border-top: 1px solid #2b2b2b; }
.footer-simple { min-height: 58px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 11px; }

@media (max-width: 900px) {
  .registration-layout { width: min(100% - 30px, 940px); }
}

@media (max-width: 760px) {
  .site-shell { width: min(100% - 24px, 1180px); }
  .registration-layout { width: min(100% - 24px, 940px); }
  .navbar { height: 66px; min-height: 66px; }
  .brand { flex-basis: 190px; height: 66px; }
  .brand img { width: min(100%, 182px); max-height: 66px; }
  .header-label { font-size: 12px; }
  .registration-section { padding-block: 24px 40px; }
  .form-card { padding: 20px 18px; }
  .two-col, .experience-grid { grid-template-columns: 1fr; }
  .stage-heading.split { align-items: flex-start; }
  .people-count { white-space: nowrap; }
  .experience-option img, .experience-option video { aspect-ratio: 16 / 7.5; }
}

@media (max-width: 520px) {
  .site-shell, .registration-layout { width: min(100% - 16px, 940px); }
  .navbar { height: 60px; min-height: 60px; gap: 12px; }
  .brand { flex-basis: 170px; height: 60px; }
  .brand img { width: min(100%, 164px); max-height: 60px; }
  .header-label { font-size: 11px; }
  .registration-section { padding-block: 14px 28px; }
  .form-card { padding: 18px 12px; border-radius: 8px; box-shadow: 0 8px 24px rgba(15,42,80,.06); }
  .stepper { margin-bottom: 26px; }
  .stepper small { font-size: 9px; }
  .stepper li:not(:last-child)::after { left: calc(50% + 18px); right: calc(-50% + 18px); top: 15px; }
  .stepper span { width: 31px; height: 31px; }
  .stage-heading { margin-bottom: 20px; }
  .stage-heading.split { display: grid; gap: 10px; }
  .people-count { justify-self: start; }
  .fields { gap: 15px; }
  .member-card legend { font-size: 13px; }
  .form-actions, .form-actions.end { flex-direction: column; align-items: stretch; }
  .form-actions .button { width: 100%; min-width: 0; padding-inline: 12px; }
  .success-details div { grid-template-columns: 1fr; gap: 3px; }
  .footer-simple { min-height: 52px; padding-block: 12px; }
}

@media (max-width: 360px) {
  .site-shell, .registration-layout { width: min(100% - 10px, 940px); }
  .header-label { display: none; }
  .form-card { padding-inline: 10px; }
  .stepper small { font-size: 8px; }
  .stepper li:not(:last-child)::after { left: calc(50% + 15px); right: calc(-50% + 15px); top: 13px; }
  .stepper span { width: 27px; height: 27px; font-size: 11px; }
  input, select { min-height: 46px; padding-inline: 10px; font-size: 14px; }
}

/* Official-site treatment: black page shell with a white form surface.
   Tokens come from ../assets/brand.css. */

body { color: var(--ink); background: var(--soft); }
.site-header { background: var(--shell); border-bottom-color: #1f1f1f; }
.site-shell.navbar { width: min(1440px, calc(100% - 40px)); }
.header-label { color: var(--muted-reverse); }

.form-card {
  --form-pad-y: 30px;
  --form-pad-x: 30px;
  padding: var(--form-pad-y) var(--form-pad-x);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--adani-black);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.stepper {
  margin: calc(var(--form-pad-y) * -1) calc(var(--form-pad-x) * -1) 30px;
  padding: 22px var(--form-pad-x) 20px;
  background: var(--strip);
  border-bottom: 1px solid var(--adani-black);
}
.stepper li { color: #9A9799; }
.stepper li:not(:last-child)::after { background: #4A4547; }
.stepper span { color: #B5B2B3; background: var(--adani-black); border-color: #4A4547; }
.stepper li.active, .stepper li.done { color: var(--adani-white); }
.stepper li.active span {
  color: #fff;
  background: var(--accent);
  border-color: transparent;
  box-shadow: var(--accent-shadow);
}
.stepper li.done span { color: var(--adani-white); background: #4A4547; border-color: #6A6467; }
.stepper li.done:not(:last-child)::after { background: var(--adani-grey); }

.stage-heading p { color: var(--adani-grey); }
/* p.96: the Adani brand colour is the assigned colour for headlines and
   section headers. Body copy stays black. */
.stage-heading h2,
.member-card legend,
.experience-copy h3,
.success-panel h2,
.page-title { color: var(--adani-purple); }
.field label { color: var(--adani-black); }
.field label b { color: var(--req); }
input,
select {
  color: var(--adani-black);
  background: #fff;
  border-color: var(--line);
}
select option { color: var(--adani-black); background: #fff; }
input::placeholder { color: var(--adani-grey); }
input:focus,
select:focus { border-color: var(--adani-black); box-shadow: 0 0 0 3px rgba(0, 0, 0, .08); }
input:user-invalid,
select:user-invalid { border-color: var(--danger); }

.button.primary { color: #fff; background: var(--accent); box-shadow: none; }
.button.primary:hover { color: #fff; background: var(--accent-strong); }
.button.secondary { color: var(--adani-black); background: #fff; border-color: var(--adani-grey); }
.button.secondary:hover { color: var(--adani-black); background: #F0EFEF; border-color: var(--adani-black); }
.button:focus-visible { outline-color: rgba(142, 39, 143, .45); }

.member-card { background: #fafafa; border-color: #d9d9d9; }
.people-count { color: var(--adani-black); background: #f1f1f1; border-color: var(--line); }
.people-count strong { color: var(--adani-black); }
.experience-option { color: var(--adani-black); background: #fff; border-color: #d8d8d8; }
.experience-option:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .1); }
.experience-option.selected { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(142, 39, 143, .15); }
.experience-option img,
.experience-option video { background: #eee; }
.experience-copy p { color: var(--adani-grey); }
.experience-copy ul { color: #444; }
.experience-duration { color: var(--adani-black); background: #eee; }
.loading,
.helper { color: var(--adani-grey); }
.selection-summary { color: var(--adani-black); background: var(--accent-soft); border-left-color: var(--accent); }
.consent { color: #444; }
.consent input { accent-color: var(--accent); }
.form-alert { color: var(--danger); background: var(--danger-soft); border-color: var(--danger); }

.success-icon { color: #fff; background: var(--success); }
.booking-code { color: var(--adani-black); background: #f4f4f4; border-color: var(--adani-grey); }
.success-details dt { color: var(--adani-grey); }
.success-details dd { color: var(--adani-black); }
.whatsapp-status { color: var(--success); background: var(--success-soft); }
.whatsapp-status.warning { color: var(--warning); background: var(--warning-soft); }
.site-footer { color: var(--muted-reverse); background: var(--shell); border-top-color: #1f1f1f; }

@media (max-width: 760px) {
  .site-shell.navbar { width: min(100% - 24px, 1440px); }
  .form-card { --form-pad-y: 22px; --form-pad-x: 18px; }
  .stepper { padding-top: 18px; padding-bottom: 17px; }
}

@media (max-width: 520px) {
  .site-shell.navbar { width: min(100% - 18px, 1440px); }
  .form-card { --form-pad-y: 18px; --form-pad-x: 12px; border-radius: 7px; }
  .stepper { margin-bottom: 24px; padding-top: 16px; padding-bottom: 15px; }
}

@media (max-width: 360px) {
  .site-shell.navbar { width: min(100% - 12px, 1440px); }
  .form-card { --form-pad-x: 10px; }
}
