/* GuitarBajaao Online: indigo and marigold. One stylesheet for the booking page, the confirmation page and the admin page. */
:root {
  --bg: #F3F4F9; --surface: #FFFFFF; --surface-2: #E9EBF5; --ink: #151935; --ink-2: #454A6B; --muted: #686D8E; --line: #D8DBEA;
  --indigo: #252D78; --indigo-soft: #E3E6F7; --marigold: #F0A01A; --marigold-ink: #8A5600; --marigold-soft: #FDF0D8; --on-marigold: #1C1405;
  --btn: #252D78; --btn-ink: #FFFFFF; --btn-hover: #323B95;
  --hero-bg: #1E2566; --hero-ink: #F3F4FB; --hero-muted: #BAC0E8; --hero-line: rgba(255,255,255,.16);
  --ok: #1C7A4B; --ok-bg: #E1F2E8; --warn: #8F5B00; --warn-bg: #FCEDD2; --bad: #B3342D; --bad-bg: #FADFDC;
  --scrim: rgba(12,14,34,.55);
  --shadow: 0 1px 2px rgba(21,25,53,.06), 0 10px 28px rgba(21,25,53,.08);
  --f-display: "Bricolage Grotesque", "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --f-deva: "Yatra One", "Mukta", "Noto Sans Devanagari", serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D0F20; --surface: #151830; --surface-2: #1D2140; --ink: #ECEEF8; --ink-2: #C3C7E2; --muted: #9397B8; --line: #2A2F52;
    --indigo: #A3ACF5; --indigo-soft: #232859; --marigold: #F5B03A; --marigold-ink: #F5B03A; --marigold-soft: #33270F;
    --btn: #F5B03A; --btn-ink: #1C1405; --btn-hover: #F8C062;
    --hero-bg: #161B4D; --hero-ink: #F3F4FB; --hero-muted: #AEB4E0; --hero-line: rgba(255,255,255,.12);
    --ok: #5FCB91; --ok-bg: #132C1F; --warn: #F0B550; --warn-bg: #33250D; --bad: #F2837A; --bad-bg: #3A1817;
    --scrim: rgba(0,0,0,.6); --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 28px rgba(0,0,0,.28);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--indigo); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--f-mono); }
