/* Shree Peetha Nilaya — B2B events site
   Palette: forest green ground, saffron accent, warm off-white paper. */

:root {
  --paper: #F7F8F5;
  --surface: #FFFFFF;
  --sunk: #EEF2EC;
  --ink: #1B2620;
  --ink-2: #46524B;
  --muted: #5A675F;
  --line: #D9DFD6;
  --line-2: #C9D1C6;
  --forest: #23402F;
  --forest-dark: #1B2620;
  --saffron: #A0560A;
  --saffron-soft: #FBEBD6;
  --saffron-ink: #7A3F04;
  --ok: #1F5A35;
  --ok-soft: #E3EFE6;
  --stop: #9A2E1F;
  --stop-soft: #FBE9E5;
  --info: #1D4F73;
  --info-soft: #E1ECF4;
  --f-display: "Marcellus", Georgia, "Times New Roman", serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
  --r-sm: 8px;
  --shadow: 0 1px 2px rgba(27, 38, 32, .05), 0 8px 24px rgba(27, 38, 32, .05);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  margin: 0;
  line-height: 1.15;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.4rem; }

p { margin: 0; }

a { color: var(--forest); }
a:hover { color: var(--saffron); }

:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; }

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--saffron);
}

.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.num { font-variant-numeric: tabular-nums; }

