/* =====================================================================
   NBEAC TDW - Public website
   ===================================================================== */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../../vendor/inter/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../../vendor/inter/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../../vendor/inter/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../../vendor/inter/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy-950: #0a1a2f;
  --navy-900: #0f2440;
  --navy-800: #14304f;
  --navy-700: #1b3d63;
  --navy-600: #24507f;
  --navy-50: #eef3f9;
  --gold-600: #a67a4b;
  --gold-500: #c49a6c;
  --gold-100: #f5ebdf;
  --gold-50: #fbf6f0;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #7b8aa0;
  --line: #e5e9f0;
  --line-2: #d6dce5;
  --bg: #f6f8fb;
  --white: #ffffff;
  --ok: #15803d;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 2px 6px -2px rgba(16, 24, 40, .08), 0 8px 24px -8px rgba(16, 24, 40, .10);
  --shadow-lg: 0 24px 48px -16px rgba(15, 36, 64, .28);

  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--bg);
  --bs-primary: #14304f;
  --bs-primary-rgb: 20, 48, 79;
  --bs-link-color: #1f5fa6;
  --bs-link-hover-color: #14304f;
  --bs-border-color: var(--line);
  --bs-border-radius: .6rem;
}
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; font-size: 15px; }
a { text-decoration: none; }
h1, h2, h3, h4, h5 { color: var(--ink); letter-spacing: -.02em; font-weight: 700; }
.text-muted { color: var(--ink-2) !important; }
.text-subtle { color: var(--ink-3) !important; }
.tabular { font-variant-numeric: tabular-nums; }
::selection { background: rgba(196, 154, 108, .35); }