.num { font-variant-numeric: tabular-nums; }
.sub { font-size: 14px; color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); margin-top: 12px; }
.empty { color: var(--muted); font-size: 15px; }
.ic { display: inline-block; flex: none; vertical-align: -2px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; background: var(--btn); color: var(--btn-ink); font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--btn-hover); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.marigold { background: var(--marigold); color: var(--on-marigold); }
.btn.marigold:hover { filter: brightness(1.06); }
.btn.hero-ghost { background: transparent; color: var(--hero-ink); border-color: var(--hero-line); }
.btn.hero-ghost:hover { background: rgba(255,255,255,.08); }
.btn.danger { background: var(--bad-bg); color: var(--bad); border-color: var(--bad); }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 14px; border-radius: 8px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.busy { opacity: .7; cursor: progress; }
.linkish { background: none; border: 0; padding: 0; color: var(--indigo); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.x { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 20px; line-height: 1; display: grid; place-items: center; flex: none; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 60; background: var(--surface); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.topbar .wrap { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 19px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand .mark { width: 30px; height: 30px; border-radius: 8px; background: var(--marigold); display: grid; place-items: center; color: var(--on-marigold); }
.brand .tag { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; background: var(--marigold-soft); color: var(--marigold-ink); padding: 2px 7px; border-radius: 5px; }

/* Hero */
.hero { background: var(--hero-bg); color: var(--hero-ink); position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 48px; align-items: center; padding-block: 52px 96px; }
.hero .eyebrow { color: var(--hero-muted); }
.lockup { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .2em; margin: 14px 0 16px; }
.lockup .lat { font-family: var(--f-display); font-weight: 800; font-size: clamp(50px, 8.5vw, 104px); letter-spacing: -.035em; line-height: .95; }
.lockup .dev { font-family: var(--f-deva); color: var(--marigold); font-size: clamp(58px, 10vw, 124px); line-height: 1; }
.hero h1 { font-size: clamp(23px, 2.8vw, 32px); font-weight: 600; max-width: 26ch; }
.hero .lede { color: var(--hero-muted); font-size: 18px; max-width: 54ch; margin-top: 14px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--hero-line); }
.facts div { display: flex; flex-direction: column; }
.facts b { font-family: var(--f-display); font-size: 22px; font-weight: 700; }
.facts span { font-size: 13px; color: var(--hero-muted); }
.strings { position: absolute; left: 0; right: 0; bottom: 18px; height: 70px; display: flex; flex-direction: column; justify-content: space-between; opacity: .22; pointer-events: none; }
.strings i { display: block; background: var(--hero-ink); }
.strings i:nth-child(1) { height: 1px; } .strings i:nth-child(2) { height: 1.2px; } .strings i:nth-child(3) { height: 1.5px; }
.strings i:nth-child(4) { height: 1.8px; } .strings i:nth-child(5) { height: 2.1px; } .strings i:nth-child(6) { height: 2.5px; }
.chord-card { background: var(--surface); color: var(--ink); border-radius: 16px; padding: 22px; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.chord-card h2 { font-size: 24px; margin-top: 4px; }
.chord-row { display: flex; gap: 10px; justify-content: center; align-items: center; margin: 14px 0 12px; }
.chord { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.chord svg { width: 104px; height: auto; }
.chord b { font-family: var(--f-display); font-size: 22px; }
.swap { font-family: var(--f-mono); color: var(--muted); font-size: 22px; }
.strum-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
.strum { display: flex; gap: 5px; }
.strum span { font-family: var(--f-mono); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--surface-2); font-size: 15px; }
.strum span.up { background: var(--indigo-soft); color: var(--indigo); }
.bpm { font-family: var(--f-mono); font-size: 13px; color: var(--ink-2); }
.chord-card .cap { font-size: 14px; color: var(--ink-2); margin-top: 12px; }
.cg-nut { fill: var(--ink); } .cg-fret { stroke: var(--line); stroke-width: 1.5; } .cg-str { stroke: var(--ink-2); }
.cg-dot { fill: var(--indigo); } .cg-open { fill: none; stroke: var(--ink-2); stroke-width: 1.4; } .cg-x { fill: var(--muted); font-family: var(--f-mono); font-size: 12px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; gap: 32px; padding-block: 40px 92px; } }

/* Sections */
.section .wrap { padding-block: 68px; }
.section.alt { background: var(--surface); }
.section-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 30px; max-width: 660px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.section-head p { color: var(--ink-2); font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding-top: 56px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; background: var(--indigo); color: var(--surface); }
.steps li::after { content: ""; position: absolute; top: 20px; left: 52px; right: -12px; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps .when { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--marigold-ink); }
.steps h3 { font-size: 20px; margin: 4px 0 6px; }
.steps p { color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); } .steps li::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.fees { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.6fr); gap: 24px; align-items: start; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.price { font-family: var(--f-display); font-weight: 800; font-size: 56px; letter-spacing: -.02em; line-height: 1; margin-top: 6px; }
.price small { font-size: 18px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.ticks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { color: var(--ok); margin-top: 4px; }
.offer { border-radius: 10px; padding: 12px 14px; font-size: 14px; background: var(--marigold-soft); color: var(--ink); }
.offer b { color: var(--marigold-ink); }
.batch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.batch { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.batch .bname { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.batch h3 { font-size: 20px; }
.batch .days { font-family: var(--f-mono); font-size: 13px; color: var(--ink-2); }
.batch .time { font-size: 21px; font-family: var(--f-display); font-weight: 700; }
.batch .time small { font-family: var(--f-mono); font-size: 12px; color: var(--muted); font-weight: 500; }
.batch .btn { margin-top: 6px; }
.batch.skeleton { min-height: 220px; background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }
.meter { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--indigo); border-radius: 3px; }
.seats { font-size: 14px; color: var(--ink-2); }
.notice { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 16px; }
.teacher { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: center; }
.teacher.solo { grid-template-columns: minmax(0, 720px); }
.video-frame { aspect-ratio: 16/9; max-width: 100%; width: 100%; border: 0; border-radius: 16px; background: var(--surface-2); }
.quote { font-family: var(--f-display); font-size: 23px; font-weight: 600; line-height: 1.3; margin: 16px 0; }
.teacher p + p { margin-top: 10px; }
@media (max-width: 860px) { .fees, .teacher { grid-template-columns: 1fr; } }
.reviews { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.review { background: var(--bg); border-radius: 14px; padding: 18px; }
.review p { font-size: 16px; }
.review cite { display: block; margin-top: 10px; font-style: normal; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.faq { display: grid; gap: 10px; max-width: 780px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 15px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-bottom: 16px; color: var(--ink-2); }
.cta-band { background: var(--indigo); color: var(--surface); }
.cta-band .wrap { padding-block: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { font-size: clamp(24px, 3.4vw, 34px); }
.cta-band p { opacity: .85; margin-top: 4px; }
.foot .wrap { padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; color: var(--muted); }

/* Pills, banners */
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; padding: 2px 9px 2px 7px; border-radius: 999px; white-space: nowrap; line-height: 1.6; }
.pill.ok { background: var(--ok-bg); color: var(--ok); } .pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); } .pill.neutral { background: var(--surface-2); color: var(--ink-2); }
.banner { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; }
.banner > div { flex: 1; min-width: 220px; }
.banner.warn { background: var(--warn-bg); } .banner.bad { background: var(--bad-bg); } .banner.ok { background: var(--ok-bg); }
.banner p { font-size: 15px; color: var(--ink-2); }

/* Forms and dialogs */
.fld { display: grid; gap: 5px; font-size: 14px; font-weight: 600; }
.fld input, .fld select, .fld textarea { font-weight: 400; width: 100%; }
input[type=text], input[type=search], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=date], input[type=time], select, textarea {
  font-size: 16px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; min-height: 44px; max-width: 100%;
}
textarea { min-height: 76px; width: 100%; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--indigo); outline: none; box-shadow: 0 0 0 3px var(--indigo-soft); }
[aria-invalid="true"] { border-color: var(--bad) !important; }
.err { color: var(--bad); font-size: 13px; font-weight: 500; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.agree input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--indigo); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.scrim { position: fixed; inset: 0; background: var(--scrim); z-index: 80; display: flex; align-items: center; justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal { background: var(--surface); color: var(--ink); border-radius: 16px; width: min(520px, 100%); max-height: 100%; overflow: auto; padding: 22px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.modal-head h2 { font-size: 24px; margin-top: 2px; }
.summary { display: grid; gap: 6px; margin: 0; font-size: 15px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.summary dt { color: var(--muted); } .summary dd { margin: 0; font-weight: 600; text-align: right; }
.form-error { background: var(--bad-bg); color: var(--ink); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 500; z-index: 100; max-width: calc(100% - 32px); box-shadow: var(--shadow); }

/* Panels used by the confirmation and admin pages */
.app .wrap { padding-block: 26px 64px; }
.app-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.app-head h1 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; margin-top: 2px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; min-width: 0; }
.panel h2 { font-size: 18px; font-weight: 700; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 8px 12px; margin-bottom: 14px; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 18px; align-items: start; }
.stack { display: grid; gap: 18px; min-width: 0; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
