/* =========================================================
   AJIRAJ DIGITAL — multi-page site
   Palette from the brand flyers: deep indigo + saffron,
   warm orange-tuned paper, WhatsApp-green for every action.
   Display: Anton (poster headlines). Body: Plus Jakarta Sans.
   ========================================================= */

:root {
  --ink:        #12163A;
  --ink-2:      #1b2050;
  --saffron:    #F5771A;
  --saffron-2:  #ff8c2e;
  --saffron-deep:#DA5A00;
  --gold:       #FFB43B;
  --paper:      #FFF7EF;
  --paper-2:    #FDEFE0;
  --white:      #ffffff;
  --wa:         #22C35E;
  --wa-deep:    #17a34a;

  --text:       #14173a;
  --muted:      #5c6079;
  --muted-light:#c7cbe6;
  --line:       rgba(18,22,58,.12);
  --line-light: rgba(255,255,255,.14);

  --shadow-sm: 0 2px 8px rgba(18,22,58,.08);
  --shadow-md: 0 14px 34px -14px rgba(18,22,58,.28);
  --shadow-lg: 0 30px 60px -22px rgba(18,22,58,.45);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;

  --wrap: 1200px;
  --gutter: clamp(18px, 5vw, 56px);

  --sans: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Anton", "Plus Jakarta Sans", system-ui, sans-serif;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); color: var(--text); background: var(--paper);
  line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; padding: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: fixed; top: -60px; left: 12px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 10px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 4px; }