/* ---- buttons ---- */
.btn {
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  min-height: 46px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter .15s ease;
}
.btn:hover { filter: brightness(1.07); }
.btn-primary { background: var(--saffron); color: #fff; }
.btn-primary:hover { color: #fff; }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--ink); }
.btn-outline-light { background: transparent; border-color: #fff; color: #fff; }
.btn-outline-light:hover { color: #fff; }

/* ---- site header ---- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  flex-wrap: wrap;
}
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.brand b { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; line-height: 1.1; }
.brand span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; gap: 26px; font-size: .95rem; font-weight: 500; }
.site-nav a { text-decoration: none; }
.header-actions { display: flex; gap: 10px; align-items: center; }

/* ---- hero ---- */
.hero { position: relative; background: var(--forest-dark); overflow: hidden; }
.hero img.bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: .6;
}
.hero .wrap {
  position: relative;
  padding-block: clamp(72px, 10vw, 128px) clamp(56px, 7vw, 80px);
  display: grid;
  gap: 26px;
  color: #fff;
}
.hero .eyebrow { color: #F2C48A; }
.hero h1 { max-width: 15ch; }
.hero p { font-size: 1.2rem; max-width: 46ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts {
  display: flex; gap: 40px; flex-wrap: wrap;
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .3);
}
.hero-facts div { display: grid; gap: 2px; }
.hero-facts b { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; }
.hero-facts span { font-size: .9rem; color: #D6E2D9; }

/* ---- sections & grids ---- */
section { scroll-margin-top: 90px; }
.section { padding-block: clamp(56px, 7vw, 88px); }
.section-head { display: grid; gap: 10px; max-width: 46ch; margin-bottom: 36px; }
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-body { padding: 26px; display: grid; gap: 14px; align-content: start; }
.card img { height: 240px; object-fit: cover; width: 100%; background: var(--sunk); }

.tag {
  display: inline-block;
  font-size: .8rem; font-weight: 600;
  background: var(--sunk); color: var(--forest);
  padding: 4px 11px; border-radius: 99px;
}
.tags { display: flex; gap: 8px; flex-wrap: wrap; }

.pill {
  display: inline-flex; align-items: center;
  font-size: .78rem; font-weight: 600;
  padding: 4px 12px; border-radius: 99px;
  white-space: nowrap;
}
.pill-new { background: var(--saffron-soft); color: var(--saffron-ink); }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-info { background: var(--info-soft); color: var(--info); }
.pill-stop { background: var(--stop-soft); color: var(--stop); }
.pill-dark { background: var(--forest); color: #fff; }
.pill-grey { background: #ECEFEA; color: #4A544D; }

.band-forest { background: var(--forest); color: #fff; }
.band-forest .eyebrow { color: #F2C48A; }
.band-forest p { color: #D6E2D9; }
.band-sunk { background: var(--sunk); }

.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; }
.service-list div { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .22); display: grid; gap: 3px; }
.service-list h3 { font-family: var(--f-body); font-size: 1rem; font-weight: 600; }
.service-list p { font-size: .9rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.steps li { border-top: 2px solid var(--forest); padding-top: 16px; display: grid; gap: 8px; }
.steps b { font-family: var(--f-display); font-weight: 400; font-size: 1.8rem; color: var(--saffron); }
.steps h3 { font-family: var(--f-body); font-size: 1.05rem; font-weight: 600; }
.steps p { font-size: .95rem; color: var(--ink-2); }

.rules { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; display: grid; gap: 14px; align-content: start; }
.rules ul { margin: 0; padding-left: 20px; display: grid; gap: 7px; }
.contact-box { background: var(--saffron); color: #fff; border-radius: var(--r); padding: 30px; display: grid; gap: 16px; align-content: start; }
.contact-box a.btn-light { color: var(--saffron-ink); justify-self: start; }
.contact-box .meta { border-top: 1px solid rgba(255, 255, 255, .4); padding-top: 14px; display: grid; gap: 3px; font-size: .95rem; }

.site-footer { background: var(--forest-dark); color: #C9D3CC; padding-block: 36px; font-size: .9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---- forms ---- */
.field { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.field > span { font-weight: 600; }
.inp {
  font: inherit; font-size: .95rem; font-weight: 400;
  color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 11px 12px; width: 100%; min-height: 46px;
}
textarea.inp { min-height: 90px; resize: vertical; }
fieldset {
  margin: 0; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); padding: 26px; display: grid; gap: 16px;
}
legend { font-family: var(--f-display); font-size: 1.35rem; padding-inline: 6px; }
.f-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }

.chip {
  font: inherit; font-size: .92rem; font-weight: 600;
  padding: 10px 16px; min-height: 44px;
  border-radius: 99px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
}
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.chips { display: flex; gap: 9px; flex-wrap: wrap; }

.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 10px; }
.opt {
  font: inherit; text-align: left; color: var(--ink);
  display: grid; gap: 3px; padding: 13px 15px;
  border: 1px solid var(--line-2); background: var(--surface);
  border-radius: 10px; cursor: pointer; min-height: 64px;
}
.opt b { font-size: .95rem; }
.opt span { font-size: .84rem; color: var(--muted); }
.opt[aria-pressed="true"] { border: 2px solid var(--forest); background: var(--sunk); padding: 12px 14px; }
.opt:disabled { border-style: dashed; background: var(--paper); color: #7B867F; cursor: not-allowed; }
.opt:disabled b, .opt:disabled span { color: inherit; }

.note {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: 10px; font-size: .92rem;
}
.note svg { flex-shrink: 0; margin-top: 3px; }
.note-ok { background: var(--ok-soft); color: var(--ok); }
.note-stop { background: var(--stop-soft); color: var(--stop); }
.note-warn { background: var(--saffron-soft); color: var(--saffron-ink); }

.summary-box { background: var(--forest); color: #fff; border-radius: var(--r); padding: 26px; display: grid; gap: 14px; align-content: start; }
.summary-box dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 16px; font-size: .95rem; }
.summary-box dt { color: #B9CCBF; }
.summary-box dd { margin: 0; }

.sticky-side { position: sticky; top: 98px; display: grid; gap: 16px; align-content: start; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }

/* ---- app shell (team + workspace) ---- */
.app-header {
  background: var(--surface); border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 12px 24px; flex-wrap: wrap;
  position: sticky; top: 0; z-index: 20;
}
.avatar {
  width: 38px; height: 38px; border-radius: 99px;
  background: var(--forest); color: #fff;
  display: grid; place-items: center; font-weight: 600; font-size: .85rem;
}
.shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: calc(100vh - 63px); }
.side { background: var(--surface); border-right: 1px solid var(--line); padding: 20px 14px; display: grid; gap: 3px; align-content: start; }
.side.dark { background: var(--forest-dark); border-right: 0; color: #C9D3CC; }
.side a { text-decoration: none; color: var(--ink); padding: 10px 13px; border-radius: var(--r-sm); display: flex; justify-content: space-between; gap: 8px; }
.side.dark a { color: #C9D3CC; }
.side a[aria-current="page"] { background: var(--sunk); font-weight: 600; }
.side.dark a[aria-current="page"] { background: #2F4A3B; color: #fff; }
.side-note { margin-top: 20px; padding: 14px; border-radius: 10px; background: var(--sunk); font-size: .88rem; display: grid; gap: 5px; }
.side.dark .side-note { background: transparent; border: 1px solid #34483D; }
main.app { padding: 26px 28px 64px; display: grid; gap: 20px; align-content: start; min-width: 0; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: grid; gap: 2px; }
.kpi span { font-size: .85rem; color: var(--muted); }
.kpi b { font-family: var(--f-display); font-weight: 400; font-size: 1.85rem; }

.list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.list-head { display: flex; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.row {
  font: inherit; color: inherit; width: 100%; text-align: left;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 14px 16px; border: 0; border-bottom: 1px solid #E6EAE3;
  background: var(--surface); cursor: pointer;
}
.row:last-child { border-bottom: 0; }
.row:hover { background: #FAFBF9; }
.row[aria-pressed="true"] { background: var(--sunk); box-shadow: inset 3px 0 0 var(--forest); }
.row .t { display: grid; gap: 2px; min-width: 0; }
.row .t b { font-size: .95rem; }
.row .t span { font-size: .85rem; color: var(--muted); }
.row .r { display: grid; gap: 4px; justify-items: end; }
.row .sla { font-size: .78rem; color: var(--muted); }
.row .sla.late { color: var(--stop); font-weight: 700; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 18px; align-content: start; }
.panel dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 16px; font-size: .95rem; }
.panel dt { color: var(--muted); }
.panel dd { margin: 0; }
.checks { display: grid; gap: 9px; font-size: .9rem; }
.checks div { display: flex; gap: 10px; align-items: flex-start; }
.dot { width: 10px; height: 10px; flex-shrink: 0; margin-top: 7px; }
.dot-ok { background: #2F7D4A; border-radius: 99px; }
.dot-warn { background: #B8640A; border-radius: 3px; }
.dot-stop { background: var(--stop); }
.actions { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.actions .btn { justify-content: flex-start; }
.toast { background: var(--ok-soft); color: var(--ok); border-radius: 10px; padding: 12px 14px; font-size: .9rem; display: grid; gap: 7px; }

/* ---- workspace configurator ---- */
.ws-cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 14px; align-content: start; }
.block h2 { font-size: 1.35rem; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }

.steppers { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.stepper { display: grid; gap: 6px; }
.stepper > span { font-size: .9rem; font-weight: 600; }
.stepper div { display: flex; align-items: center; gap: 8px; }
.stepbtn {
  font: inherit; font-size: 1.15rem; font-weight: 600;
  width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  border-radius: var(--r-sm); cursor: pointer;
}
.stepbtn:hover { background: var(--sunk); }
.stepper output { min-width: 58px; text-align: center; font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }

.venue-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 10px; border-radius: 10px;
}
.venue-row.on { background: var(--sunk); }
.venue-row.off { background: var(--paper); opacity: .68; }
.venue-row img { width: 92px; height: 66px; object-fit: cover; border-radius: var(--r-sm); flex-shrink: 0; }
.venue-row .t { display: grid; gap: 2px; flex-grow: 1; min-width: 150px; }
.venue-row .t b { font-size: .97rem; }
.venue-row .t span { font-size: .85rem; color: var(--muted); }
.venue-row .price { font-size: .9rem; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.seg { display: flex; border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; }
.seg button {
  font: inherit; font-size: .84rem; font-weight: 600;
  padding: 8px 13px; min-height: 42px; border: 0;
  background: var(--surface); color: var(--ink); cursor: pointer;
}
.seg button[aria-pressed="true"] { background: var(--forest); color: #fff; }
.seg button:disabled { background: var(--paper); color: #9AA59E; cursor: not-allowed; }

.svc { display: grid; }
.svc label {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0; border-top: 1px solid #E6EAE3; cursor: pointer;
}
.svc input { width: 20px; height: 20px; accent-color: var(--forest); flex-shrink: 0; }
.svc .t { display: grid; flex-grow: 1; min-width: 0; }
.svc .t b { font-size: .95rem; }
.svc .t span { font-size: .85rem; color: var(--muted); }
.svc .price { font-size: .9rem; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }

.lines { display: grid; font-variant-numeric: tabular-nums; }
.lines div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #E6EAE3; font-size: .9rem; }
.lines .disc span:last-child { color: var(--ok); font-weight: 600; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 6px; }
.total b { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; }
.total .amt { font-size: 1.75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.sub-total { display: flex; justify-content: space-between; font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.chat { display: grid; gap: 8px; font-size: .9rem; }
.chat .me { justify-self: end; max-width: 85%; background: var(--forest); color: #fff; padding: 8px 12px; border-radius: 12px 12px 2px 12px; }
.chat .them { justify-self: start; max-width: 90%; background: var(--sunk); padding: 8px 12px; border-radius: 12px 12px 12px 2px; }

.demo-note { background: var(--saffron-soft); color: var(--saffron-ink); border-radius: 10px; padding: 10px 15px; font-size: .9rem; }

/* ---- split login ---- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 100vh; }
.split .photo { position: relative; background: var(--forest-dark); overflow: hidden; }
.split .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.split .photo div { position: absolute; inset: auto 0 0 0; padding: 36px; background: rgba(27, 38, 32, .74); color: #fff; display: grid; gap: 6px; }
.split .photo b { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; }
.split .photo span { color: #DCE6DF; font-size: .95rem; }
.split form { width: 100%; max-width: 400px; display: grid; gap: 18px; align-content: center; }
.split .side-pane { display: grid; place-items: center; padding: 48px 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

@media (max-width: 1150px) {
  .ws-cols { grid-template-columns: minmax(0, 1fr); }
  .sticky-side { position: static; }
}
@media (max-width: 960px) {
  .two-col { grid-template-columns: minmax(0, 1fr); }
  .site-nav { display: none; }
}
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .split .photo { min-height: 260px; }
}
@media (max-width: 800px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  main.app { padding: 20px 16px 48px; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .card img { height: 200px; }
  .hero-facts { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
