/* ==========================================================================
   Sagarsan Services — Design System
   --------------------------------------------------------------------------
   Palette:   Deep navy #0F1E46, Teal accent #00B4B4, Indigo accent #5B63D3
   Typography: Plus Jakarta Sans (UI), Fraunces (display headings), Inter (body)
   Philosophy: Premium corporate trust — clean, high contrast, generous whitespace,
               subtle motion, no glassmorphism overused, no gradients-as-crutch.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Palette */
  --navy-900: #0A1530;
  --navy-800: #0F1E46;
  --navy-700: #17296A;
  --navy-600: #1C3B8A;
  --navy-500: #2C52B5;

  --teal-500: #00B4B4;
  --teal-400: #1FCFCF;
  --teal-100: #E0F7F7;

  --indigo-500: #5B63D3;
  --indigo-100: #E8EAFB;

  --amber-500: #F5A623;
  --amber-100: #FFF3D9;

  --green-500: #0B7A3B;
  --green-100: #E6F7EC;
  --red-500:   #A1182A;
  --red-100:   #FDE7EA;

  --ink-900: #0F1E46;
  --ink-700: #3A4766;
  --ink-500: #6B7A9E;
  --ink-400: #8B97B8;
  --ink-300: #B8C1D6;
  --line:    #E0E5F0;
  --line-soft:#EEF1F7;
  --bg:      #F7F8FC;
  --bg-soft: #FBFCFF;
  --white:   #FFFFFF;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-ui:      'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  /* Rhythm */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-xs: 0 1px 2px rgba(15,30,70,.04);
  --shadow-sm: 0 2px 6px rgba(15,30,70,.06);
  --shadow:    0 6px 18px rgba(15,30,70,.08);
  --shadow-lg: 0 14px 34px rgba(15,30,70,.12);

  --container: 1200px;
  --ease:      cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--navy-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--teal-500); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -.018em;
  line-height: 1.12;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); }
