/* SriNova company site.
   Layout: corporate sales site — utility bars, sticky nav, dark "lamp-lit" hero, light content bands, dark footer.
   Brand from the flame logo: night navy, sapphire, sky, saffron flame. */
:root {
  --night: #0b1530;      /* hero, CTA band, footer */
  --night-2: #13224a;
  --sapphire: #2453d6;   /* primary actions, links */
  --sky: #38bdf8;        /* highlights on dark */
  --flame: #f59e0b;      /* Diwali / flame accent, used sparingly */
  --flame-deep: #c2410c;
  --bg: #ffffff;
  --band: #f3f6fb;       /* alternate section background (cool, not cream) */
  --ink: #0f1a33;
  --muted: #55627a;
  --line: #dde3ee;
  --card: #ffffff;
  --ok: #15803d;
  --on-dark: #e8eefc;
  --on-dark-muted: #a8b6d6;
  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Mukta", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(15, 26, 51, .06), 0 8px 24px rgba(15, 26, 51, .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1426; --band: #111a31; --ink: #e8eefc; --muted: #a2afc9; --line: #24304d; --card: #141e38;
    --sapphire: #6d95ff; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1426; --band: #111a31; --ink: #e8eefc; --muted: #a2afc9; --line: #24304d; --card: #141e38;
  --sapphire: #6d95ff; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--sapphire); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--flame); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 0; background: var(--flame); color: #111; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font: 700 13px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--sapphire); }
.lead { font-size: 19px; color: var(--muted); max-width: 62ch; }
.mono { font-family: var(--font-mono); font-size: .9em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 8px; font: 700 15px/1 var(--font-display); border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--sapphire); color: #fff; }
.btn-flame { background: var(--flame); color: #1a1205; }
.btn-flame:hover { background: #fbbf24; }
.btn-ghost-light { border-color: rgba(232, 238, 252, .45); color: var(--on-dark); }
.btn-ghost-light:hover { border-color: var(--on-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }

/* Offer + top bars */
.offerbar { background: linear-gradient(90deg, #7c2d12, #b45309 55%, #7c2d12); color: #fff7ed; font-size: 15px; }
.offerbar-in { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-block: 8px; }
.offer-text { flex: 1 1 320px; min-width: 0; opacity: .95; }
.offer-cta { color: #fff; font-weight: 700; border-bottom: 2px solid #fcd34d; }
.offer-cta:hover { text-decoration: none; color: #fcd34d; }
.diya { width: 14px; height: 18px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 50% 70%, #fff7c2, #fbbf24 45%, #f97316 75%); box-shadow: 0 0 12px 4px rgba(251, 191, 36, .55); animation: flicker 2.6s ease-in-out infinite; flex: none; }
@keyframes flicker { 0%, 100% { transform: scaleY(1); } 45% { transform: scaleY(.9) rotate(-2deg); } 70% { transform: scaleY(1.05) rotate(2deg); } }
.topbar { background: var(--night); color: var(--on-dark-muted); font-size: 14px; }
.topbar-in { display: flex; gap: 20px; align-items: center; padding-block: 6px; flex-wrap: wrap; }
.topbar a { color: var(--on-dark); }
.topbar-login { margin-left: auto; font-weight: 600; }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; }
.logo { height: 46px; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-menu > a, .dd > a { color: var(--ink); font: 600 15px/1 var(--font-display); padding: 12px 12px; border-radius: 6px; }
.nav-menu > a:hover, .dd > a:hover { background: var(--band); text-decoration: none; }
.nav-menu a.on { color: var(--sapphire); }
.nav-menu .nav-cta { color: #fff; margin-left: 8px; padding: 0 18px; }
.nav-menu .nav-cta:hover { background: var(--sapphire); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 8px; padding: 10px 14px; font: 600 15px/1 var(--font-display); }
.dd { position: relative; }
.dd-panel { position: absolute; top: 100%; left: -120px; width: 620px; display: none; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; }
.dd:hover .dd-panel, .dd:focus-within .dd-panel { display: grid; }
.dd-panel a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 6px; color: var(--ink); font-size: 15px; }
.dd-panel a:hover { background: var(--band); text-decoration: none; }
.dd-panel em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--flame-deep); margin-left: 4px; }
.ico { width: 26px; height: 26px; flex: none; color: var(--sapphire); }
.ico-sm { width: 20px; height: 20px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); max-height: 75vh; overflow: auto; }
  .nav-menu.open { display: flex; }
  .dd-panel { position: static; display: grid; width: auto; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0 0 0 8px; }
  .nav-menu .nav-cta { margin: 8px 0 0; }
  .hide-sm { display: none; }
}

/* Hero (dark, lamp-lit) */
.hero { background: radial-gradient(ellipse 60% 70% at 78% 30%, rgba(245, 158, 11, .16), transparent 60%), radial-gradient(ellipse 50% 60% at 10% 100%, rgba(56, 189, 248, .12), transparent 60%), var(--night); color: var(--on-dark); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-block: 64px 72px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; color: #fff; }
.hero h1 span { color: var(--flame); }
.hero .lead { color: var(--on-dark-muted); margin-top: 18px; }
.hero .eyebrow { color: var(--sky); margin-bottom: 16px; display: block; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; color: var(--on-dark); font-size: 15px; }
.hero-facts li { display: flex; gap: 8px; align-items: center; }
.hero-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 8px var(--flame); }

/* Hero visual: a stack of real-looking ERP outputs */
.stack { position: relative; min-height: 480px; }
.paper { position: absolute; background: #fff; color: #0f1a33; border-radius: 10px; box-shadow: 0 24px 48px rgba(0, 0, 0, .35); }
.receipt { width: 74%; right: 0; top: 0; padding: 18px 20px; transform: rotate(1.5deg); }
.receipt-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed #c7cfdd; padding-bottom: 8px; margin-bottom: 8px; }
.receipt-head strong { font: 800 15px/1.2 var(--font-display); }
.receipt table { width: 100%; border-collapse: collapse; font-size: 14px; }
.receipt td { padding: 3px 0; }
.receipt td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.receipt .total td { border-top: 1px solid #0f1a33; font-weight: 700; padding-top: 6px; }
.receipt .meta { font: 500 12px/1.4 var(--font-mono); color: #55627a; }
.paid { display: inline-block; margin-top: 8px; border: 2px solid #15803d; color: #15803d; font: 800 12px/1 var(--font-display); letter-spacing: .1em; padding: 5px 8px; border-radius: 4px; transform: rotate(-4deg); }
.idcard { width: 168px; left: 2%; bottom: 0; overflow: hidden; transform: rotate(-4deg); font-size: 12px; }
.idcard-top { background: #1d3a8a; color: #fff; text-align: center; padding: 8px 6px; font: 800 11px/1.2 var(--font-display); }
.idcard-top small { display: block; color: #fcd34d; font-weight: 700; letter-spacing: .06em; margin-top: 2px; }
.idcard-photo { width: 64px; height: 76px; margin: 10px auto 6px; background: linear-gradient(#dbe4f3, #c3cfe6); border: 1px solid #9fb0d0; border-radius: 4px; }
.idcard-name { text-align: center; font: 800 12px/1.2 var(--font-display); }
.idcard dl { display: grid; grid-template-columns: auto 1fr; gap: 1px 8px; margin: 8px 12px 10px; font-size: 11px; }
.idcard dt { color: #55627a; } .idcard dd { margin: 0; font-weight: 600; }
.idcard .bars { height: 22px; margin: 0 12px 12px; background: repeating-linear-gradient(90deg, #0f1a33 0 2px, transparent 2px 4px, #0f1a33 4px 5px, transparent 5px 8px); }
.bus { right: 4%; bottom: 18px; width: 230px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; transform: rotate(-1deg); }
.bus-dot { width: 12px; height: 12px; border-radius: 50%; background: #15803d; box-shadow: 0 0 0 6px rgba(21, 128, 61, .18); flex: none; }
.bus strong { font: 800 14px/1.2 var(--font-display); display: block; }
.bus span { font-size: 13px; color: #55627a; }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; padding-block: 44px 48px; }
  .stack { min-height: 380px; }
}
@media (max-width: 480px) {
  .receipt { width: 100%; transform: none; }
  .idcard { display: none; }
  .stack { min-height: 340px; }
  .bus { right: 0; }
}

/* Sections */
.section { padding-block: 72px; }
.section.band { background: var(--band); }
.section-head { max-width: 760px; margin-bottom: 36px; display: grid; gap: 12px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; }

.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.proof div { padding: 22px 24px; border-left: 1px solid var(--line); }
.proof div:first-child { border-left: 0; }
.proof strong { display: block; font: 800 34px/1.1 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.proof span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .proof { grid-template-columns: 1fr 1fr; } .proof div:nth-child(3) { border-left: 0; } .proof div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.mod { display: grid; gap: 10px; align-content: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.mod:hover { border-color: var(--sapphire); box-shadow: var(--shadow); text-decoration: none; }
.mod h3 { font-size: 18px; font-weight: 800; }
.mod p { color: var(--muted); font-size: 15.5px; }
.soon { justify-self: start; font: 700 11px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--flame-deep); background: rgba(245, 158, 11, .14); padding: 5px 8px; border-radius: 4px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.ticks li::before { content: ""; width: 18px; height: 18px; margin-top: 5px; border-radius: 50%; background: var(--sapphire) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.ticks strong { font-family: var(--font-display); }

/* A school day timeline (real order of events) */
.day { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: none; }
.day li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 6px; align-content: start; }
.day time { font: 500 13px/1 var(--font-mono); color: var(--flame-deep); }
.day strong { font: 800 16px/1.3 var(--font-display); }
.day span { font-size: 15px; color: var(--muted); }
@media (max-width: 1000px) { .day { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .day { grid-template-columns: 1fr; } }

.boards { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.boards span { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 14px; font: 600 14px/1.2 var(--font-display); }

/* Phone mock */
.phone { width: 270px; max-width: 100%; margin: 0 auto; background: #0b1530; border-radius: 36px; padding: 12px; box-shadow: var(--shadow); }
.phone-screen { background: #f3f6fb; border-radius: 26px; overflow: hidden; color: #0f1a33; font-size: 13px; }
.ph-head { background: #1d3a8a; color: #fff; padding: 22px 16px 16px; }
.ph-head small { color: #bcd0ff; display: block; }
.ph-head strong { font: 800 17px/1.2 var(--font-display); }
.ph-body { padding: 12px; display: grid; gap: 10px; }
.ph-card { background: #fff; border-radius: 12px; padding: 12px; display: grid; gap: 4px; box-shadow: 0 1px 2px rgba(15, 26, 51, .08); }
.ph-card b { font-family: var(--font-display); }
.ph-row { display: flex; justify-content: space-between; gap: 8px; }
.ph-green { color: #15803d; font-weight: 700; } .ph-amber { color: #b45309; font-weight: 700; }
.ph-btn { background: #2453d6; color: #fff; border-radius: 8px; text-align: center; padding: 8px; font-weight: 700; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font: 700 17px/1.4 var(--font-display); display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sapphire); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--muted); }

/* CTA band + footer */
.cta-band { background: radial-gradient(ellipse 40% 90% at 90% 50%, rgba(245, 158, 11, .2), transparent 70%), var(--night-2); color: var(--on-dark); }
.cta-in { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-block: 44px; }
.cta-in h2 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); }
.cta-in p { color: var(--on-dark-muted); margin-top: 6px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.foot { background: var(--night); color: var(--on-dark-muted); font-size: 15px; padding-top: 52px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot h3 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--on-dark); }
.foot-about img { height: 46px; width: auto; margin-bottom: 12px; }
.foot-legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(168, 182, 214, .2); margin-top: 40px; padding-block: 18px 90px; font-size: 14px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

.float-actions { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 10px; align-items: center; z-index: 60; }
.float-wa { width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.float-wa svg { width: 30px; height: 30px; }
.float-demo { background: var(--flame); color: #1a1205; font: 700 15px/1 var(--font-display); padding: 0 18px; height: 46px; display: grid; place-items: center; border-radius: 999px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.float-demo:hover { text-decoration: none; background: #fbbf24; }
@media (max-width: 520px) { .float-demo { display: none; } }

/* Inner pages */
.page-head { background: var(--night); color: var(--on-dark); padding-block: 48px; }
.page-head h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.page-head p { color: var(--on-dark-muted); margin-top: 10px; max-width: 64ch; font-size: 18px; }
.crumbs { font-size: 14px; color: var(--on-dark-muted); margin-bottom: 10px; }
.crumbs a { color: var(--sky); }
.mod-detail { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding-block: 28px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.mod-detail:first-child { border-top: 0; }
.mod-detail .ico { width: 44px; height: 44px; padding: 9px; background: var(--band); border-radius: 10px; }
.mod-detail h2 { font-size: 24px; font-weight: 800; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mod-detail > div > p { color: var(--muted); margin-top: 6px; }
.mod-detail ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; columns: 2; }
@media (max-width: 700px) { .mod-detail ul { columns: 1; } }
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink); margin-bottom: 10px; }
.prose ul { padding-left: 20px; }

/* Form */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font: 600 14px/1.3 var(--font-display); }
input, select, textarea { font: 400 16px/1.4 var(--font-body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; width: 100%; }
textarea { min-height: 110px; resize: vertical; }
.req { color: var(--flame-deep); }
.hp { position: absolute; left: -5000px; }
.notice { border-radius: 8px; padding: 14px 16px; margin-bottom: 16px; font-weight: 600; }
.notice.ok { background: rgba(21, 128, 61, .1); color: var(--ok); }
.notice.err { background: rgba(194, 65, 12, .1); color: var(--flame-deep); }
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span { color: var(--muted); font-size: 14px; }
.contact-list strong { font: 700 17px/1.3 var(--font-display); }
.h2-like { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mt-20 { margin-top: 20px; }
.link-sky { color: var(--sky); }
.split-top { align-items: start; }

/* ===== Fit-to-screen pass (v5) ===== */
.hero-in { padding-block: clamp(40px, 7vh, 64px) clamp(44px, 8vh, 72px); gap: 40px; }
.hero h1 { font-size: clamp(30px, 3.7vw, 48px); line-height: 1.12; }
@media (min-width: 901px) and (max-height: 800px) { .hero h1 { font-size: clamp(28px, 3.2vw, 42px); } .hero .lead { margin-top: 12px; } .hero-actions, .hero-facts { margin-top: 20px; } }