/* Buttons */
.btn { --bs-btn-font-weight: 600; --bs-btn-padding-y: .62rem; --bs-btn-padding-x: 1.1rem; --bs-btn-border-radius: .6rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; }
.btn-lg { --bs-btn-padding-y: .82rem; --bs-btn-padding-x: 1.4rem; --bs-btn-font-size: 1rem; }
.btn-sm { --bs-btn-padding-y: .38rem; --bs-btn-padding-x: .75rem; --bs-btn-font-size: .85rem; }
.btn-primary { --bs-btn-bg: var(--navy-800); --bs-btn-border-color: var(--navy-800); --bs-btn-hover-bg: var(--navy-700); --bs-btn-hover-border-color: var(--navy-700); --bs-btn-active-bg: var(--navy-900); --bs-btn-active-border-color: var(--navy-900); --bs-btn-disabled-bg: #8193a8; --bs-btn-disabled-border-color: #8193a8; box-shadow: 0 1px 2px rgba(15, 36, 64, .2); }
.btn-gold { --bs-btn-color: #1e1407; --bs-btn-bg: var(--gold-500); --bs-btn-border-color: var(--gold-500); --bs-btn-hover-color: #1e1407; --bs-btn-hover-bg: #d4ac80; --bs-btn-hover-border-color: #d4ac80; --bs-btn-active-bg: #b88a58; --bs-btn-active-color: #1e1407; }
.btn-light { --bs-btn-color: var(--ink); --bs-btn-bg: #fff; --bs-btn-border-color: var(--line-2); --bs-btn-hover-bg: #f8fafc; --bs-btn-hover-border-color: var(--line-2); --bs-btn-active-bg: #f1f5f9; box-shadow: var(--shadow-sm); }
.btn-glass { --bs-btn-color: #fff; --bs-btn-bg: rgba(255, 255, 255, .08); --bs-btn-border-color: rgba(255, 255, 255, .22); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: rgba(255, 255, 255, .16); --bs-btn-hover-border-color: rgba(255, 255, 255, .3); --bs-btn-active-bg: rgba(255, 255, 255, .2); --bs-btn-active-color: #fff; backdrop-filter: blur(6px); }

/* Forms */
.form-label { font-weight: 600; font-size: .86rem; margin-bottom: .4rem; color: var(--ink); }
.form-control, .form-select { border-color: var(--line-2); border-radius: .6rem; padding: .66rem .85rem; font-size: .95rem; box-shadow: var(--shadow-sm); background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: #5b8cc4; box-shadow: 0 0 0 4px rgba(36, 80, 127, .14); }
.form-control::placeholder { color: #9aa7b8; }
.form-text { color: var(--ink-3); font-size: .8rem; }
.required::after { content: " *"; color: #dc2626; }
.form-check-input:checked { background-color: var(--navy-800); border-color: var(--navy-800); }
.invalid-feedback { font-size: .82rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(170%) blur(12px); -webkit-backdrop-filter: saturate(170%) blur(12px); border-bottom: 1px solid rgba(229, 233, 240, .8); }
.site-header .inner { height: 72px; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--ink); }
.brand img { height: 42px; width: auto; }
.brand .b1 { font-weight: 800; letter-spacing: .04em; font-size: 1.02rem; line-height: 1; color: var(--navy-800); }
.brand .b2 { font-size: .74rem; color: var(--ink-2); line-height: 1.25; margin-top: .2rem; }
.site-nav { display: flex; gap: .25rem; margin-left: auto; }
.site-nav a { color: var(--ink-2); font-weight: 500; font-size: .92rem; padding: .5rem .8rem; border-radius: .5rem; }
.site-nav a:hover { color: var(--ink); background: #f1f5f9; }
/* Hamburger menu on small screens: the links fold into a panel under the header */
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: .6rem;
  background: #fff; color: var(--navy-800); font-size: 1.45rem; line-height: 1; align-items: center; justify-content: center; }
.nav-toggle:hover { background: #f1f5f9; }
.nav-toggle:focus-visible { outline: 3px solid rgba(196, 154, 108, .5); outline-offset: 2px; }
@media (max-width: 991.98px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; }
  .site-header.nav-open .site-nav { display: flex; flex-direction: column; gap: .15rem; position: absolute; top: 100%; left: 0; right: 0;
    margin: 0; padding: .6rem 1rem 1rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .site-header.nav-open .site-nav a { font-size: 1rem; padding: .8rem .9rem; }
}

/* Hero */
/* Hero - light overlay on a photo (Admin > Settings > Display > Homepage Background Image) */
.hero { position: relative; overflow: hidden; color: var(--ink); background-color: #eef2f7; background-image: linear-gradient(90deg, rgba(248, 250, 253, .97) 0%, rgba(248, 250, 253, .93) 42%, rgba(248, 250, 253, .72) 68%, rgba(248, 250, 253, .45) 100%), var(--hero-img, none); background-size: cover; background-position: center 35%; border-bottom: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--navy-800), var(--gold-500)); }
.hero .container { position: relative; z-index: 1; padding-top: 4.5rem; padding-bottom: 5rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .85rem; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .02em; background: rgba(255, 255, 255, .85); color: var(--navy-800); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); }
.eyebrow.is-closed .dot { background: #dc2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, .16); }
.hero h1 { text-wrap: balance; color: var(--navy-900); font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.08; margin: 1.1rem 0 1rem; letter-spacing: -.03em; }
.hero h1 .accent { background: linear-gradient(90deg, #a67a4b, #c49a6c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--ink-2); font-size: 1.1rem; max-width: 560px; line-height: 1.65; }
.btn-outline-navy { --bs-btn-color: var(--navy-800); --bs-btn-bg: rgba(255, 255, 255, .8); --bs-btn-border-color: var(--navy-800); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--navy-800); --bs-btn-hover-border-color: var(--navy-800); --bs-btn-active-bg: var(--navy-900); --bs-btn-active-color: #fff; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.2rem; }
.hero-facts .n { font-size: 1.6rem; font-weight: 700; color: var(--navy-800); line-height: 1; }
.hero-facts .l { font-size: .8rem; color: var(--ink-2); margin-top: .35rem; }
.hero-card { background: rgba(255, 255, 255, .9); border: 1px solid rgba(214, 220, 229, .9); border-radius: 18px; padding: 1.4rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); }
.hero-card .label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-600); font-weight: 700; }
.hero-card .title { color: var(--ink); font-weight: 600; font-size: 1.02rem; line-height: 1.35; }
.hero-card .row-item { display: flex; gap: .8rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.hero-card .row-item:first-of-type { border-top: 0; }
.hero-card .date-chip { width: 50px; flex-shrink: 0; text-align: center; border-radius: 10px; background: var(--navy-50); padding: .35rem 0; }
.hero-card .date-chip .m { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-600); font-weight: 700; }
.hero-card .date-chip .d { font-size: 1.15rem; font-weight: 700; color: var(--navy-800); line-height: 1.1; }
.hero-card .meta { font-size: .8rem; color: var(--ink-2); }
@media (max-width: 991.98px) { .hero { background-image: linear-gradient(rgba(248, 250, 253, .94), rgba(248, 250, 253, .9)), var(--hero-img, none); } }

/* Sections */
.section { padding: 4.5rem 0; }
.section-head { max-width: 680px; margin-bottom: 2.2rem; }
.section-kicker { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-600); margin-bottom: .6rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .6rem; }
.section-head p { color: var(--ink-2); font-size: 1.02rem; }

/* Program cards */
.program { position: relative; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .2s, transform .2s; cursor: pointer; }
.program:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--line-2); }
.program.is-selected { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(196, 154, 108, .25), var(--shadow); }
.program.is-disabled { cursor: not-allowed; opacity: .72; }
.program.is-disabled:hover { transform: none; box-shadow: var(--shadow-sm); }
.program input.program-check { position: absolute; opacity: 0; pointer-events: none; }
.program .top { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .65rem; border-radius: 999px; font-size: .74rem; font-weight: 600; }
.chip-online { background: #e8f1fb; color: #1f5fa6; }
.chip-inperson { background: var(--gold-50); color: #8a5f33; border: 1px solid var(--gold-100); }
.chip-free { background: #e7f7ee; color: var(--ok); }
.chip-full { background: #fdecec; color: #b91c1c; }
.program h3 { font-size: 1.06rem; line-height: 1.4; font-weight: 650; margin-bottom: .75rem; letter-spacing: -.01em; }
.program .facts { list-style: none; padding: 0; margin: 0 0 1rem; color: var(--ink-2); font-size: .88rem; }
.program .facts li { display: flex; gap: .5rem; padding: .18rem 0; }
.program .facts .bi { color: var(--ink-3); margin-top: .15rem; }
.program .desc { color: var(--ink-2); font-size: .88rem; margin-bottom: 1rem; }
.program .bottom { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line-2); }
.program .price { font-size: 1.3rem; font-weight: 750; color: var(--ink); line-height: 1; }
.program .price small { font-size: .74rem; color: var(--ink-3); font-weight: 500; display: block; margin-top: .3rem; }
.select-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: .85rem; color: var(--ink); background: #fff; transition: all .15s; white-space: nowrap; }
.program:hover .select-pill { border-color: var(--navy-600); }
.program.is-selected .select-pill { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.select-pill .when-on { display: none; }
.program.is-selected .select-pill .when-on { display: inline; }
.program.is-selected .select-pill .when-off { display: none; }

/* Wizard: Step 1 (programs) and Step 2 (form) one at a time. Only with JavaScript (html.js), so without it
   both stay visible and the form still works. */
html.js .wizard-step.is-hidden { display: none; }
html.no-js .wizard-back, html.no-js .program-continue { display: none; }
.wizard-back { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--navy-700); text-decoration: none; margin-bottom: .9rem; }
.wizard-back:hover { text-decoration: underline; }

/* "N programs selected · total [Continue]": follows the visitor while they scroll the program cards, then rests under them */
.program-continue { position: sticky; bottom: 1rem; z-index: 20; display: flex; justify-content: flex-end; margin-top: 1.25rem; pointer-events: none; }
.program-continue[hidden] { display: none; }
.program-continue-inner { pointer-events: auto; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: flex-end;
  background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: .45rem .5rem .45rem 1.15rem; box-shadow: var(--shadow-lg);
  animation: progContIn .2s ease-out; }
.program-continue-info { font-size: .9rem; color: var(--ink-2); white-space: nowrap; }
.program-continue-info strong { color: var(--ink); }
.program-continue-total { color: var(--ink-3); }
.program-continue .btn { border-radius: 999px; padding: .55rem 1.1rem; font-weight: 600; white-space: nowrap; }
@keyframes progContIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 575.98px) {
  .program-continue-inner { width: 100%; border-radius: 14px; padding: .6rem .75rem; justify-content: space-between; }
  .program-continue .btn { flex: 1 1 auto; }
}.seats { font-size: .78rem; color: var(--ink-3); margin-top: .75rem; }
.seats .bar { height: 5px; border-radius: 99px; background: #edf1f6; overflow: hidden; margin-top: .35rem; }
.seats .bar span { display: block; height: 100%; background: var(--navy-600); border-radius: 99px; }
.seats.low .bar span { background: #d97706; }
.seats.low { color: #b45309; font-weight: 600; }

/* Register panel */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.panel-head { padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--line); }
.panel-body { padding: 1.6rem; }
@media (max-width: 575.98px) { .panel-head, .panel-body { padding: 1.15rem; } }

.stepper { display: flex; gap: .5rem; counter-reset: step; }
.stepper .st { flex: 1; display: flex; align-items: center; gap: .6rem; font-size: .84rem; font-weight: 600; color: var(--ink-3); }
.stepper .st .num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #eef1f5; color: var(--ink-3); font-size: .8rem; flex-shrink: 0; }
.stepper .st.active { color: var(--ink); }
.stepper .st.active .num { background: var(--navy-800); color: #fff; box-shadow: 0 0 0 4px rgba(20, 48, 79, .12); }
.stepper .st.done .num { background: #16a34a; color: #fff; }
.stepper .st .line { flex: 1; height: 2px; background: #eef1f5; border-radius: 2px; }
.stepper .st.done .line { background: #bbf7d0; }
@media (max-width: 575.98px) { .stepper .st .txt { display: none; } .stepper .st.active .txt { display: inline; } }

.step-pane[hidden] { display: none !important; }
.js .step-pane { animation: fadeUp .25s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.choice { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s; height: 100%; }
.choice:hover { border-color: #9fb3ca; }
.choice input { margin-top: .2rem; }
.choice.is-on { border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(36, 80, 127, .12); background: #fbfdff; }
.choice .t { font-weight: 650; }
.choice .s { color: var(--ink-2); font-size: .85rem; }

.summary { background: var(--navy-900); color: #dbe5f1; border-radius: 16px; padding: 1.35rem; position: relative; overflow: hidden; }
.summary::after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 154, 108, .35), transparent 70%); pointer-events: none; }
.summary h3 { color: #fff; font-size: 1rem; }
.summary .item { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.summary .item .nm { color: #fff; }
.summary .tot { display: flex; justify-content: space-between; align-items: baseline; margin-top: .9rem; }
.summary .tot .v { font-size: 1.5rem; font-weight: 750; color: #fff; }
.summary .empty-sum { color: #9fb2c9; font-size: .88rem; padding: .6rem 0; }
.sticky-sum { position: sticky; top: 92px; }

.bank { border: 1px dashed var(--gold-500); background: var(--gold-50); border-radius: 12px; padding: 1.1rem 1.2rem; }
.bank dl { display: grid; grid-template-columns: 130px 1fr; gap: .4rem .8rem; margin: 0; font-size: .9rem; }
.bank dt { color: #8a5f33; font-weight: 500; }
.bank dd { margin: 0; font-weight: 600; word-break: break-word; }
@media (max-width: 575.98px) { .bank dl { grid-template-columns: 1fr; } .bank dd { margin-bottom: .4rem; } }

.dropzone { border: 2px dashed var(--line-2); border-radius: 12px; padding: 1.6rem; text-align: center; background: #fafbfd; cursor: pointer; transition: all .15s; position: relative; }
.dropzone:hover, .dropzone.drag { border-color: var(--navy-600); background: var(--navy-50); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .bi { font-size: 1.8rem; color: var(--navy-600); }
.dropzone.has-file { border-style: solid; border-color: #16a34a; background: #f0fdf4; }

.review-list { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.review-list .r { display: grid; grid-template-columns: 170px 1fr; gap: 1rem; padding: .7rem 1rem; border-top: 1px solid var(--line); font-size: .92rem; }
.review-list .r:first-child { border-top: 0; }
.review-list .r .k { color: var(--ink-3); }
@media (max-width: 575.98px) { .review-list .r { grid-template-columns: 1fr; gap: .1rem; } }

.alert { border-radius: 12px; }
.alert-soft-danger { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-soft-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-soft-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.alert-soft-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

/* How it works */
.how { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-step { padding: 1.4rem; border-radius: var(--radius); border: 1px solid var(--line); height: 100%; background: linear-gradient(180deg, #fff, #fbfcfe); }
.how-step .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; background: var(--navy-50); color: var(--navy-700); margin-bottom: 1rem; }
.how-step h3 { font-size: 1.02rem; }
.how-step p { color: var(--ink-2); font-size: .9rem; margin: 0; }
.how-step .n { font-size: .74rem; font-weight: 700; color: var(--gold-600); letter-spacing: .1em; }

.faq .accordion-item { border: 1px solid var(--line); border-radius: 12px !important; overflow: hidden; margin-bottom: .75rem; background: #fff; }
.faq .accordion-button { font-weight: 600; padding: 1.05rem 1.2rem; background: #fff; color: var(--ink); box-shadow: none; }
.faq .accordion-button:not(.collapsed) { background: #fff; color: var(--navy-800); }
.faq .accordion-body { color: var(--ink-2); padding-top: 0; }

/* Footer */
.site-footer { background: var(--navy-950); color: #9fb2c9; padding: 3.5rem 0 1.5rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.site-footer a { color: #c9d6e6; }
.site-footer a:hover { color: #fff; }
.site-footer .fine { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 2.5rem; padding-top: 1.3rem; font-size: .82rem; }

/* Status page */
.status-hero { background: linear-gradient(160deg, #0f2440 0%, #0a1a2f 100%); color: #fff; padding: 3rem 0 6rem; position: relative; overflow: hidden; }
.status-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(196, 154, 108, .3), transparent 60%); }
.status-hero .container { position: relative; }
.status-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; }
.status-icon.ok { background: rgba(34, 197, 94, .18); color: #4ade80; }
.status-icon.wait { background: rgba(245, 158, 11, .18); color: #fbbf24; }
.status-icon.bad { background: rgba(239, 68, 68, .18); color: #f87171; }
.lift { margin-top: -4.5rem; position: relative; }
.progress-track { display: flex; gap: 0; }
.progress-track .pt { flex: 1; text-align: center; position: relative; font-size: .82rem; color: var(--ink-3); font-weight: 600; }
.progress-track .pt .c { width: 34px; height: 34px; border-radius: 50%; margin: 0 auto .5rem; display: grid; place-items: center; background: #eef1f5; color: var(--ink-3); position: relative; z-index: 1; }
.progress-track .pt::before { content: ""; position: absolute; top: 17px; left: -50%; right: 50%; height: 3px; background: #eef1f5; }
.progress-track .pt:first-child::before { display: none; }
.progress-track .pt.done .c { background: #16a34a; color: #fff; }
.progress-track .pt.done::before, .progress-track .pt.current::before { background: #86efac; }
.progress-track .pt.current .c { background: var(--navy-800); color: #fff; box-shadow: 0 0 0 5px rgba(20, 48, 79, .12); }
.progress-track .pt.bad .c { background: #dc2626; color: #fff; }
.progress-track .pt.done, .progress-track .pt.current { color: var(--ink); }

.honey { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: #fff; }
}

/* ===== v2.1 additions ===== */
/* Early bird */
.chip-eb { background: #fff7e6; color: #9a5b00; border: 1px solid #f7d9a3; }
.eb-mini { display: inline-block; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #9a5b00; background: #fff7e6; border-radius: 4px; padding: 0 .35rem; margin-left: .2rem; }
.program .price .was { display: block; font-size: .82rem; font-weight: 500; color: var(--ink-3); text-decoration: line-through; margin-bottom: .2rem; }
.program .price small.eb-until { color: #9a5b00; font-weight: 600; }

/* Email verification */
.email-group .verified-badge { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; font-weight: 600; font-size: .86rem; gap: .35rem; }
.email-group.is-verified .form-control { border-color: #86efac; background: #fbfffc; }
.otp-box { margin-top: .75rem; padding: .9rem 1rem; border: 1px solid var(--line-2); border-radius: 12px; background: #fafbfd; }
.otp-input { width: 150px; text-align: center; font-family: ui-monospace, Consolas, monospace; font-size: 1.25rem; letter-spacing: .45em; font-weight: 700; }

/* Phone (intl-tel-input) */
.iti { width: 100%; display: block; }
.iti .form-control { padding-left: 92px !important; }
.iti--separate-dial-code .iti__selected-flag { background: #f5f7fa; border-radius: .6rem 0 0 .6rem; border-right: 1px solid var(--line-2); }
.iti__country-list { border-radius: 10px; box-shadow: var(--shadow-lg); border-color: var(--line-2); font-size: .9rem; max-width: 340px; }
.iti.is-invalid .form-control, .form-control.is-invalid { border-color: #dc2626; }
.iti.is-valid .form-control, .form-control.is-valid { border-color: #16a34a; }
/* Live validation message under a field (also shown for the phone and searchable fields) */
.invalid-feedback.js-fb { font-size: .85rem; }

/* Searchable, creatable fields (Tom Select) */
.ts-wrapper.ts-creatable .ts-control { border: 0 !important; border-radius: .6rem; padding: .62rem .85rem; font-size: .95rem; box-shadow: none !important; min-height: 42px; background: transparent; }

.ts-wrapper.ts-creatable.form-control.is-invalid { border-color: #dc2626; }
.ts-wrapper.ts-creatable.form-control.is-valid { border-color: #16a34a; }
.ts-dropdown { border-radius: 10px; box-shadow: var(--shadow-lg); border-color: var(--line-2); font-size: .92rem; }
.ts-dropdown .create { color: var(--navy-700); }
.ts-dropdown .no-results { padding: .6rem .8rem; color: var(--ink-3); }
.ts-dropdown .active { background: var(--navy-50); color: var(--ink); }

/* Payment methods */
.method-grid .choice { align-items: center; height: 100%; }
.method-grid .choice .t { font-size: .95rem; }
.summary .sum-type { margin-top: .6rem; font-size: .78rem; color: #9fb2c9; }
.terms-box { background: #f8fafc; border: 1px solid var(--line); max-height: 180px; overflow: auto; font-size: .86rem; color: var(--ink-2); }

/* Dialog (replaces alert/confirm) */
.tdw-dialog .modal-content { border: 0; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(15, 36, 64, .45); overflow: hidden; }
.tdw-dialog .modal-body { padding: 1.8rem 1.8rem .6rem; text-align: center; }
.tdw-dialog .dlg-ic { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; font-size: 1.6rem; background: var(--navy-50); color: var(--navy-700); }
.tdw-dialog.tone-warning .dlg-ic { background: #fff7e6; color: #b45309; }
.tdw-dialog.tone-danger .dlg-ic { background: #fef2f2; color: #b91c1c; }
.tdw-dialog.tone-success .dlg-ic { background: #f0fdf4; color: #15803d; }
.tdw-dialog .dlg-title { font-size: 1.2rem; margin-bottom: .5rem; }
.tdw-dialog .dlg-msg { color: var(--ink-2); font-size: .95rem; white-space: pre-line; }
.tdw-dialog .modal-footer { border: 0; justify-content: center; gap: .5rem; padding: 1rem 1.8rem 1.6rem; }
.tdw-dialog .modal-footer > .btn { margin: 0; min-width: 140px; }
.tdw-notice { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--navy-900); color: #fff; padding: .7rem 1.1rem; border-radius: 10px; font-size: .88rem; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 2000; max-width: calc(100% - 32px); text-align: center; }
.tdw-notice.show { opacity: 1; transform: translate(-50%, 0); }

/* Form protection: no text selection outside form fields */
body[data-protect] #regForm, body[data-protect] .hero { -webkit-user-select: none; user-select: none; }
body[data-protect] #regForm input, body[data-protect] #regForm textarea, body[data-protect] #regForm .ts-control { -webkit-user-select: text; user-select: text; }

/* Maintenance */
.maint { padding: 5rem 0 6rem; background: radial-gradient(700px 360px at 50% 0%, rgba(196, 154, 108, .18), transparent 70%); }
.maint-card { max-width: 640px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 3rem 2rem; box-shadow: var(--shadow); }
.maint-ic { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1.4rem; display: grid; place-items: center; font-size: 2rem; background: var(--gold-50); color: var(--gold-600); border: 1px solid var(--gold-100); }
.maint h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: .8rem; }
.maint .lead { color: var(--ink-2); font-size: 1.05rem; }
.maint-until { display: inline-flex; gap: .5rem; align-items: center; margin-top: .6rem; padding: .45rem .9rem; border-radius: 999px; background: var(--navy-50); color: var(--navy-800); font-size: .9rem; }
.maint-timer { margin: 1.6rem auto 0; padding: 1.3rem 1rem 1.1rem; border-radius: 16px; background: var(--navy-50); max-width: 480px; }
.maint-timer-label { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-700); margin-bottom: .7rem; }
.maint-timer-digits { display: flex; justify-content: center; gap: .6rem; }
.maint-timer-digits > div { min-width: 82px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .6rem .4rem .5rem; box-shadow: var(--shadow-sm); }
.maint-timer-digits span { display: block; font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.maint-timer-digits small { display: block; font-size: .72rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-top: .2rem; }
.maint-timer-at { margin-top: .9rem; font-size: .88rem; color: var(--ink-2); }
@media (max-width: 480px) { .maint-timer-digits > div { min-width: 64px; } .maint-timer-digits span { font-size: 1.5rem; } }
.maint-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; margin-top: 1.8rem; font-size: .92rem; }
.maint-banner { background: #fff7e6; border-bottom: 1px solid #f7d9a3; color: #7c4a03; font-size: .86rem; padding: .5rem 0; }
.maint-banner a { color: #7c4a03; text-decoration: underline; font-weight: 600; }

/* Footer credit */
.footer-credit .sep { opacity: .45; margin: 0 .35rem; }
.ts-wrapper.required::after { content: none; }
.ts-wrapper.ts-creatable.form-control { padding: 0; min-height: 44px; border-color: var(--line-2); border-radius: .6rem; box-shadow: var(--shadow-sm); }
.ts-wrapper.ts-creatable.form-control.focus { border-color: #5b8cc4; box-shadow: 0 0 0 4px rgba(36, 80, 127, .14); }
.ts-wrapper.single .ts-control::after { display: none; }
.ts-wrapper.single .ts-control { background-image: none; padding-right: .85rem; }
