/* Minerva Research: layout and feel after the Panto landing page (white sections, light grey band,
   orange accent, dark navy buttons, rounded cards). */
:root {
  --ink: #1e2532;
  --navy: #1e2532;
  --text: #4b5361;
  --muted: #8a909b;
  --orange: #e58411;
  --orange-dark: #c96f06;
  --grey: #f7f7f7;
  --line: #ececec;
  --card: #ffffff;
  --bg: #ffffff;
  --radius: 20px;
  --shadow: 0 20px 50px rgba(30, 37, 50, 0.10);
  --wrap: 1200px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin: 0 auto; }
.eyebrow { color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 12px; }
.more { display: inline-flex; align-items: center; gap: 10px; color: var(--orange); font-weight: 600; font-size: 14px; text-decoration: none; }
.more::after { content: ''; width: 28px; height: 1.5px; background: currentColor; position: relative; transition: width .2s; }
.more:hover::after { width: 40px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px 26px; font: 600 15px/1 inherit; font-family: inherit; cursor: pointer; text-decoration: none; transition: background .2s, transform .1s, color .2s; }
.btn:active { transform: translateY(1px); }
.btn.orange { background: var(--orange); color: #fff; }
.btn.orange:hover { background: var(--orange-dark); }
.btn.navy { background: var(--navy); color: #fff; }
.btn.navy:hover { background: #333c4d; }
.btn.ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn.ghost:hover { background: rgba(255,255,255,.22); }
.btn.line { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.line:hover { border-color: var(--ink); }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: default; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* Nav */
.nav { position: absolute; inset: 0 0 auto; z-index: 10; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; text-decoration: none; color: #fff; letter-spacing: -.01em; }
.logo svg { width: 28px; height: 28px; }
.nav ul { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: #fff; text-decoration: none; font-size: 15px; opacity: .9; }
.nav ul a:hover { opacity: 1; }
.nav .track-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 8px 16px; }
.nav.light { position: static; border-bottom: 1px solid var(--line); background: #fff; }
.nav.light .logo, .nav.light ul a, .nav.light .track-link { color: var(--ink); }
.nav.light .track-link { border-color: var(--line); }
.menu-btn { display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: 760px; display: flex; align-items: center; color: #fff; text-align: center; overflow: hidden;
  background: #151a23 url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?auto=format&fit=crop&w=2000&q=70') center/cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,18,26,.78) 0%, rgba(14,18,26,.55) 55%, rgba(14,18,26,.82) 100%); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff); }
.hero .wrap { position: relative; z-index: 1; padding: 120px 0 140px; }
.hero h1 { color: #fff; font-size: clamp(36px, 5.4vw, 64px); max-width: 860px; margin: 0 auto; line-height: 1.12; }
.hero p.lede { max-width: 560px; margin: 22px auto 34px; font-size: 18px; opacity: .88; }
.codebar { display: flex; align-items: center; gap: 8px; max-width: 460px; margin: 0 auto; padding: 6px 6px 6px 22px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(10px); }
.codebar input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; font: 500 16px inherit; font-family: inherit; letter-spacing: .04em; text-transform: uppercase; }
.codebar input::placeholder { color: rgba(255,255,255,.7); text-transform: none; letter-spacing: 0; }
.codebar button { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: var(--orange); color: #fff; display: grid; place-items: center; cursor: pointer; }
.codebar button:hover { background: var(--orange-dark); }
.codebar.light { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.codebar.light input { color: var(--ink); }
.codebar.light input::placeholder { color: var(--muted); }
.hero .hint { font-size: 13px; opacity: .7; margin-top: 12px; }
.hero .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero .badges { display: flex; gap: 10px; justify-content: center; margin-top: 46px; flex-wrap: wrap; }
.hero .badges span { font-size: 13px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }

/* Why */
.why { padding: 110px 0; }
.why .wrap { display: grid; grid-template-columns: 1fr 3fr; gap: 60px; align-items: center; }
.why h2 { font-size: 40px; }
.why .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.why h3 { font-size: 20px; margin-bottom: 14px; }
.why p { margin: 0 0 20px; font-size: 15px; }

/* Services band */
.band { background: var(--grey); padding: 90px 0; }
.center { text-align: center; }
.band h2, .section-title { font-size: 40px; }
.tabs { display: inline-flex; gap: 4px; background: #ececec; padding: 5px; border-radius: 999px; margin: 26px 0 50px; flex-wrap: wrap; justify-content: center; }
.tabs button { border: 0; background: transparent; padding: 9px 20px; border-radius: 999px; font: 500 14px inherit; font-family: inherit; color: var(--text); cursor: pointer; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.carousel { position: relative; }
.track-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 20px; }
.track-row::-webkit-scrollbar { display: none; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; display: flex; flex-direction: column; box-shadow: 0 2px 0 rgba(0,0,0,.02); transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.svc .art { background: #f2f2f2; height: 190px; display: grid; place-items: center; color: var(--ink); }
.svc .art svg { width: 76px; height: 76px; }
.svc .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.svc .cat { color: var(--muted); font-size: 13px; }
.svc h3 { font-size: 18px; margin: 2px 0 8px; }
.svc p { font-size: 14px; margin: 0 0 16px; line-height: 1.55; }
.svc .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.price { font-weight: 700; color: var(--ink); font-size: 20px; }
.price small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.price sup { font-size: 12px; }
.plus { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; text-decoration: none; border: 0; cursor: pointer; flex: none; }
.plus:hover { background: var(--orange); }
.arrow { position: absolute; top: 42%; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.08); display: grid; place-items: center; cursor: pointer; color: var(--ink); z-index: 2; }
.arrow.prev { left: -23px; } .arrow.next { right: -23px; }
.arrow:hover { background: var(--orange); color: #fff; }
.band .note { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* Feature blocks */
.feature { padding: 120px 0 60px; }
.feature .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature h2 { font-size: 40px; margin-bottom: 20px; }
.feature p { margin: 0 0 22px; }
.photo-stack { position: relative; }
.photo-stack::before { content: ''; position: absolute; left: -10%; top: -40px; width: 70%; height: 80%; background: var(--grey); border-radius: var(--radius); z-index: -1; }
.photo-stack::after { content: ''; position: absolute; right: -40px; top: 40px; width: 30%; height: 70%; background: var(--grey); border-radius: var(--radius); z-index: -1; }
.photo-stack img { border-radius: var(--radius); box-shadow: 0 40px 60px -20px rgba(30,37,50,.35); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; }
.steps li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.steps b { width: 38px; height: 38px; border-radius: 50%; background: #fdf1e3; color: var(--orange); display: grid; place-items: center; font-size: 15px; }
.steps strong { color: var(--ink); display: block; }
.steps span { font-size: 15px; }
.collage { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: center; position: relative; }
.collage .col { display: grid; gap: 24px; }
.collage img { border-radius: 18px; object-fit: cover; width: 100%; box-shadow: 0 30px 40px -20px rgba(30,37,50,.3); }
.collage .a { aspect-ratio: 1 / 1; } .collage .b { aspect-ratio: 3 / 4; } .collage .c { aspect-ratio: 3 / 4.2; }
.collage::after { content: ''; position: absolute; right: -40px; top: -30px; width: 40%; height: 40%; background: var(--grey); border-radius: var(--radius); z-index: -1; }
.feature.flip .text { order: -1; }

/* Testimonials */
.reviews { padding: 110px 0 120px; }
.reviews .track-row { grid-auto-columns: calc((100% - 48px) / 3); }
.review { position: relative; border-radius: var(--radius); min-height: 430px; background: #ddd center/cover no-repeat; display: flex; align-items: flex-end; padding: 0 18px 18px; scroll-snap-align: start; }
.review .inner { background: #fff; border-radius: 16px; padding: 44px 22px 22px; text-align: center; width: 100%; position: relative; }
.review .avatar { position: absolute; top: -28px; left: 50%; transform: translateX(-50%); width: 56px; height: 56px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 700; border: 4px solid #fff; }
.review h3 { font-size: 17px; }
.review .course { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.review blockquote { margin: 0 0 12px; font-size: 14px; line-height: 1.6; }
.stars { color: var(--orange); letter-spacing: 2px; font-size: 15px; }
.sample { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.9); color: var(--ink); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .05em; text-transform: uppercase; }

/* Request form */
.request { background: var(--grey); padding: 100px 0; }
.request .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
.request h2 { font-size: 40px; margin-bottom: 18px; }
.panel { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #e2e2e2; border-radius: 12px; padding: 12px 14px; font: 15px inherit; font-family: inherit; color: var(--ink); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid rgba(229,132,17,.35); border-color: var(--orange); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { font-size: 14px; border-radius: 12px; padding: 12px 14px; display: none; }
.msg.ok { display: block; background: #eaf7ee; color: #1f6b37; }
.msg.err { display: block; background: #fdecec; color: #9b1c1c; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; color: var(--orange); margin-top: 3px; }

/* Footer */
.footer { background: var(--grey); padding: 80px 0 34px; border-top: 1px solid var(--line); }
.request + .footer { border-top: 1px solid var(--line); }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .logo { color: var(--ink); }
.footer p { font-size: 14px; max-width: 300px; }
.footer h4 { color: var(--orange); font-size: 15px; font-weight: 500; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 14px; }
.footer ul a { text-decoration: none; color: var(--ink); }
.footer ul a:hover { color: var(--orange); }
.footer .bottom { display: flex; justify-content: space-between; margin-top: 70px; font-size: 13px; color: var(--muted); gap: 20px; flex-wrap: wrap; }
.footer .bottom a { text-decoration: none; color: var(--ink); margin-left: 24px; }

/* Track page */
.track-head { background: var(--grey); padding: 60px 0 70px; }
.track-head h1 { font-size: 40px; margin-bottom: 10px; }
.track-head .codebar { margin: 26px 0 0; }
.track-body { padding: 50px 0 100px; min-height: 40vh; }
.proj-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.proj-top h2 { font-size: 30px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: #f0f0f0; color: var(--ink); letter-spacing: .02em; }
.chip.orange { background: #fdf1e3; color: var(--orange-dark); }
.chip.green { background: #e7f6ec; color: #1f6b37; }
.chip.grey { background: #f0f0f0; color: var(--muted); }
.code-chip { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .05em; }
.stepper { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; margin: 10px 0 40px; counter-reset: s; }
.stepper li { list-style: none; position: relative; text-align: center; font-size: 13px; color: var(--muted); padding-top: 46px; }
.stepper li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: #f0f0f0; color: var(--muted); display: grid; place-items: center; font-weight: 700; font-size: 14px; z-index: 1; }
.stepper li::after { content: ''; position: absolute; top: 16px; left: -50%; right: 50%; height: 2px; background: #ececec; }
.stepper li:first-child::after { display: none; }
.stepper li.done { color: var(--ink); }
.stepper li.done::before { content: '✓'; background: var(--navy); color: #fff; }
.stepper li.done::after, .stepper li.now::after { background: var(--navy); }
.stepper li.now { color: var(--ink); font-weight: 700; }
.stepper li.now::before { background: var(--orange); color: #fff; box-shadow: 0 0 0 6px #fdf1e3; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.box h3 { font-size: 18px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.box .empty { color: var(--muted); font-size: 14px; margin: 0; }
.list { list-style: none; margin: 0; padding: 0; display: grid; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; padding-top: 0; }
.list .t { color: var(--ink); font-weight: 600; font-size: 15px; }
.list .s { font-size: 13px; color: var(--muted); }
.sup { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.sup .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; flex: none; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.wide { grid-column: 1 / -1; }
.signoff { border-color: var(--orange); background: #fffaf3; }
.state { text-align: center; padding: 60px 20px; color: var(--muted); }
.state h2 { color: var(--ink); margin-bottom: 8px; font-size: 24px; }
dialog { border: 0; border-radius: var(--radius); padding: 0; width: min(520px, calc(100% - 32px)); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(14,18,26,.5); }
dialog .panel { box-shadow: none; }
dialog h3 { margin-bottom: 6px; }
.x { float: right; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--muted); line-height: 1; }

/* Responsive */
@media (max-width: 1000px) {
  .track-row { grid-auto-columns: calc((100% - 24px) / 2); }
  .reviews .track-row { grid-auto-columns: calc((100% - 24px) / 2); }
  .why .wrap, .feature .wrap, .request .wrap { grid-template-columns: 1fr; gap: 40px; }
  .feature.flip .text { order: 0; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .nav ul { gap: 24px; }
}
@media (max-width: 760px) {
  .nav ul { display: none; position: absolute; top: 72px; left: 16px; right: 16px; flex-direction: column; gap: 0; background: #fff; border-radius: 16px; padding: 8px; box-shadow: var(--shadow); }
  .nav ul.open { display: flex; }
  .nav ul a { color: var(--ink); display: block; padding: 12px 14px; }
  .menu-btn { display: inline-flex; color: #fff; }
  .nav.light .menu-btn { color: var(--ink); }
  .nav .track-link span { display: none; }
  .hero { min-height: 640px; }
  .why .cols, .grid2, .form .two { grid-template-columns: 1fr; }
  .why h2, .band h2, .section-title, .feature h2, .request h2, .track-head h1 { font-size: 30px; }
  .track-row, .reviews .track-row { grid-auto-columns: 82%; }
  .arrow { display: none; }
  .feature { padding: 70px 0 30px; }
  .photo-stack::after, .collage::after { display: none; }
  .footer .cols { grid-template-columns: 1fr; }
  .footer .bottom a { margin: 0 20px 0 0; }
  .stepper { grid-auto-flow: row; grid-auto-columns: auto; gap: 14px; }
  .stepper li { text-align: left; padding: 6px 0 0 48px; min-height: 34px; }
  .stepper li::before { left: 0; transform: none; }
  .stepper li::after { display: none; }
  .panel { padding: 22px; }
}