h4 { font-size: 1.125rem; font-family: var(--font-ui); font-weight: 700; letter-spacing: -.005em; }
p  { margin: 0 0 1em; color: var(--ink-700); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1.5px;
  background: var(--teal-500);
  display: inline-block;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.005em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary   { background: var(--navy-800); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover   { background: var(--navy-700); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary { background: var(--white); color: var(--navy-800); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--navy-800); color: var(--navy-800); }
.btn-accent    { background: var(--teal-500); color: var(--white); }
.btn-accent:hover    { background: #009999; color: var(--white); transform: translateY(-1px); }
.btn-ghost     { background: transparent; color: var(--navy-800); }
.btn-ghost:hover     { background: var(--bg); color: var(--navy-800); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.btn svg { width: 18px; height: 18px; }

/* ---------------- Header / Navigation ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-900); }
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 50%, var(--teal-500) 100%);
  display: inline-grid; place-items: center;
  color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 18px;
  box-shadow: inset 0 -2px 6px rgba(0,0,0,.15);
}
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-700);
  position: relative;
  padding: 8px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy-800); }
.nav-links a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--teal-500); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
  width: 42px; height: 42px; border-radius: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink-900); margin: 5px auto; transition: transform .2s, opacity .2s; }

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-block; }
  .nav-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); padding: 14px 24px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-open .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-open .nav-cta { display: flex; margin-top: 12px; }
  .nav-open .nav-cta .btn { width: 100%; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 72px 0 96px;
  background:
    radial-gradient(1100px 460px at 85% -10%, rgba(0,180,180,.10), transparent 60%),
    radial-gradient(900px 420px at 10% 10%, rgba(91,99,211,.08), transparent 60%),
    var(--bg-soft);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: center; }
.hero h1 { font-family: var(--font-display); font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--navy-600); font-weight: 500; }
.hero .lede {
  font-size: 1.125rem;
  color: var(--ink-700);
  max-width: 560px;
  line-height: 1.65;
  margin: 18px 0 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 28px;
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.hero-meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero-meta-item .n { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--ink-900); letter-spacing: -.02em; }
.hero-meta-item .l { font-size: 13px; color: var(--ink-500); font-weight: 500; }

.hero-visual {
  position: relative;
  aspect-ratio: 1.05 / 1;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 300px at 80% 20%, rgba(0,180,180,.18), transparent 60%),
    linear-gradient(145deg, var(--navy-900), var(--navy-700));
  padding: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: var(--white);
}
.hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 80% 20%, #000 40%, transparent 80%);
}
.hv-card {
  position: absolute;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 14px 18px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: rgba(255,255,255,.94);
}
.hv-card strong { display: block; font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.hv-card small  { color: rgba(255,255,255,.62); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.hv-card.c1 { top: 36px;    left: 36px;  }
.hv-card.c2 { top: 36%;     right: 28px; }
.hv-card.c3 { bottom: 36px; left: 28px;  }
.hv-card .dot { display:inline-block; width:8px; height:8px; border-radius:50%; background: var(--teal-400); margin-right:8px; box-shadow: 0 0 10px var(--teal-400); }

@media (max-width: 960px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { aspect-ratio: 1.1 / 1; padding: 24px; }
}

/* ---------------- Section + cards ---------------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-dark { background: var(--navy-900); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.76); }
.section-soft { background: var(--bg); }

.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head p { font-size: 1.05rem; color: var(--ink-700); margin-top: 14px; }
.section-head.left { margin-left: 0; text-align: left; }

.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }

.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card { position: relative; }
.service-card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-100), var(--indigo-100));
  display: grid; place-items: center;
  color: var(--navy-700);
  margin-bottom: 18px;
}
.service-card h3 { font-family: var(--font-ui); font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; }
.service-card p { font-size: .95rem; margin-bottom: 18px; }
.service-card .learn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-ui); font-weight: 600; font-size: 14px;
  color: var(--navy-800);
}
.service-card .learn::after { content: "→"; transition: transform .2s var(--ease); }
.service-card:hover .learn::after { transform: translateX(4px); }

/* ---------------- Feature strip ---------------- */
.feature-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.feature {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 8px 0;
}
.feature .f-ico {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px;
  background: var(--teal-100); color: var(--teal-500);
  display: grid; place-items: center;
}
.feature strong { font-family: var(--font-ui); font-weight: 700; display: block; margin-bottom: 4px; color: var(--ink-900); }
.feature p { font-size: .9rem; margin: 0; }

/* ---------------- Packages grid (pricing) ---------------- */
.pkg-tabs {
  display: inline-flex; padding: 4px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 999px; margin-bottom: 36px;
}
.pkg-tabs button {
  padding: 10px 22px; border: 0; background: transparent;
  font-family: var(--font-ui); font-weight: 600; font-size: 14px;
  color: var(--ink-700); border-radius: 999px; cursor: pointer;
  transition: all .2s var(--ease);
}
.pkg-tabs button.active { background: var(--white); color: var(--navy-800); box-shadow: var(--shadow-xs); }

.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.pkg-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative;
}
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pkg-card.featured { border-color: var(--navy-800); box-shadow: 0 0 0 3px rgba(15,30,70,.06); }
.pkg-card.featured::after {
  content: "Most popular";
  position: absolute; top: -12px; right: 18px;
  background: var(--navy-800); color: #fff;
  font-family: var(--font-ui); font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.pkg-card h3 { font-family: var(--font-ui); font-size: 1.1rem; font-weight: 700; letter-spacing: -.005em; margin-bottom: 8px; }
.pkg-card .pkg-desc { font-size: .92rem; color: var(--ink-700); margin-bottom: 18px; min-height: 42px; }
.pkg-card .pkg-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.pkg-card .pkg-price .now { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--ink-900); letter-spacing: -.02em; }
.pkg-card .pkg-price .was { font-size: .9rem; color: var(--ink-400); text-decoration: line-through; }
.pkg-card ul { list-style: none; padding: 0; margin: 0 0 22px; }
.pkg-card ul li {
  font-size: .9rem; color: var(--ink-700); padding: 7px 0 7px 26px;
  position: relative; border-bottom: 1px dashed var(--line-soft);
}
.pkg-card ul li:last-child { border-bottom: 0; }
.pkg-card ul li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--teal-100) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='none' stroke='%2300B4B4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.5l2.5 2.5 4.5-5.5'/></svg>") center/contain no-repeat;
}
.pkg-card .pkg-meta { font-size: 12px; color: var(--ink-500); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.pkg-card .pkg-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-400); display:inline-block; }
.pkg-card .pkg-cta { margin-top: auto; }

/* ---------------- Process / steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.step { padding: 28px; background: var(--white); border-right: 1px solid var(--line-soft); position: relative; }
.step:last-child { border-right: 0; }
.step .num {
  font-family: var(--font-display); font-size: 40px; font-weight: 700;
  color: var(--teal-500); line-height: 1; letter-spacing: -.03em; margin-bottom: 12px; opacity: .85;
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: .92rem; margin: 0; }

@media (max-width: 720px) {
  .step { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .step:last-child { border-bottom: 0; }
}

/* ---------------- Industry / trust strip ---------------- */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 44px; justify-content: center; align-items: center;
  padding: 26px 0; opacity: .72;
}
.trust-strip span {
  font-family: var(--font-ui); font-weight: 600; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500);
}