/* ---------- shared type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron-deep); margin-bottom: 18px; }
.eyebrow--light { color: var(--gold); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 4px rgba(245,119,26,.18); }
.eyebrow--light .dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(255,180,59,.2); }

.section-title { font-family: var(--sans); font-weight: 800; font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3rem); line-height: 1.08; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.section-lead { margin-top: 16px; max-width: 60ch; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--muted); }
.section-lead--light { color: var(--muted-light); }

.section { padding-block: clamp(64px, 7vw, 118px); position: relative; }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 4vw, 60px); }
.section-head--light .section-title { color: #fff; }
.section--tint { background: var(--paper-2); }

/* ---------- buttons ---------- */
.btn { --btn-fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border-radius: 999px; font-weight: 800; font-size: .95rem; color: var(--btn-fg); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; white-space: nowrap; }
.btn--lg { padding: 15px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--wa { background: var(--wa); box-shadow: 0 10px 24px -10px rgba(34,195,94,.7); }
.btn--wa:hover { background: var(--wa-deep); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(34,195,94,.75); }
.btn--wa .ic { fill: #fff; }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); transform: translateY(-2px); }
.ic { width: 1.15em; height: 1.15em; flex: none; }

/* ================= HEADER ================= */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,247,239,.85); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 44px; height: 44px; border-radius: 11px; box-shadow: var(--shadow-sm); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 1.14rem; letter-spacing: -.01em; color: var(--ink); }
.brand__tag { font-size: .72rem; font-weight: 600; color: var(--saffron-deep); letter-spacing: .02em; }
.nav { margin-left: auto; display: flex; gap: 6px; }
.nav a { padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: .96rem; color: #3a3f63; transition: background .15s, color .15s; }
.nav a:hover { background: rgba(18,22,58,.06); color: var(--ink); }
.nav a.is-current { color: var(--saffron-deep); background: rgba(245,119,26,.1); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn--wa { padding: 10px 16px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: rgba(18,22,58,.06); }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================= HERO (home) ================= */
.hero { position: relative; isolation: isolate; overflow: hidden;
  background: radial-gradient(1100px 620px at 82% -8%, rgba(245,119,26,.28), transparent 60%), radial-gradient(760px 520px at 6% 108%, rgba(255,180,59,.16), transparent 55%), linear-gradient(160deg, #0e1230 0%, var(--ink) 46%, #171c46 100%);
  color: #fff; padding-block: clamp(64px, 9vw, 128px);
}
.hero__inner { position: relative; z-index: 2; max-width: 940px; }
.hero__ghost { position: absolute; z-index: 0; right: -3vw; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: clamp(9rem, 26vw, 26rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.06); letter-spacing: .02em; pointer-events: none; user-select: none; white-space: nowrap; }
.hero__wing { position: absolute; z-index: 1; inset: auto -6% -46% -6%; height: 62%; background: linear-gradient(100deg, var(--saffron-deep), var(--saffron) 60%, var(--gold)); clip-path: polygon(0 42%, 100% 0, 100% 100%, 0 100%); opacity: .16; filter: blur(2px); pointer-events: none; }
.hero__title { font-family: var(--display); font-weight: 400; font-size: clamp(2.9rem, 1.6rem + 6.6vw, 6.6rem); line-height: .93; letter-spacing: .004em; text-transform: uppercase; margin-bottom: 22px; }
.hero__line { display: block; }
.hero__line:nth-child(1) { animation: rise .7s .05s both; }
.hero__line:nth-child(2) { animation: rise .7s .16s both; }
.rotator { display: inline-block; position: relative; vertical-align: baseline; color: var(--gold); }
.rotator__word { display: inline-block; background: linear-gradient(96deg, var(--gold), var(--saffron-2)); -webkit-background-clip: text; background-clip: text; color: transparent; border-bottom: 6px solid rgba(245,119,26,.6); padding-bottom: 2px; transition: opacity .28s ease, transform .28s ease; }
.rotator__word.is-out { opacity: 0; transform: translateY(-16px); }
.hero__marathi { font-size: clamp(1.15rem, 1rem + .9vw, 1.7rem); font-weight: 700; color: var(--gold); margin-bottom: 20px; animation: rise .7s .28s both; }
.hero__sub { max-width: 60ch; font-size: clamp(1.02rem, .98rem + .35vw, 1.22rem); color: #d6d9f0; margin-bottom: 34px; animation: rise .7s .38s both; }
.hero__sub strong { color: #fff; font-weight: 800; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; animation: rise .7s .48s both; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-light); animation: rise .7s .58s both; }
.hero__trust li { font-size: .98rem; color: #c9cdec; }
.hero__trust strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.9rem; color: #fff; line-height: 1; letter-spacing: .02em; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ================= PAGE HERO (sub-pages) ================= */
.page-hero { position: relative; overflow: hidden; color: #fff; padding-block: clamp(52px, 7vw, 96px);
  background: radial-gradient(900px 460px at 88% -20%, rgba(245,119,26,.26), transparent 60%), linear-gradient(160deg, #0e1230, var(--ink) 60%, #171c46); }
.page-hero__wing { position: absolute; inset: auto -6% -50% auto; width: 52%; height: 100%; background: linear-gradient(110deg, var(--saffron-deep), var(--gold)); clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); opacity: .12; pointer-events: none; }
.page-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.crumb { display: flex; gap: 8px; font-size: .86rem; color: var(--muted-light); margin-bottom: 16px; }
.crumb a:hover { color: #fff; }
.crumb span { color: var(--gold); }
.page-hero__title { font-family: var(--sans); font-weight: 800; font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.8rem); line-height: 1.04; letter-spacing: -.025em; }
.page-hero__sub { margin-top: 16px; max-width: 60ch; font-size: clamp(1.02rem, .98rem + .35vw, 1.2rem); color: #d6d9f0; }

/* ================= TICKER ================= */
.ticker { background: var(--ink); color: #fff; overflow: hidden; border-block: 1px solid rgba(255,255,255,.08); padding-block: 14px; }
.ticker__track { display: inline-flex; align-items: center; gap: 22px; white-space: nowrap; will-change: transform; animation: marquee 34s linear infinite; }
.ticker__track span { font-weight: 700; font-size: .96rem; letter-spacing: .02em; }
.ticker__track .sep { color: var(--saffron); font-size: .8rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ================= STATS BAND ================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.stat { text-align: center; padding: 22px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; color: var(--saffron-deep); letter-spacing: .02em; }
.stat span { display: block; margin-top: 8px; font-size: .92rem; font-weight: 600; color: var(--muted); }

/* ================= PILLARS (home category overview) ================= */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.pillar { position: relative; display: flex; flex-direction: column; padding: 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pillar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(var(--saffron), var(--gold)); transform: scaleY(0); transform-origin: top; transition: transform .25s ease; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.pillar:hover::before { transform: scaleY(1); }
.pillar__num { font-family: var(--display); font-weight: 400; font-size: 1.1rem; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; letter-spacing: .04em; margin-bottom: 18px; transition: background .2s; }
.pillar:hover .pillar__num { background: var(--saffron); }
.pillar__title { font-size: 1.28rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.pillar__desc { margin-top: 8px; color: var(--muted); font-size: .98rem; flex: 1; }
.pillar__list { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.pillar__list li { font-size: .78rem; font-weight: 700; color: var(--saffron-deep); background: var(--paper-2); border-radius: 999px; padding: 4px 10px; }
.pillar__link { margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: .92rem; color: var(--ink); }
.pillar__link span { transition: transform .18s; }
.pillar:hover .pillar__link { color: var(--saffron-deep); }
.pillar:hover .pillar__link span { transform: translateX(4px); }

/* ================= SERVICES page ================= */
.cat-index { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(40px, 5vw, 68px); }
.cat-index a { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-weight: 700; font-size: .95rem; color: var(--ink); transition: transform .16s, box-shadow .16s, border-color .16s; }
.cat-index a b { font-family: var(--display); font-weight: 400; font-size: 1rem; color: #fff; background: var(--ink); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; letter-spacing: .03em; }
.cat-index a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.cat-index a:hover b { background: var(--saffron); }

.cat { padding-top: clamp(30px, 4vw, 56px); scroll-margin-top: 96px; }
.cat + .cat { border-top: 1px dashed var(--line); }
.cat__head { display: flex; gap: clamp(16px, 3vw, 30px); align-items: flex-start; margin-bottom: 34px; }
.cat__num { font-family: var(--display); font-weight: 400; line-height: .8; font-size: clamp(3rem, 2rem + 4vw, 5.6rem); color: transparent; -webkit-text-stroke: 2px var(--saffron); flex: none; letter-spacing: .02em; }
.cat__title { font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.cat__desc { margin-top: 8px; max-width: 62ch; color: var(--muted); font-size: 1.05rem; }
.cat__desc em { color: var(--saffron-deep); font-style: normal; font-weight: 700; }
.cat__also { margin-top: 12px; display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #7a7fa0; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: clamp(16px, 2vw, 24px); }

/* card is now a button that opens the modal */
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; text-align: left; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover, .card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(18,22,58,.06)); pointer-events: none; }
.tagchip { position: absolute; z-index: 2; top: 12px; left: 12px; background: var(--saffron); color: #fff; font-weight: 800; font-size: .78rem; padding: 5px 11px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.12rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.card__text { margin-top: 7px; font-size: .95rem; color: var(--muted); flex: 1; }
.card__more { margin-top: 15px; align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: .9rem; color: var(--saffron-deep); }
.card__more span { transition: transform .18s ease; }
.card:hover .card__more span { transform: translateX(4px); }

/* ================= SERVICE MODAL ================= */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 4vh 4vw; background: rgba(8,10,28,.86); backdrop-filter: blur(6px); animation: fade .2s ease; }
.modal[hidden] { display: none; }
.modal__dialog { position: relative; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 0; width: min(880px, 100%); max-height: 92vh; overflow: hidden; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.modal__media { background: var(--paper-2); overflow: hidden; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.modal__body { padding: clamp(24px, 3vw, 38px); overflow: auto; }
.modal__eyebrow { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--saffron-deep); margin-bottom: 8px; }
.modal__title { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.modal__desc { margin-top: 12px; color: var(--muted); font-size: 1.02rem; }
.modal__list { margin-top: 18px; display: grid; gap: 10px; }
.modal__list li { position: relative; padding-left: 28px; font-size: .98rem; color: var(--text); }
.modal__list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(34,195,94,.15); color: var(--wa-deep); font-size: .74rem; font-weight: 900; display: grid; place-items: center; }
.modal__actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); font-size: 1.2rem; font-weight: 700; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background .15s, transform .15s; }
.modal__close:hover { background: #fff; transform: rotate(90deg); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ================= WHY ================= */
.why { background: radial-gradient(900px 500px at 88% 0%, rgba(245,119,26,.14), transparent 55%), linear-gradient(180deg, var(--ink) 0%, #0f1330 100%); color: #fff; overflow: hidden; }
.why__wing { position: absolute; z-index: 0; inset: -12% -8% auto auto; width: 46%; height: 130%; background: linear-gradient(120deg, var(--saffron), var(--gold)); clip-path: polygon(38% 0, 100% 0, 100% 100%, 0% 100%); opacity: .07; pointer-events: none; }
.why .wrap { position: relative; z-index: 1; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(14px, 2vw, 22px); }
.why-card { padding: 26px 24px; border-radius: var(--r); background: rgba(255,255,255,.045); border: 1px solid var(--line-light); transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.why-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.08); border-color: rgba(255,180,59,.4); }
.why-card__ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 13px; background: linear-gradient(140deg, var(--saffron), var(--saffron-deep)); font-size: 1.4rem; margin-bottom: 16px; box-shadow: 0 10px 22px -10px rgba(245,119,26,.7); color: #fff; font-weight: 800; }
.why-card h3 { font-size: 1.16rem; font-weight: 800; margin-bottom: 8px; }
.why-card p { color: #c4c8e6; font-size: .98rem; }
.why-card em { color: var(--gold); font-style: normal; font-weight: 700; }

/* ================= PROCESS ================= */
.process { background: var(--paper-2); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.step { position: relative; padding: 26px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step__num { font-family: var(--display); font-weight: 400; font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--saffron); display: block; margin-bottom: 12px; letter-spacing: .03em; }
.step:nth-child(-n+4)::after { content: "→"; position: absolute; top: 34px; right: -15px; z-index: 2; font-size: 1.3rem; font-weight: 800; color: var(--saffron); opacity: .8; }
.step__title { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.step p { font-size: .93rem; color: var(--muted); }
.step em { color: var(--saffron-deep); font-style: normal; font-weight: 700; }

/* ================= ABOUT ================= */
.about-lede { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.about-lede p + p { margin-top: 16px; }
.about-lede .body { color: var(--muted); font-size: 1.06rem; }
.about-lede .body strong { color: var(--ink); }
.facts { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-lg); }
.facts h3 { font-size: 1.15rem; margin-bottom: 18px; color: #fff; }
.facts dl { display: grid; gap: 14px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-light); }
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--gold); font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.facts dd { text-align: right; font-weight: 600; color: #eef0ff; }

/* ================= CONTACT ================= */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.cform { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-md); }
.cform h2 { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.cform > p { margin-top: 6px; color: var(--muted); font-size: .96rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .84rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field .req { color: var(--saffron-deep); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; transition: border-color .15s, box-shadow .15s, background .15s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--saffron); background: #fff; box-shadow: 0 0 0 4px rgba(245,119,26,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform__note { margin-top: 14px; font-size: .84rem; color: var(--muted); text-align: center; }
.form-status { margin-top: 14px; font-size: .92rem; font-weight: 700; color: var(--wa-deep); display: none; }
.form-status.is-shown { display: block; }

.contact-aside { display: grid; gap: 20px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-sm); }
.info-list { display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-ic { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(245,119,26,.12); color: var(--saffron-deep); }
.info-ic .ic { fill: currentColor; width: 20px; height: 20px; }
.info-label { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--saffron-deep); margin-bottom: 3px; }
.info-list a, .info-list .val { color: var(--ink); font-weight: 600; font-size: 1rem; }
.info-list a:hover { color: var(--saffron-deep); text-decoration: underline; }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 260px; border: 0; filter: grayscale(.15) contrast(1.03); }

/* ================= SOCIAL ================= */
.social { display: flex; gap: 12px; }
.social a { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid var(--line-light); color: #fff; transition: transform .18s, background .18s, border-color .18s; }
.social a .ic { width: 22px; height: 22px; fill: currentColor; }
.social a:hover { transform: translateY(-3px); }
.social a.ig:hover { background: linear-gradient(45deg,#feda75,#d62976 55%,#4f5bd5); border-color: transparent; }
.social a.fb:hover { background: #1877F2; border-color: transparent; }
.social a.gmb:hover { background: #fff; color: #4285F4; border-color: transparent; }
.social--ink a { background: var(--paper-2); border-color: var(--line); color: var(--ink); }
.social--ink a:hover { color: #fff; }

/* ================= CTA BANNER ================= */
.cta { background: linear-gradient(120deg, var(--saffron-deep), var(--saffron) 55%, var(--gold)); color: #fff; position: relative; overflow: hidden; }
.cta__inner { position: relative; z-index: 1; text-align: center; max-width: 720px; margin-inline: auto; }
.cta h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.8rem); letter-spacing: -.02em; color: #fff; }
.cta p { margin-top: 12px; font-size: 1.08rem; color: rgba(255,255,255,.92); }
.cta__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta .btn--wa { background: #fff; color: var(--wa-deep); }
.cta .btn--wa .ic { fill: var(--wa-deep); }
.cta .btn--wa:hover { background: #f2fff7; }
.cta .btn--ghost { border-color: rgba(255,255,255,.7); }
.cta__social { margin-top: 28px; display: flex; gap: 12px; justify-content: center; }
.cta__social a { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.16); color: #fff; transition: transform .18s, background .18s; }
.cta__social a .ic { width: 22px; height: 22px; fill: currentColor; }
.cta__social a:hover { transform: translateY(-3px); background: rgba(255,255,255,.28); }

/* ================= FOOTER ================= */
.site-footer { background: #0c1029; color: #b9bde0; padding-top: clamp(48px, 6vw, 80px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag { color: var(--gold); }
.footer__about { margin-top: 16px; max-width: 40ch; font-size: .96rem; color: #9297c4; }
.footer__social { margin-top: 20px; }
.footer__col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col a { display: block; padding: 5px 0; color: #b9bde0; font-size: .98rem; transition: color .15s, padding-left .15s; }
.footer__col a:hover { color: var(--gold); padding-left: 5px; }
.footer__bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: .9rem; color: #7f84b0; }

/* ================= FLOATING WHATSAPP ================= */
.fab-wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(34,195,94,.7); animation: pulse 2.6s ease-in-out infinite; transition: transform .2s ease; }
.fab-wa .ic { fill: #fff; width: 28px; height: 28px; }
.fab-wa:hover { transform: scale(1.08); }
@keyframes pulse { 0%,100% { box-shadow: 0 14px 30px -8px rgba(34,195,94,.7), 0 0 0 0 rgba(34,195,94,.5); } 50% { box-shadow: 0 14px 30px -8px rgba(34,195,94,.7), 0 0 0 14px rgba(34,195,94,0); } }

/* ================= REVEAL ================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1000px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about-lede { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; margin: 0; box-shadow: var(--shadow-md); transform: translateY(-140%); transition: transform .32s cubic-bezier(.4,0,.2,1); max-height: calc(100dvh - 72px); overflow: auto; }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav a:last-child { border-bottom: 0; }
  .nav-toggle { display: flex; }
  .header-cta .btn--wa span { display: none; }
  .header-cta .btn--wa { padding: 10px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(-n+4)::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .modal__dialog { grid-template-columns: 1fr; }
  .modal__media { max-height: 34vh; }
}
@media (max-width: 620px) {
  .brand__tag { display: none; }
  .hero__wing { height: 40%; inset: auto -10% -30% -10%; }
  .cat__head { flex-direction: column; gap: 6px; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__trust { gap: 12px 24px; }
  .fab-wa { width: 52px; height: 52px; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}

/* ================= REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
  .fab-wa { animation: none; }
}

/* =========================================================
   ONLINE PRINT ORDER  (print.html, and the print queue in admin.html)
   ========================================================= */
.print-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(24px, 3vw, 44px); align-items: start; }
.print-flow { display: grid; gap: 20px; }
.print-flow.is-locked { opacity: .55; pointer-events: none; }

.pstep { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); padding: clamp(20px, 2.4vw, 30px); }
.pstep__title { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; margin-bottom: 20px; }
.pstep__n { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; font-size: .9rem; }

.optset { border: 0; padding: 0; margin: 0 0 20px; }
.optset legend { font-size: .84rem; font-weight: 700; color: var(--ink); margin-bottom: 9px; padding: 0; }
.opts { display: grid; gap: 10px; }
.opts--2 { grid-template-columns: 1fr 1fr; }
.opt { position: relative; display: block; cursor: pointer; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper); transition: border-color .15s, background .15s, box-shadow .15s; }
.opt:hover { border-color: var(--saffron); }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt b { display: block; font-size: .96rem; color: var(--ink); }
.opt small { display: block; margin-top: 2px; font-size: .8rem; color: var(--muted); }
.opt:has(input:checked) { border-color: var(--saffron); background: #fff; box-shadow: 0 0 0 3px rgba(245,119,26,.14); }
.opt:has(input:focus-visible) { outline: 3px solid var(--saffron); outline-offset: 2px; }
.opt__ic { display: block; font-size: 1.3rem; line-height: 1; margin-bottom: 7px; }
.opt__ic--bw, .opt__ic--color { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); }
.opt__ic--bw { background: linear-gradient(135deg, #fff 50%, #1a1a1a 50%); }
.opt__ic--color { background: conic-gradient(#f5771a, #ffb43b, #22c35e, #2f6fed, #b93bd6, #f5771a); }

.stepper { display: grid; grid-template-columns: 46px 1fr 46px; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--paper); }
.stepper__b { font-size: 1.3rem; font-weight: 800; color: var(--ink); background: var(--paper-2); transition: background .15s; }
.stepper__b:hover { background: var(--saffron); color: #fff; }
.stepper input { border: 0 !important; border-radius: 0 !important; text-align: center; font-weight: 800; background: #fff !important; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.drop { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 34px 20px; cursor: pointer; border: 2px dashed rgba(18,22,58,.22); border-radius: var(--r); background: var(--paper); transition: border-color .15s, background .15s, transform .15s; }
.drop:hover, .drop.is-over { border-color: var(--saffron); background: var(--paper-2); }
.drop.is-over { transform: scale(1.01); }
.drop b { font-size: 1.05rem; color: var(--ink); }
.drop span:not(.drop__ic) { font-size: .87rem; color: var(--muted); max-width: 42ch; }
.drop__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.2rem; font-weight: 800; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.hint { margin-top: 9px; font-size: .82rem; color: var(--muted); }
.opt-tag { font-weight: 600; color: var(--muted); text-transform: none; letter-spacing: 0; }

.filelist { margin-top: 14px; display: grid; gap: 8px; }
.filelist li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 11px 14px; background: var(--paper-2); border-radius: var(--r-sm); font-size: .9rem; }
.filelist__n { font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filelist__s { color: var(--muted); font-size: .82rem; }
.filelist__x { width: 26px; height: 26px; border-radius: 50%; font-size: 1.1rem; line-height: 1; color: var(--muted); background: #fff; }
.filelist__x:hover { background: #e5484d; color: #fff; }

.err { display: none; margin: 12px 0 0; font-size: .9rem; font-weight: 700; color: #c32a2f; }
.err.is-shown { display: block; }

.psum { position: sticky; top: 92px; display: grid; gap: 14px; }
.psum__card { background: var(--ink); color: #fff; border-radius: var(--r); padding: 22px; }
.psum__card--soft { background: #fff; color: var(--text); border: 1px solid var(--line); }
.psum__title { font-size: 1.05rem; font-weight: 800; margin-bottom: 14px; }
.psum__card--soft h3 { font-size: .96rem; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.psum__list { display: grid; gap: 8px; font-size: .88rem; }
.psum__list div { display: flex; justify-content: space-between; gap: 14px; }
.psum__list dt { color: var(--muted-light); }
.psum__list dd { font-weight: 700; text-align: right; }
.psum__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-light); font-weight: 800; }
.psum__total b { font-size: 1.7rem; color: var(--gold); font-family: var(--sans); }
.psum__note { margin-top: 10px; font-size: .78rem; color: var(--muted-light); }
.psum__fine { margin-top: 10px; font-size: .78rem; color: var(--muted); }
.ratecard { display: grid; gap: 7px; font-size: .86rem; }
.ratecard li { display: flex; justify-content: space-between; gap: 12px; }
.ratecard span { color: var(--muted); }
.ratecard b { color: var(--ink); }

.pay { grid-column: 1 / -1; }
.pay__lead { margin-bottom: 18px; color: var(--muted); }
.pay__lead b { color: var(--ink); }
.pay__amt { font-size: 1.25rem; color: var(--saffron-deep); }
.paytabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.paytab { padding: 11px 20px; border-radius: 999px; font-weight: 800; font-size: .9rem; color: var(--muted); background: var(--paper-2); }
.paytab.is-on { background: var(--ink); color: #fff; }
.upi { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.upi__qr { text-align: center; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.upi__qr img { border-radius: 8px; margin-inline: auto; background: #fff; }
.upi__vpa { margin-top: 10px; font-size: .8rem; color: var(--muted); word-break: break-all; }
.upi__vpa b { color: var(--ink); }

.status { grid-column: 1 / -1; text-align: center; }
.status__ic { font-size: 3rem; line-height: 1; margin-bottom: 12px; }
.status__title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; color: var(--ink); }
.status__msg { margin-top: 10px; color: var(--muted); }
.status__id { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.status__id b { color: var(--saffron-deep); font-size: 1.05rem; letter-spacing: .04em; }
.status__act { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

.howto { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: h; }
.howto li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.howto b { font-family: var(--display); font-size: 1.6rem; color: var(--saffron); }
.howto h3 { margin-top: 6px; font-size: 1.02rem; font-weight: 800; color: var(--ink); }
.howto p { margin-top: 6px; font-size: .9rem; color: var(--muted); }

/* ---------- admin queue ---------- */
.adm { padding-block: 26px 80px; }
.adm__bar { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--ink); color: #fff; border-radius: var(--r); margin-bottom: 22px; }
.adm__bar h1 { font-size: 1.1rem; font-weight: 800; }
.adm__meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: .82rem; color: var(--muted-light); }
.adm__meta b { color: #fff; }
.adm__grid { display: grid; gap: 14px; }
.job { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; align-items: start; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--muted); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.job[data-s="paid"], .job[data-s="printing"] { border-left-color: var(--saffron); }
.job[data-s="counter"], .job[data-s="awaiting_flip"] { border-left-color: var(--gold); }
.job[data-s="done"] { border-left-color: var(--wa); }
.job[data-s="failed"], .job[data-s="rejected"] { border-left-color: #e5484d; }
.job__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.job__id { font-weight: 800; color: var(--ink); letter-spacing: .04em; }
.job__amt { font-weight: 800; color: var(--saffron-deep); }
.job__badge { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; padding: 3px 10px; border-radius: 999px; background: var(--paper-2); color: var(--muted); }
.job[data-s="paid"] .job__badge, .job[data-s="printing"] .job__badge { background: var(--saffron); color: #fff; }
.job[data-s="counter"] .job__badge, .job[data-s="awaiting_flip"] .job__badge { background: var(--gold); color: var(--ink); }
.job[data-s="done"] .job__badge { background: var(--wa); color: #fff; }
.job[data-s="failed"] .job__badge, .job[data-s="rejected"] .job__badge { background: #e5484d; color: #fff; }
.job__spec { margin-top: 7px; font-size: .88rem; color: var(--muted); }
.job__who { margin-top: 5px; font-size: .86rem; color: var(--ink); font-weight: 600; }
.job__files { margin-top: 7px; font-size: .82rem; color: var(--muted); word-break: break-word; }
.job__note { margin-top: 7px; font-size: .84rem; color: var(--ink); background: var(--paper-2); padding: 7px 11px; border-radius: 8px; }
.job__msg { margin-top: 7px; font-size: .82rem; color: var(--muted); font-style: italic; }
.job__act { display: grid; gap: 8px; align-content: start; }
.job__act .btn { padding: 9px 16px; font-size: .86rem; }
.btn--warn { background: #e5484d; color: #fff; }
.btn--warn:hover { background: #c32a2f; }
.adm__empty { text-align: center; padding: 60px 20px; color: var(--muted); }

@media (max-width: 1000px) {
  .print-layout { grid-template-columns: 1fr; }
  .psum { position: static; order: -1; }
  .howto { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .upi { grid-template-columns: 1fr; }
  .upi__qr { max-width: 260px; margin-inline: auto; }
  .job { grid-template-columns: 1fr; }
  .job__act { grid-auto-flow: column; justify-content: start; }
}
@media (max-width: 560px) {
  .opts--2 { grid-template-columns: 1fr; }
  .howto { grid-template-columns: 1fr; }
  .job__act { grid-auto-flow: row; }
}

/* =========================================================================
   ACCOUNTS — login, customer dashboard, partner portal, back office
   ========================================================================= */

/* --- shared bits --- */
.btn--acct { padding: 11px 18px; }
.btn--acct .ic { width: 18px; height: 18px; fill: currentColor; }
.btn--ink-ghost { color: var(--ink); border-color: var(--line); }
.btn--ink-ghost:hover { background: var(--paper-2); border-color: var(--ink); color: var(--ink); }
.card-plain { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.panel-title { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: .01em; color: var(--ink); margin: 0 0 18px; }
.hist .panel-title { margin-top: 34px; }
.hist .panel-title:first-child { margin-top: 0; }
.mini { font-size: .84rem; color: var(--muted); line-height: 1.7; }
.page-hero--tight { padding-block: clamp(34px, 5vw, 56px); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; color: var(--saffron-deep); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--ink); }
.form-status.is-ok { color: var(--wa); }
.form-status.is-err { color: #c32a2f; }
.tickcol { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.tickcol li { position: relative; padding-left: 26px; font-size: .9rem; color: var(--text); line-height: 1.6; }
.tickcol li::before { content: ""; position: absolute; left: 0; top: .4em; width: 14px; height: 8px; border-left: 2.5px solid var(--saffron); border-bottom: 2.5px solid var(--saffron); transform: rotate(-45deg); }
.pill { flex: none; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 11px; border-radius: 999px; background: var(--paper-2); color: var(--muted); white-space: nowrap; }
.pill--ok { background: var(--wa); color: #fff; }
.pill--off { background: #e9e5e0; color: var(--muted); }
.doclink { display: inline-block; margin: 0 7px 7px 0; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); font-size: .8rem; font-weight: 700; color: var(--ink); text-decoration: none; word-break: break-all; }
.doclink:hover { background: var(--gold); border-color: var(--gold); }
.doclink em { font-style: normal; font-weight: 600; color: var(--muted); }
.ok { color: var(--wa); }
.warn { color: #c32a2f; }
.sm-docs { font-size: .88rem; }

/* --- login --- */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 3vw, 34px); align-items: start; }
.auth-aside { display: grid; gap: 16px; }
.tabs { display: grid; grid-auto-flow: column; gap: 6px; background: var(--paper-2); border-radius: 999px; padding: 5px; margin-bottom: 24px; }
.tab { font: inherit; font-size: .88rem; font-weight: 800; color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 10px 6px; cursor: pointer; transition: background .15s, color .15s; }
.tab:hover { color: var(--ink); }
.tab.is-on { background: var(--ink); color: #fff; }
.tabpane { display: none; }
.tabpane.is-on { display: block; }
.auth-swap, .auth-note { margin-top: 16px; font-size: .86rem; color: var(--muted); text-align: center; }
.auth-note a { font-weight: 700; color: var(--saffron-deep); }

/* --- customer dashboard --- */
.dash { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 34px); align-items: start; }
.docsbox { background: var(--paper-2); border: 1px dashed var(--saffron); border-radius: var(--r-sm); padding: 16px 18px; margin-bottom: 20px; }
.docsbox__head { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--saffron-deep); margin: 0 0 11px; }
.opts2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt__b { display: block; }
.opt__b em { display: block; margin-top: 3px; font-style: normal; font-size: .8rem; color: var(--muted); }
.feeline { margin: 0 0 16px; font-size: .88rem; color: var(--ink); background: var(--paper-2); border-radius: var(--r-sm); padding: 11px 14px; }
.hist { display: grid; align-content: start; }
.enq { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--muted-light); border-radius: var(--r); padding: 18px 20px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.enq[data-s="new"] { border-left-color: var(--gold); }
.enq[data-s="contacted"], .enq[data-s="in-progress"], .enq[data-s="printing"], .enq[data-s="paid"] { border-left-color: var(--saffron); }
.enq[data-s="docs-pending"], .enq[data-s="awaiting_flip"], .enq[data-s="counter"], .enq[data-s="quoted"] { border-left-color: #e5a400; }
.enq[data-s="done"] { border-left-color: var(--wa); }
.enq[data-s="cancelled"], .enq[data-s="rejected"], .enq[data-s="failed"] { border-left-color: #e5484d; }
.enq__top { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; }
.enq__top h3 { font-size: 1.02rem; color: var(--ink); margin: 0; }
.enq__meta { margin: 3px 0 0; font-size: .78rem; color: var(--muted); letter-spacing: .03em; }
.enq__line { margin: 9px 0 0; font-size: .87rem; color: var(--text); }
.enq__docs { margin: 12px 0 0; }
.enq__log { margin: 11px 0 0; font-size: .8rem; font-style: italic; color: var(--muted); }
.upl { display: inline-block; margin-top: 13px; }
.upl .btn { padding: 9px 16px; font-size: .84rem; color: var(--ink); border-color: var(--line); }
.upl:hover .btn { background: var(--paper-2); border-color: var(--ink); }

/* --- back office --- */
.admin-body { background: var(--paper); }
.abar { position: sticky; top: 0; z-index: 40; background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.abar__in { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 13px clamp(16px, 4vw, 40px); }
.abar__brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; }
.abar__brand b { color: var(--gold); }
.abar__stat { flex: 1 1 260px; margin: 0; font-size: .84rem; color: rgba(255,255,255,.72); }
.abar__act { display: flex; gap: 8px; }
.abar__act .btn { padding: 9px 16px; font-size: .84rem; }
.atabs { display: flex; gap: 4px; overflow-x: auto; padding: 0 clamp(16px, 4vw, 40px); background: var(--ink-2); }
.atab { flex: none; font: inherit; font-size: .86rem; font-weight: 700; color: rgba(255,255,255,.66); background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 14px; cursor: pointer; white-space: nowrap; }
.atab:hover { color: #fff; }
.atab.is-on { color: #fff; border-bottom-color: var(--saffron); }
.cnt { display: inline-block; min-width: 20px; margin-left: 5px; padding: 1px 6px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: .74rem; }
.atab.is-on .cnt { background: var(--saffron); }
.apage { padding: clamp(18px, 3vw, 30px) clamp(16px, 4vw, 40px) 70px; }
.apage .btn--ghost { color: var(--ink); border-color: var(--line); }
.apage .btn--ghost:hover { background: var(--paper-2); border-color: var(--ink); color: var(--ink); }
.abanner { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--r-sm); font-size: .9rem; font-weight: 700; background: var(--paper-2); color: var(--ink); }
.abanner.is-ok { background: #e6f7ec; color: #127a3d; }
.abanner.is-err { background: #fdeaea; color: #c32a2f; }
.apane { display: none; }
.apane.is-on { display: block; }
.afilter { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 18px; }
.afilter label { font-size: .78rem; font-weight: 700; color: var(--muted); display: grid; gap: 5px; }
.afilter input, .afilter select { font: inherit; font-size: .9rem; color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 9px 12px; min-width: 190px; }
.ahint { font-size: .82rem; color: var(--muted); margin: 0 0 14px; }
.alist { display: grid; gap: 14px; }
.acard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.aform { margin-bottom: 22px; }
.aform h2 { font-size: 1.1rem; color: var(--ink); margin: 0 0 6px; }
.agrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 16px; }
.agrid label { display: grid; gap: 5px; font-size: .78rem; font-weight: 700; color: var(--ink); }
.agrid .wide { grid-column: 1 / -1; }
.agrid input, .agrid textarea { font: inherit; font-size: .92rem; font-weight: 400; color: var(--text); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; }
.agrid textarea { resize: vertical; }
.agrid input:focus, .agrid textarea:focus, .afilter input:focus, .afilter select:focus { outline: none; border-color: var(--saffron); background: #fff; box-shadow: 0 0 0 4px rgba(245,119,26,.12); }
.agrid .ahint { margin: 0; font-weight: 500; }
.aform .btn { margin-right: 8px; }
.atablewrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.atable { width: 100%; border-collapse: collapse; font-size: .88rem; }
.atable th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--paper-2); white-space: nowrap; }
.atable td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.atable tr:last-child td { border-bottom: 0; }
.atable .mini { font-size: .74rem; }
.acts { display: flex; flex-wrap: wrap; gap: 6px; }
.acts .btn { padding: 7px 12px; font-size: .78rem; }
.aenq__top { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; }
.aenq__top h3 { font-size: 1rem; color: var(--ink); margin: 0; }
.aenq__who { font-weight: 600; font-size: .86rem; color: var(--muted); }
.aenq__meta { margin: 3px 0 0; font-size: .76rem; color: var(--muted); letter-spacing: .03em; }
.aenq__line { margin: 8px 0 0; font-size: .86rem; color: var(--text); }
.aenq__docs { margin: 11px 0 0; }
.nodoc { font-size: .8rem; color: var(--muted); font-style: italic; }
.aenq__act { display: flex; flex-wrap: wrap; gap: 9px; align-items: end; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.aenq__act label { display: grid; gap: 4px; font-size: .72rem; font-weight: 700; color: var(--muted); }
.aenq__act select, .aenq__act input[type="number"], .aenq__act input[type="text"] { font: inherit; font-size: .86rem; color: var(--text); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 8px 10px; }
.aenq__act input[type="number"] { width: 100px; }
.aenq__act input[type="text"] { flex: 1 1 200px; min-width: 150px; }
.aenq__act .chk { display: flex; flex-direction: row; align-items: center; gap: 6px; font-size: .84rem; color: var(--ink); padding-bottom: 9px; }
.aenq__act .btn { padding: 9px 16px; font-size: .84rem; }
.alog { margin-top: 12px; font-size: .8rem; color: var(--muted); }
.alog summary { cursor: pointer; font-weight: 700; }
.alog ol { margin: 9px 0 0; padding-left: 18px; display: grid; gap: 5px; }
.alog span { color: var(--muted-light); }
.aenq, .ajob { border-left: 5px solid var(--muted-light); }
.aenq[data-s="new"], .ajob[data-s="quoted"] { border-left-color: var(--gold); }
.aenq[data-s="contacted"], .aenq[data-s="in-progress"], .ajob[data-s="paid"], .ajob[data-s="printing"] { border-left-color: var(--saffron); }
.aenq[data-s="docs-pending"], .ajob[data-s="counter"], .ajob[data-s="awaiting_flip"] { border-left-color: #e5a400; }
.aenq[data-s="done"], .ajob[data-s="done"] { border-left-color: var(--wa); }
.aenq[data-s="cancelled"], .ajob[data-s="rejected"], .ajob[data-s="failed"] { border-left-color: #e5484d; }

@media (max-width: 900px) {
  .auth-wrap, .dash { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .opts2 { grid-template-columns: 1fr; }
  .tabs { grid-auto-flow: row; border-radius: var(--r-sm); }
  .tab { border-radius: var(--r-sm); }
  .aenq__act { flex-direction: column; align-items: stretch; }
  .aenq__act input[type="number"] { width: 100%; }
}