/* ---------------- FAQ ---------------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  cursor: pointer; list-style: none;
  font-family: var(--font-ui); font-weight: 600; font-size: 1.05rem; color: var(--ink-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg); display: grid; place-items: center;
  font-weight: 700; font-size: 18px; color: var(--ink-700);
  transition: transform .25s var(--ease), background .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--navy-800); color: var(--white); }
.faq-item .a { color: var(--ink-700); padding-top: 14px; font-size: .98rem; line-height: 1.7; }

/* ---------------- Forms ---------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-ui); font-weight: 600; font-size: 13px;
  color: var(--ink-700); letter-spacing: -.005em;
}
.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-900);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(28,59,138,.12);
}
.field .hint { font-size: 12px; color: var(--ink-500); }
.field .err  { font-size: 12px; color: var(--red-500); }

.alert {
  padding: 14px 18px; border-radius: var(--radius);
  font-size: .95rem; line-height: 1.55;
  border-left: 3px solid;
  margin-bottom: 22px;
}
.alert-ok  { background: var(--green-100); color: var(--green-500); border-color: var(--green-500); }
.alert-err { background: var(--red-100);   color: var(--red-500);   border-color: var(--red-500); }
.alert-info{ background: var(--teal-100);  color: #007a7a;           border-color: var(--teal-500); }

/* ---------------- CTA band ---------------- */
.cta-band {
  margin: 96px 0 0;
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 300px at 90% 0%, rgba(0,180,180,.22), transparent 60%),
              radial-gradient(600px 260px at 0% 100%, rgba(91,99,211,.22), transparent 60%);
}
.cta-band .container { position: relative; display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: center; }
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); }
.cta-band p { color: rgba(255,255,255,.8); margin: 10px 0 0; font-size: 1.05rem; }
.cta-band .cta-wrap { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 820px) {
  .cta-band .container { grid-template-columns: 1fr; }
  .cta-band .cta-wrap { justify-content: flex-start; }
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.75);
  padding: 64px 0 28px;
  font-size: .92rem;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,.65); margin-top: 14px; font-size: .92rem; }
.footer-col h4 { color: var(--white); font-family: var(--font-ui); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.72); transition: color .2s; }
.footer-col a:hover { color: var(--teal-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: rgba(255,255,255,.55); font-size: .82rem;
}
.footer-bottom .policies { display: flex; gap: 22px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------------- Breadcrumbs + page hero ---------------- */
.page-hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(600px 260px at 90% -10%, rgba(0,180,180,.10), transparent 70%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
}
.breadcrumbs { font-size: 13px; color: var(--ink-500); margin-bottom: 14px; }
.breadcrumbs a { color: var(--ink-500); }
.breadcrumbs a:hover { color: var(--navy-800); }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lede { font-size: 1.1rem; max-width: 720px; color: var(--ink-700); }

/* ---------------- Checkout / payment ---------------- */
.checkout-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }

.summary {
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky; top: 100px;
}
.summary h3 { font-family: var(--font-ui); font-weight: 700; font-size: 1.05rem; margin-bottom: 18px; }
.summary .line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.summary .line:last-child { border: 0; }
.summary .total { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--navy-800); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink-900); }

.qr-wrap {
  display: flex; flex-direction: column; align-items: center;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.qr-wrap img { width: 260px; height: 260px; border-radius: var(--radius); }
.upi-apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.upi-app {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink-900); font-weight: 600; font-size: 14px;
  background: var(--white); transition: all .2s;
}
.upi-app:hover { border-color: var(--navy-800); background: var(--bg-soft); }
.upi-app .badge {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  color: var(--white); font-weight: 700; font-size: 14px;
}

/* Status pills */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  font-family: var(--font-ui); font-size: 12px; font-weight: 600;
}
.pill-ok   { background: var(--green-100); color: var(--green-500); }
.pill-warn { background: var(--amber-100); color: #8a5a00; }
.pill-err  { background: var(--red-100);   color: var(--red-500); }
.pill-info { background: var(--teal-100);  color: #007a7a; }

/* ---------------- Admin panel ---------------- */
.admin-body { background: var(--bg); min-height: 100vh; }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--navy-900); color: rgba(255,255,255,.8); padding: 24px 18px; position: sticky; top: 0; height: 100vh; }
.admin-sidebar .brand { display: flex; gap: 10px; align-items: center; margin-bottom: 28px; color: var(--white); }
.admin-sidebar .brand .logo-text { color: var(--white); font-size: 18px; }
.admin-sidebar nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 8px;
  color: rgba(255,255,255,.72); font-size: 14px; font-weight: 500;
  margin-bottom: 4px;
}
.admin-sidebar nav a.active, .admin-sidebar nav a:hover { background: rgba(255,255,255,.08); color: var(--white); }
.admin-main { padding: 28px 36px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.admin-topbar h1 { font-family: var(--font-display); font-size: 1.75rem; margin: 0; }
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.kpi { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px 20px; }
.kpi .l { font-size: 12px; color: var(--ink-500); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.kpi .n { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--ink-900); margin-top: 4px; letter-spacing: -.02em; }
.table-wrap { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; font-size: 13px; }
.data-table thead th { background: var(--bg); font-weight: 600; color: var(--ink-500); text-transform: uppercase; font-size: 11px; letter-spacing: .08em; border-bottom: 1px solid var(--line-soft); }
.data-table tbody tr { border-bottom: 1px solid var(--line-soft); }
.data-table tbody tr:last-child { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--bg-soft); }

@media (max-width: 820px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-sidebar nav { display: flex; overflow-x: auto; gap: 4px; }
  .admin-sidebar nav a { flex-shrink: 0; }
  .admin-main { padding: 20px; }
}

/* ---------------- Utilities ---------------- */
.muted { color: var(--ink-500); }
.center { text-align: center; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 820px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-up { animation: fadeUp .6s var(--ease) both; }
.d-100 { animation-delay: .10s; } .d-200 { animation-delay: .20s; } .d-300 { animation-delay: .30s; }

/* Hidden */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
