/* =====================================================================
   Satyam Digital Lab — styles.css
   Layout: one 1120px container, slim sticky header, hash-routed pages.
   Borders and whitespace do most of the work; shadows are rare.
   Spacing follows a 4px/8px scale (--s1 … --s10).
   ===================================================================== */

:root {
  /* Colour tokens — light */
  --bg: #F4F5F7;
  --surface: #FFFFFF;
  --surface-2: #EEF0F4;
  --ink: #161C2B;
  --ink-2: #394154;
  --muted: #5B6376;
  --line: #DCE0E7;
  --line-strong: #C2C8D3;
  --accent: #2D55D6;
  --accent-hover: #2346B8;
  --accent-ink: #FFFFFF;
  --accent-soft: #E7ECFB;
  --navy: #141B2D;
  --hero-bg: #0E1A3A;
  --tint-bg: #EAEEF6;
  --navy-2: #1D2640;
  --on-navy: #EDF0F6;
  --on-navy-muted: #A7B0C3;
  --success: #1D7A4B;
  --success-soft: #E2F3E9;
  --error: #B42318;
  --error-soft: #FCEAE8;
  --warn: #7A5200;
  --warn-soft: #FBF1DA;
  --shadow: 0 1px 2px rgba(20, 27, 45, .05), 0 6px 18px rgba(20, 27, 45, .07);
  --focus: 0 0 0 3px rgba(45, 85, 214, .35);

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: clamp(1.75rem, 1.2rem + 1.8vw, 2.25rem);
  --fs-hero: clamp(2rem, 1.3rem + 2.6vw, 3.1rem);

  /* Spacing (4px base) */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 20px;
  --s6: 24px; --s7: 32px; --s8: 40px; --s9: 56px; --s10: 80px;

  /* Shape */
  --r: 6px;
  --r-sm: 4px;
  --btn-h: 44px;
  --btn-h-sm: 38px;
  --container: 1120px;
  --gutter: 20px;
  --header-h: 64px;

  /* This site uses one light theme on purpose, regardless of the device's dark mode. */
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; color: var(--ink); }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s4); top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: var(--s2) var(--s4); border-radius: var(--r);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: var(--s2); color: var(--bg); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.icon { display: inline-flex; width: 20px; height: 20px; flex: none; }
.icon svg { width: 100%; height: 100%; }
.mono { font-family: var(--font-mono); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-title { font-size: var(--fs-2xl); font-weight: 700; }
.section-lead { color: var(--muted); max-width: 60ch; font-size: var(--fs-md); }
.section-head { display: grid; gap: var(--s3); margin-bottom: var(--s7); }
.section-head--split { grid-template-columns: 1fr auto; align-items: end; gap: var(--s4) var(--s6); }
.prose { max-width: 68ch; color: var(--ink-2); }
.prose > * + * { margin-top: var(--s4); }
.prose h2 { font-size: var(--fs-lg); margin-top: var(--s8); color: var(--ink); }
.prose h3 { font-size: var(--fs-md); margin-top: var(--s6); color: var(--ink); }
.prose ul { padding-left: 1.2em; display: grid; gap: var(--s2); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: var(--btn-h); padding: 0 var(--s5);
  border: 1px solid transparent; border-radius: var(--r);
  font-size: var(--fs-sm); font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--ink-2); color: var(--bg); }
.btn-outline { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; padding-inline: var(--s3); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-danger-text { background: transparent; color: var(--error); padding-inline: var(--s3); }
.btn-danger-text:hover { background: var(--error-soft); color: var(--error); }
.btn-sm { min-height: var(--btn-h-sm); padding: 0 var(--s4); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn.is-added { background: var(--success); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.link-btn {
  background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px; font-size: inherit;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 4px 16px rgba(20, 27, 45, .06); }
.header-inner { display: flex; align-items: center; gap: var(--s6); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 32px; height: 32px; flex: none; display: grid; place-items: center;
  background: var(--navy); color: var(--on-navy); border-radius: var(--r-sm);
  font-family: var(--font-mono); font-weight: 600; font-size: 15px;
}
.brand-text { display: grid; line-height: 1.15; min-width: 0; }
.brand-name { font-weight: 700; font-size: .95rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-sub { font-size: var(--fs-xs); color: var(--muted); white-space: nowrap; }
.brand-short { display: none; font-weight: 700; }

.site-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: var(--s1); }
.nav-link {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s3);
  color: var(--ink-2); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; border-radius: var(--r-sm);
}
.nav-link:hover { color: var(--ink); background: var(--surface-2); }
.nav-link[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: var(--s2); }
.cart-link {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 40px; min-width: 40px; padding: 0 var(--s3);
  border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; font-size: var(--fs-sm); font-weight: 600;
}
.cart-link:hover { border-color: var(--ink); color: var(--ink); }
.cart-link[aria-current="page"] { border-color: var(--ink); }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center;
  background: var(--ink); color: var(--bg); border-radius: 10px; font-size: 11px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.cart-count.is-zero { background: var(--surface-2); color: var(--muted); }
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.25); } }
.nav-toggle {
  display: none; width: 40px; height: 40px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink);
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline-flex; }

/* ---------- Pages ---------- */
main { min-height: 60vh; }
.page { padding-block: var(--s9) var(--s10); }
.page.is-entering { animation: pageIn .25s ease both; }
@keyframes pageIn { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.page-head { display: grid; gap: var(--s3); margin-bottom: var(--s7); max-width: 70ch; }
.page-head h1 { font-size: var(--fs-2xl); font-weight: 700; }
.page-head p { color: var(--muted); font-size: var(--fs-md); }
.breadcrumb { font-size: var(--fs-sm); color: var(--muted); }
.breadcrumb a { color: var(--muted); }
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.home-section { padding-block: var(--s10) 0; }

/* ---------- Hero (navy band) ---------- */
.page--home { padding-top: 0; }
.hero {
  background-color: var(--hero-bg);
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--on-navy);
  padding-block: var(--s9) var(--s9);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s9); align-items: center; }
.hero-copy { display: grid; gap: var(--s5); }
.hero h1 { color: #fff; font-size: var(--fs-hero); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; max-width: 16ch; }
.hero-eyebrow { color: #9FB4FF; }
.hero-lead { font-size: var(--fs-md); color: var(--on-navy-muted); max-width: 46ch; }
.hero .btn-primary { background: #3D6BFF; color: #fff; }
.hero .btn-primary:hover { background: #5A82FF; color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s2); font-size: var(--fs-sm); color: var(--on-navy-muted); }
.hero-facts li { display: inline-flex; align-items: center; gap: var(--s2); }
.hero-facts strong { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.hero-facts .icon { width: 16px; height: 16px; color: #5FD49A; }

/* ---------- Work showcase (hero visual) ---------- */
.showcase {
  position: relative; margin: 0; min-height: 430px;
  --sc-shadow: 0 18px 40px rgba(3, 8, 24, .45), 0 2px 6px rgba(3, 8, 24, .3);
  font-family: var(--font-sans);
}
.showcase .icon { width: 14px; height: 14px; }
/* Laptop */
.sc-laptop { position: absolute; left: 0; top: 10px; width: 86%; }
.sc-screen { background: #1B2236; border: 8px solid #1B2236; border-radius: 12px 12px 0 0; box-shadow: var(--sc-shadow); overflow: hidden; }
.sc-bar { display: flex; align-items: center; gap: 5px; background: #ECEFF5; padding: 6px 8px; border-radius: 4px 4px 0 0; }
.sc-bar i { width: 7px; height: 7px; border-radius: 50%; background: #C9CFDB; }
.sc-bar span { margin-left: 8px; flex: 1; background: #fff; border-radius: 3px; padding: 2px 8px; font-family: var(--font-mono); font-size: 10px; color: #5B6376; }
.sc-site { background: #FFFDF7; padding: 12px 16px 16px; display: grid; gap: 12px; }
.sc-nav { display: flex; align-items: center; gap: 12px; font-size: 10px; color: #4A5568; }
.sc-nav b { margin-right: auto; color: #0F5E59; font-size: 12px; }
.sc-site-hero { display: grid; grid-template-columns: 1.4fr .8fr; gap: 12px; align-items: center; background: #E8F5F3; border-radius: 6px; padding: 14px; }
.sc-kicker { font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0F766E; }
.sc-h { font-size: 17px; font-weight: 800; line-height: 1.15; color: #10302E; margin-top: 4px; letter-spacing: -.01em; }
.sc-cta { display: inline-block; margin-top: 10px; background: #F5B700; color: #2B2100; font-size: 10px; font-weight: 700; padding: 6px 10px; border-radius: 4px; }
.sc-site-art { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sc-site-art span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 6px; background: #0F766E; color: #fff; font-size: 18px; font-weight: 700; }
.sc-site-art span:nth-child(2) { background: #F5B700; color: #2B2100; }
.sc-site-art span:nth-child(3) { grid-column: span 2; aspect-ratio: auto; height: 34px; background: #134E4A; }
.sc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sc-tiles div { border: 1px solid #E5E1D3; border-radius: 4px; padding: 7px; display: grid; gap: 4px; background: #fff; }
.sc-tiles b { font-size: 9px; color: #10302E; }
.sc-tiles i { height: 4px; border-radius: 2px; background: #E5E1D3; }
.sc-tiles i + i { width: 60%; }
.sc-base { height: 12px; margin-inline: -5%; background: linear-gradient(#C8CEDA, #9AA3B5); border-radius: 0 0 10px 10px; box-shadow: var(--sc-shadow); }
/* Phone with Instagram post */
.sc-phone {
  position: absolute; right: 0; top: 0; width: 34%; min-width: 150px;
  background: #fff; border: 7px solid #0B0F1A; border-radius: 22px; box-shadow: var(--sc-shadow); overflow: hidden;
}
.sc-ig-head { display: flex; align-items: center; gap: 6px; padding: 8px; font-size: 9px; color: #161C2B; }
.sc-avatar { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 7px; font-weight: 800; color: #fff; background: #B4472B; outline: 2px solid #F3B04B; outline-offset: 1px; }
.sc-post { aspect-ratio: 4 / 5; background: #B4472B; color: #FFF4E6; padding: 14px 12px; display: flex; flex-direction: column; gap: 4px; }
.sc-post-tag { font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #F3B04B; }
.sc-post-h { font-size: 19px; font-weight: 800; line-height: 1.05; letter-spacing: -.01em; }
.sc-post-price { margin-top: auto; align-self: flex-start; background: #F3B04B; color: #3A1A0E; font-weight: 800; font-size: 14px; padding: 3px 8px; border-radius: 4px; }
.sc-post-foot { font-size: 8px; opacity: .9; }
.sc-ig-actions { display: flex; gap: 8px; padding: 8px; }
.sc-ig-actions i { width: 12px; height: 12px; border: 1.5px solid #161C2B; border-radius: 50%; }
.sc-ig-actions i:last-child { margin-left: auto; border-radius: 2px; }
/* Visiting card */
.sc-card {
  position: absolute; left: 4%; bottom: 0; width: 46%; aspect-ratio: 1.75;
  background: #1F2A44; color: #fff; border-radius: 8px; box-shadow: var(--sc-shadow);
  padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 10px;
  transform: rotate(-4deg);
}
.sc-card-mark { width: 30px; height: 30px; border-radius: 6px; display: grid; place-items: center; background: #D9B26F; color: #1F2A44; font-weight: 800; font-size: 11px; }
.sc-card b { display: block; font-size: 13px; }
.sc-card span { font-size: 9px; color: #D9B26F; letter-spacing: .04em; }
.sc-card-lines { grid-column: 1 / -1; display: grid; gap: 4px; }
.sc-card-lines i { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); width: 55%; }
.sc-card-lines i + i { width: 40%; }
/* Search listing */
.sc-search {
  position: absolute; right: 2%; bottom: 26px; width: 52%;
  background: #fff; color: #161C2B; border-radius: 8px; box-shadow: var(--sc-shadow); padding: 10px 12px; display: grid; gap: 3px;
}
.sc-query { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #394154; border: 1px solid #DCE0E7; border-radius: 999px; padding: 4px 10px; margin-bottom: 6px; }
.sc-url { font-size: 9px; color: #1D7A4B; }
.sc-title { font-size: 11px; font-weight: 600; color: #1A3FB5; line-height: 1.3; }
.sc-snippet { font-size: 9px; color: #5B6376; line-height: 1.4; }
/* Caption */
.sc-caption {
  position: absolute; left: 0; right: 0; bottom: -40px; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4);
  justify-content: center; font-size: var(--fs-xs); color: var(--on-navy-muted);
}
.sc-caption span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--web { background: #2DD4BF; } .dot--social { background: #F3B04B; } .dot--design { background: #D9B26F; } .dot--seo { background: #7EA2FF; }

/* ---------- Trust band ---------- */
.trust-band { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { display: grid; grid-template-columns: auto 1fr; gap: var(--s1) var(--s3); padding: var(--s6) var(--s5); }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item .icon {
  grid-row: span 2; color: var(--accent); width: 36px; height: 36px; padding: 8px;
  background: var(--accent-soft); border-radius: 8px;
}
.trust-item h3 { font-size: var(--fs-base); font-weight: 600; }
.trust-item p { font-size: var(--fs-sm); color: var(--muted); }

/* ---------- Tinted section ---------- */
.home-section--tint { background: var(--tint-bg); padding-bottom: var(--s10); }

/* ---------- Category cards (one soft colour per category) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.cat-cell {
  --c: var(--accent); --c-soft: var(--accent-soft); --c-line: #D3DDF8;
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: var(--s6); display: grid; gap: var(--s3); align-content: start;
  box-shadow: 0 1px 2px rgba(20, 27, 45, .04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cat-cell::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 84px; border-radius: 12px 12px 0 0;
  background: var(--c-soft); z-index: 0;
}
.cat-cell > * { position: relative; z-index: 1; }
.cat-cell:hover { transform: translateY(-3px); border-color: var(--c-line); box-shadow: 0 10px 28px rgba(20, 27, 45, .08); }
.cat-cell[data-cat="design"]    { --c: #C2410C; --c-soft: #FFF1EA; --c-line: #F9D3C0; }
.cat-cell[data-cat="social"]    { --c: #A21CAF; --c-soft: #FBF0FC; --c-line: #EFCDF3; }
.cat-cell[data-cat="ecommerce"] { --c: #B45309; --c-soft: #FFF7E6; --c-line: #F6DFAE; }
.cat-cell[data-cat="website"]   { --c: #2D55D6; --c-soft: #EDF2FF; --c-line: #CDD9FA; }
.cat-cell[data-cat="marketing"] { --c: #15803D; --c-soft: #ECF8F0; --c-line: #C6E9D2; }
.cat-cell[data-cat="business"]  { --c: #0F766E; --c-soft: #E8F6F4; --c-line: #C0E5E0; }
.cat-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 48px; }
.cat-icon {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 10px;
  background: var(--surface); color: var(--c); box-shadow: 0 1px 3px rgba(20, 27, 45, .08);
}
.cat-icon .icon { width: 24px; height: 24px; }
.cat-count {
  font-size: var(--fs-xs); font-weight: 600; color: var(--c); background: var(--surface);
  padding: 3px 10px; border-radius: 999px; border: 1px solid var(--c-line);
}
.cat-cell h3 { font-size: var(--fs-md); font-weight: 650; margin-top: var(--s4); }
.cat-cell p { font-size: var(--fs-sm); color: var(--muted); }
.cat-from { font-size: var(--fs-sm); color: var(--ink-2); }
.cat-from strong { font-variant-numeric: tabular-nums; color: var(--ink); }
.cat-cell .btn { justify-self: start; margin-top: var(--s2); padding-inline: 0; min-height: 32px; color: var(--c); }
.cat-cell .btn:hover { background: none; text-decoration: underline; color: var(--c); }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.svc-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.svc-media-link { display: block; }
.svc-body { padding: var(--s4) var(--s5) var(--s5); display: flex; flex-direction: column; gap: var(--s2); flex: 1; }
.svc-name a { color: inherit; text-decoration: none; }
.svc-name a:hover { color: var(--accent); text-decoration: underline; }
.svc-card:hover .media img { transform: scale(1.03); }
.svc-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.svc-cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.svc-name { font-size: var(--fs-md); font-weight: 650; }
.svc-desc { font-size: var(--fs-sm); color: var(--ink-2); flex: 1; }
.svc-delivery { display: flex; align-items: center; gap: var(--s2); font-size: var(--fs-xs); color: var(--muted); }
.svc-delivery .icon { width: 14px; height: 14px; }
.svc-foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap;
  padding-top: var(--s4); margin-top: var(--s2); border-top: 1px solid var(--line);
}
.svc-price { font-size: var(--fs-lg); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.svc-actions { display: flex; gap: var(--s2); }
.tag {
  display: inline-flex; align-items: center; gap: var(--s1); align-self: flex-start;
  font-size: 11px; font-weight: 600; padding: 2px var(--s2); border-radius: var(--r-sm);
  background: var(--accent-soft); color: var(--accent);
}
.svc-meta { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); }

/* ---------- Services toolbar ---------- */
.toolbar { display: grid; gap: var(--s4); margin-bottom: var(--s6); }
.toolbar-row { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: var(--s3); }
.search-field { position: relative; }
.search-field .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); z-index: 1; color: var(--muted); width: 18px; height: 18px; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 36px; padding: 0 var(--s3);
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--r);
  font-size: var(--fs-sm); color: var(--ink-2); font-weight: 500;
}
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip-count { font-family: var(--font-mono); font-size: 11px; opacity: .75; }
.results-meta { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--s4); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); }
.input, .field input, .field select, .field textarea, .search-field input, select.input {
  width: 100%; min-height: var(--btn-h); padding: 10px 14px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r);
  font-size: var(--fs-base); line-height: 1.4; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.input:hover, .field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus, .search-field input:focus {
  outline: none; border-color: var(--accent); box-shadow: var(--focus);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field-hint { font-size: var(--fs-xs); color: var(--muted); }
.field-error { font-size: var(--fs-xs); color: var(--error); font-weight: 500; display: flex; gap: var(--s1); align-items: center; }
.field-error:empty { display: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s4); }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-section { display: grid; gap: var(--s4); padding-block: var(--s6); border-top: 1px solid var(--line); }
.form-section:first-child { border-top: 0; padding-top: 0; }
.form-section h2 { font-size: var(--fs-md); font-weight: 650; display: flex; align-items: baseline; gap: var(--s3); }
.form-section h2 .step { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); font-weight: 500; }
.checkbox { display: flex; gap: var(--s3); align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-2); }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }

/* Payment options */
.pay-options { display: grid; gap: var(--s2); border: 0; padding: 0; margin: 0; }
.pay-option { position: relative; }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option label {
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--s1) var(--s3); align-items: center;
  padding: var(--s4); border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.pay-option label:hover { border-color: var(--muted); }
.pay-option .radio-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; }
.pay-option input:checked + label { border-color: var(--accent); background: var(--accent-soft); }
.pay-option input:checked + label .radio-dot { border-color: var(--accent); }
.pay-option input:checked + label .radio-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.pay-option input:focus-visible + label { box-shadow: var(--focus); }
.pay-title { font-weight: 600; font-size: var(--fs-sm); }
.pay-desc { grid-column: 2 / -1; font-size: var(--fs-xs); color: var(--muted); }
.pay-option .icon { color: var(--muted); }

/* ---------- Notices ---------- */
.notice {
  display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) var(--s4);
  border: 1px solid var(--line); border-left: 3px solid var(--muted); border-radius: var(--r-sm);
  background: var(--surface); font-size: var(--fs-sm); color: var(--ink-2);
}
.notice .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--muted); }
.notice--info { border-left-color: var(--accent); }
.notice--info .icon { color: var(--accent); }
.notice--warn { border-left-color: var(--warn); background: var(--warn-soft); border-color: transparent; border-left-color: var(--warn); }
.notice--warn .icon { color: var(--warn); }
.notice--success { background: var(--success-soft); border-color: transparent; border-left-color: var(--success); }
.notice--success .icon { color: var(--success); }
.notice strong { color: var(--ink); }

/* ---------- Two-column layouts (cart / checkout) ---------- */
.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s7); align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s6); min-width: 0; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: var(--s4); }
.summary h2 { font-size: var(--fs-md); font-weight: 650; }
.summary-lines { list-style: none; display: grid; gap: var(--s3); font-size: var(--fs-sm); }
.summary-line { display: flex; justify-content: space-between; gap: var(--s4); font-variant-numeric: tabular-nums; }
.summary-line .name { color: var(--ink-2); min-width: 0; }
.summary-line .line-qty { color: var(--muted); font-family: var(--font-mono); font-size: 12px; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--s4); border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.summary-total .label { font-weight: 600; }
.summary-total .value { font-size: var(--fs-xl); font-weight: 750; letter-spacing: -.02em; }
.summary-sub { display: flex; justify-content: space-between; font-size: var(--fs-sm); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.summary-note { font-size: var(--fs-xs); color: var(--muted); }

/* Cart table */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; padding: 0 var(--s3) var(--s3); border-bottom: 1px solid var(--line);
}
.cart-table td { padding: var(--s4) var(--s3); border-bottom: 1px solid var(--line); vertical-align: middle; font-variant-numeric: tabular-nums; }
.cart-table th:first-child, .cart-table td:first-child { padding-left: 0; }
.cart-table th:last-child, .cart-table td:last-child { padding-right: 0; }
.cart-table .col-num { text-align: right; white-space: nowrap; }
.cart-item-name { font-weight: 600; }
.cart-item-cat { font-size: var(--fs-xs); color: var(--muted); }
.cart-item-remove { margin-top: var(--s1); min-height: 28px; padding: 0 var(--s2); margin-left: calc(var(--s2) * -1); font-size: var(--fs-xs); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); }
.qty button {
  width: 38px; height: 38px; display: grid; place-items: center; background: transparent; border: 0; color: var(--ink);
}
.qty button:hover:not([disabled]) { background: var(--surface-2); }
.qty button[disabled] { color: var(--line-strong); cursor: not-allowed; }
.qty button .icon { width: 16px; height: 16px; }
.qty input {
  width: 44px; height: 38px; border: 0; border-inline: 1px solid var(--line); text-align: center;
  background: transparent; font-variant-numeric: tabular-nums; font-weight: 600; -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; box-shadow: inset var(--focus); }
.cart-actions { display: flex; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s5); align-items: center; }
.clear-confirm { display: inline-flex; gap: var(--s2); align-items: center; font-size: var(--fs-sm); color: var(--ink-2); flex-wrap: wrap; }

/* Mobile checkout bar */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: var(--s3) var(--gutter) calc(var(--s3) + env(safe-area-inset-bottom, 0px));
  align-items: center; justify-content: space-between; gap: var(--s4);
}
.mobile-bar .label { font-size: var(--fs-xs); color: var(--muted); }
.mobile-bar .value { font-weight: 750; font-size: var(--fs-lg); font-variant-numeric: tabular-nums; }

/* ---------- Empty / status states ---------- */
.empty-state {
  display: grid; justify-items: center; text-align: center; gap: var(--s3);
  padding: var(--s9) var(--s5); border: 1px dashed var(--line-strong); border-radius: var(--r); background: var(--surface);
}
.empty-state .icon { width: 36px; height: 36px; color: var(--muted); }
.empty-state h2, .empty-state h3 { font-size: var(--fs-lg); }
.empty-state p { color: var(--muted); max-width: 46ch; }
.empty-state .btn-row { justify-content: center; margin-top: var(--s2); }

/* ---------- Packages comparison ---------- */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 820px; border-collapse: collapse; table-layout: fixed; font-size: var(--fs-sm); }
.compare col.col-feature { width: 24%; }
.compare col.col-pkg { width: 19%; }
.compare th, .compare td { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { vertical-align: top; padding: var(--s5) var(--s3); background: var(--surface); }
.compare thead th.feature-head { text-align: left; vertical-align: bottom; padding-left: var(--s4); }
.compare th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink-2); position: sticky; left: 0; background: var(--surface); z-index: 1; }
.compare thead th:first-child { position: sticky; left: 0; z-index: 2; }
/* Fixed rows inside every package header so the columns line up */
.compare .pkg { display: grid; grid-template-rows: 20px 2.7em 18px auto auto; row-gap: var(--s2); justify-items: center; align-items: center; }
.compare .pkg-label { font-size: 11px; font-weight: 600; color: var(--accent); letter-spacing: .02em; white-space: nowrap; }
.compare .pkg-name { font-weight: 650; color: var(--ink); font-size: var(--fs-base); line-height: 1.3; align-self: center; }
.compare .pkg-kind { font-size: var(--fs-xs); color: var(--muted); font-weight: 400; white-space: nowrap; }
.compare .pkg-price { font-size: var(--fs-xl); font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.compare .pkg-actions { display: grid; gap: var(--s2); justify-items: center; width: 100%; }
.compare .pkg-actions .btn { width: 100%; max-width: 150px; }
.compare .pkg-details { font-size: var(--fs-xs); font-weight: 600; }
.compare .is-popular { background: var(--accent-soft); }
.compare thead th.is-popular { box-shadow: inset 0 3px 0 var(--accent); background: var(--accent-soft); }
.compare .yes { color: var(--success); }
.compare .no { color: var(--line-strong); }
.compare .yes .icon, .compare .no .icon { width: 18px; height: 18px; vertical-align: middle; }
.compare .txt { color: var(--ink-2); font-size: var(--fs-xs); }
.compare tr.group th { background: var(--surface-2); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; position: static; }
.compare-note { margin-top: var(--s4); display: grid; gap: var(--s2); font-size: var(--fs-sm); color: var(--muted); max-width: 80ch; }

/* ---------- Process ---------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: step; border-top: 1px solid var(--ink); }
.process li { padding: var(--s5) var(--s5) 0 0; display: grid; gap: var(--s2); align-content: start; }
.process li + li { padding-left: var(--s5); border-left: 1px solid var(--line); }
.process .step-num { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--accent); font-weight: 600; }
.process h3 { font-size: var(--fs-base); font-weight: 650; }
.process p { font-size: var(--fs-sm); color: var(--muted); }

/* ---------- Why list ---------- */
.why { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s9); align-items: start; }
.why-intro { display: grid; gap: var(--s4); position: sticky; top: calc(var(--header-h) + 24px); }
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s7); }
.why-item { display: grid; gap: var(--s2); padding-top: var(--s4); border-top: 1px solid var(--line); }
.why-item h3 { font-size: var(--fs-base); font-weight: 650; display: flex; gap: var(--s2); align-items: center; }
.why-item h3 .icon { color: var(--accent); width: 18px; height: 18px; }
.why-item p { font-size: var(--fs-sm); color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--accent-soft); border: 1px solid #D3DDF8; border-radius: var(--r);
  padding: var(--s8); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s6); align-items: center;
}
.cta-band h2 { font-size: var(--fs-xl); }
.cta-band p { color: var(--ink-2); margin-top: var(--s2); max-width: 56ch; }
.cta-band .btn-light { background: var(--accent); color: var(--accent-ink); }
.cta-band .btn-light:hover { background: var(--accent-hover); color: var(--accent-ink); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: var(--s9); align-items: start; }
.fact-list { list-style: none; display: grid; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.fact-list li { padding: var(--s4) var(--s5); display: grid; gap: 2px; }
.fact-list li + li { border-top: 1px solid var(--line); }
.fact-list .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact-list .v { font-weight: 600; }
.who-list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); }
.who-list li { padding: var(--s1) var(--s3); border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-size: var(--fs-sm); background: var(--surface); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: var(--s8); align-items: start; }
.contact-info { display: grid; gap: var(--s5); }
.contact-info dl { margin: 0; display: grid; gap: var(--s4); }
.contact-info dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-info dd { margin: 2px 0 0; font-weight: 600; word-break: break-word; }
.contact-info dd .pending { font-weight: 400; color: var(--muted); font-style: italic; }
.success-panel { display: grid; gap: var(--s4); justify-items: start; }
.success-panel .check {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--success-soft); color: var(--success);
}

/* ---------- Order confirmation ---------- */
.confirm-head { display: grid; gap: var(--s3); margin-bottom: var(--s7); }
.confirm-head .check {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--success-soft); color: var(--success);
}
.confirm-head .check .icon { width: 26px; height: 26px; }
.confirm-head h1 { font-size: var(--fs-2xl); }
.confirm-head p { color: var(--ink-2); font-size: var(--fs-md); }
.order-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-bottom: var(--s6); }
.order-facts > div { padding: var(--s4) var(--s5); display: grid; gap: var(--s1); min-width: 0; }
.order-facts > div + div { border-left: 1px solid var(--line); }
.order-facts .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.order-facts .v { font-weight: 650; font-variant-numeric: tabular-nums; word-break: break-word; }
.order-id-row { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.order-id-row .v { font-family: var(--font-mono); }
.status-pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600;
  padding: 3px var(--s2); border-radius: 999px; background: var(--success-soft); color: var(--success); justify-self: start;
}
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill--warn { background: var(--warn-soft); color: var(--warn); }
.copy-btn { min-height: 28px; padding: 0 var(--s2); font-size: var(--fs-xs); border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm); color: var(--ink-2); }
.copy-btn:hover { border-color: var(--ink); color: var(--ink); }
.confirm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); }
.confirm-grid .panel h2 { font-size: var(--fs-md); margin-bottom: var(--s4); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: var(--s2) var(--s5); margin: 0; font-size: var(--fs-sm); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; word-break: break-word; min-width: 0; }
.next-steps { list-style: none; display: grid; gap: var(--s4); counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 28px 1fr; gap: var(--s3); font-size: var(--fs-sm); color: var(--ink-2); counter-increment: ns; }
.next-steps li::before {
  content: counter(ns); width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; color: var(--ink);
}
.next-steps strong { color: var(--ink); display: block; }
.pay-box { display: grid; gap: var(--s3); }
.upi-line { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; font-family: var(--font-mono); font-size: var(--fs-sm); background: var(--surface-2); padding: var(--s2) var(--s3); border-radius: var(--r-sm); }

/* ---------- Legal ---------- */
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s9); align-items: start; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--s1); font-size: var(--fs-sm); }
.legal-nav a { color: var(--ink-2); text-decoration: none; padding: var(--s2) var(--s3); border-left: 2px solid var(--line); }
.legal-nav a:hover { color: var(--ink); border-left-color: var(--line-strong); }
.legal-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-left-color: var(--accent); }
.legal-meta { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); }

/* ---------- Toasts ---------- */
.toast-region {
  position: fixed; z-index: 90; right: var(--s5); bottom: calc(var(--s5) + env(safe-area-inset-bottom, 0px));
  display: grid; gap: var(--s2); width: min(360px, calc(100vw - 32px)); pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4);
  background: var(--ink); color: var(--bg); border-radius: var(--r); font-size: var(--fs-sm); font-weight: 500;
  box-shadow: 0 8px 24px rgba(10, 14, 24, .25); pointer-events: auto;
  animation: toastIn .22s ease both;
}
.toast .icon { width: 18px; height: 18px; }
.toast--success .icon { color: #6FD39C; }
.toast--error .icon { color: #FF8A80; }
.toast a, .toast .link-btn { color: inherit; margin-left: auto; font-size: var(--fs-xs); }
.toast.is-leaving { animation: toastOut .2s ease both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(6px); } }

/* ---------- Footer (navy, matches hero) ---------- */
.site-footer { background: var(--hero-bg); color: var(--on-navy-muted); padding-block: var(--s9) var(--s6); margin-top: var(--s10); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--s7); }
.footer-brand { display: grid; gap: var(--s3); align-content: start; }
.footer-brand .brand-name { color: #fff; font-size: var(--fs-base); }
.site-footer h2 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-muted); font-weight: 500; margin-bottom: var(--s3); }
.footer-links { list-style: none; display: grid; gap: var(--s2); }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact { display: grid; gap: var(--s2); }
.footer-contact .pending { font-style: italic; opacity: .8; }
.social-links { display: flex; gap: var(--s2); }
.social-links a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: var(--r); }
.social-links a:hover { border-color: #fff; text-decoration: none; }
.footer-bottom { margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; font-size: var(--fs-xs); }

/* ---------- 404 ---------- */
.notfound { display: grid; gap: var(--s4); justify-items: start; max-width: 56ch; padding-block: var(--s8); }
.notfound .code { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--accent); }
.notfound h1 { font-size: var(--fs-2xl); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1024px) {
  .hero-grid { gap: var(--s7); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s6); }
  .process li:nth-child(4) { padding-left: 0; border-left: 0; }
  .why { grid-template-columns: 1fr; gap: var(--s6); }
  .why-intro { position: static; }
  .layout-2 { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s5); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: var(--s2) var(--gutter) var(--s5);
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    box-shadow: 0 12px 24px rgba(20, 27, 45, .08);
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link { min-height: 48px; width: 100%; font-size: var(--fs-base); border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 var(--s1); }
  .nav-link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: var(--s3); }
  .nav-cta-mobile { display: flex; margin-top: var(--s4); }
  .header-actions { margin-left: auto; }
  .site-nav { margin-left: 0; }

  .hero-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item { padding-inline: 0; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout-2 { grid-template-columns: 1fr; }
  .summary { position: static; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: var(--s7); }
  .legal-layout { grid-template-columns: 1fr; gap: var(--s5); }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; gap: var(--s2); }
  .legal-nav a { border-left: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
  .legal-nav a[aria-current="page"] { border-color: var(--accent); }
  .confirm-grid { grid-template-columns: 1fr; }
  .order-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-facts > div:nth-child(3) { border-left: 0; }
  .order-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cta-band { grid-template-columns: 1fr; padding: var(--s7) var(--s6); }
  .page--cart.has-items, .page--checkout.has-items { padding-bottom: 120px; }
  .mobile-bar.is-active { display: flex; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 58px; }
  .page { padding-block: var(--s7) var(--s9); }
  .home-section { padding-top: var(--s9); }
  .brand-text .brand-name, .brand-text .brand-sub { display: none; }
  .brand-short { display: inline; }
  .hero { padding-block: var(--s7); }
  .svc-grid, .cat-grid { grid-template-columns: 1fr; }
  .cat-cell { padding: var(--s5); }
  .toolbar-row { grid-template-columns: 1fr; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: var(--s1); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
  .chip { flex: none; }
  .section-head--split { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; border-top: 0; }
  .process li, .process li + li { padding: var(--s4) 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .process li:first-child { border-top-color: var(--ink); }
  .why-list { grid-template-columns: 1fr; gap: var(--s5); }
  .form-grid { grid-template-columns: 1fr; }
  .panel { padding: var(--s5) var(--s4); }
  .order-facts { grid-template-columns: 1fr; }
  .order-facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .toast-region { left: 16px; right: 16px; width: auto; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .cta-band { padding: var(--s6) var(--s5); }

  /* Cart rows stack on phones */
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { display: grid; grid-template-columns: 1fr auto; gap: var(--s3) var(--s4); padding-block: var(--s4); border-bottom: 1px solid var(--line); }
  .cart-table td { padding: 0; border: 0; }
  .cart-table td.col-item { grid-column: 1 / -1; }
  .cart-table td.col-price { display: none; }
  .cart-table td.col-qty { align-self: center; }
  .cart-table td.col-total { align-self: center; font-weight: 700; font-size: var(--fs-md); }
}

@media (max-width: 360px) {
  .btn { padding-inline: var(--s4); }
  .svc-foot { flex-direction: column; align-items: stretch; }
  .svc-actions { width: 100%; }
  .svc-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Small helpers ---------- */
.flush { margin: 0; }
.self-start { justify-self: start; }
.icon.flip svg { transform: scaleX(-1); }
.summary-each { font-size: 12px; color: var(--muted); }
.confirm-actions { margin-top: var(--s7); }
.prose h1 { font-size: var(--fs-2xl); }

/* ---------- Photos ---------- */
.media {
  position: relative; overflow: hidden; background: var(--surface-2);
  aspect-ratio: 16 / 10; max-width: 100%;
}
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .3s ease; opacity: 0; }
.media.is-loaded img { opacity: 1; }
.media-fallback {
  position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(45, 85, 214, .045) 14px 15px),
    var(--accent-soft);
}
.media-fallback .icon { width: 36px; height: 36px; opacity: .7; }
.media.is-loaded .media-fallback { display: none; }
.media--card { border-bottom: 1px solid var(--line); }
.media--product { aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--r); }
.media--product .media-fallback .icon { width: 56px; height: 56px; }
.media-credit { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s2); }
.media-credit a { color: var(--muted); }

/* ---------- Service page ---------- */
.page--product .breadcrumb { margin-bottom: var(--s6); display: flex; flex-wrap: wrap; gap: 0 var(--s1); align-items: baseline; }
.page--product .breadcrumb [aria-current] { color: var(--ink); }
.link-btn--quiet { color: var(--muted); font-weight: 400; }
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s8); align-items: start; }
.product-gallery { position: sticky; top: calc(var(--header-h) + 20px); min-width: 0; }
.product-info { display: grid; gap: var(--s4); min-width: 0; align-content: start; }
.product-info h1 { font-size: var(--fs-2xl); font-weight: 750; letter-spacing: -.02em; }
.product-price { font-size: var(--fs-xl); font-weight: 750; font-variant-numeric: tabular-nums; }
.product-unit { font-size: var(--fs-sm); color: var(--muted); font-weight: 400; margin-left: var(--s1); }
.product-desc { font-size: var(--fs-md); color: var(--ink-2); max-width: 55ch; }
.detail-strip { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) var(--s4); background: var(--surface-2); border-radius: var(--r-sm); font-size: var(--fs-sm); }
.detail-strip > div { display: grid; }
.detail-strip .k { font-weight: 650; }
.detail-strip .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--muted); }
.buy-box { display: grid; gap: var(--s4); padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.buy-row { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.buy-label { font-size: var(--fs-sm); font-weight: 600; }
.buy-row .line-total { margin-left: auto; font-weight: 700; font-size: var(--fs-md); font-variant-numeric: tabular-nums; }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.buy-note { display: flex; gap: var(--s2); align-items: flex-start; font-size: var(--fs-sm); }
.buy-note .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--success); }
.buy-note.muted .icon { color: var(--muted); }
.qty-error { font-size: var(--fs-xs); color: var(--error); }
.product-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); margin-top: var(--s9); padding-top: var(--s7); border-top: 1px solid var(--line); }
.detail-block h2 { font-size: var(--fs-md); font-weight: 650; margin-bottom: var(--s3); }
.check-list { list-style: none; display: grid; gap: var(--s2); font-size: var(--fs-sm); color: var(--ink-2); }
.check-list li { display: grid; grid-template-columns: 18px 1fr; gap: var(--s2); align-items: start; }
.check-list .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--muted); }
.check-list.inc .icon { color: var(--success); }
.check-list.exc .icon { color: var(--error); }
.small { font-size: var(--fs-xs); margin-top: var(--s3); }
.related { margin-top: var(--s9); }
.section-title--sm { font-size: var(--fs-lg); }

@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; gap: var(--s6); }
  .product-gallery { position: static; }
  .product-details { grid-template-columns: 1fr; gap: var(--s6); margin-top: var(--s7); }
}
@media (max-width: 400px) {
  .buy-actions { grid-template-columns: 1fr; }
}

/* Search input: icon sits inside the left padding (declared after the shared input rule so it isn't overridden) */
.search-field input[type="search"] { padding-left: 44px; }

/* ---------- Policy pages ---------- */
.page--policy { padding-top: 0; }
.policy-hero { background: var(--hero-bg); color: var(--on-navy); padding-block: var(--s9) var(--s8); }
.policy-hero h1 { color: #fff; font-size: var(--fs-2xl); font-weight: 750; margin-top: var(--s3); }
.policy-hero p { color: var(--on-navy-muted); margin-top: var(--s2); max-width: 60ch; }
.policy-crumb { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-navy-muted); }
.policy-crumb a { color: var(--on-navy); text-decoration: none; }
.policy-crumb a:hover { text-decoration: underline; color: #fff; }
.policy-wrap { padding-top: var(--s7); }
.policy-toc { background: var(--surface-2); border-radius: var(--r); padding: var(--s5) var(--s6); }
.policy-toc-title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.policy-toc ol { margin-top: var(--s2); padding-left: 1.4em; display: grid; gap: 2px; font-size: var(--fs-sm); }
.toc-link { background: none; border: 0; padding: 2px 0; color: var(--accent); font-size: var(--fs-sm); text-align: left; }
.toc-link:hover { text-decoration: underline; }
.policy-intro { font-size: var(--fs-base); color: var(--ink-2); }
.policy-section { scroll-margin-top: calc(var(--header-h) + 16px); }
.policy-section h2 { margin-top: var(--s7); }
.policy-body > .policy-toc + .policy-intro { margin-top: var(--s6); }
.policy-contact { list-style: none; padding-left: 0 !important; display: grid; gap: var(--s1); }
@media (max-width: 640px) {
  .policy-hero { padding-block: var(--s7) var(--s6); }
  .policy-toc { padding: var(--s4); }
}
.policy-section > * + * { margin-top: var(--s3); }
.policy-section h3 { margin-top: var(--s4); }
.brand-short { white-space: nowrap; }
@media (max-width: 360px) { .brand-short { font-size: .9rem; } .brand { gap: var(--s2); } }

/* ---------- Home responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s8); }
  .showcase { max-width: 620px; width: 100%; justify-self: center; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item { padding-inline: 0; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .hero { padding-block: var(--s7) var(--s9); }
  .showcase { min-height: 0; aspect-ratio: 1 / .95; }
  .sc-laptop { width: 92%; }
  .sc-h { font-size: 13px; }
  .sc-site { padding: 8px 10px 10px; gap: 8px; }
  .sc-site-hero { padding: 10px; }
  .sc-tiles { display: none; }
  .sc-phone { width: 38%; min-width: 0; border-width: 5px; border-radius: 16px; }
  .sc-post { padding: 10px 8px; }
  .sc-post-h { font-size: 14px; }
  .sc-post-price { font-size: 11px; }
  .sc-card { width: 46%; padding: 10px; gap: 6px; }
  .sc-card b { font-size: 11px; }
  .sc-search { width: 54%; bottom: 10px; padding: 8px; }
  .sc-snippet { display: none; }
  .sc-caption { bottom: -44px; }
  .cat-grid { grid-template-columns: 1fr; gap: var(--s4); }
}

/* Home starts flush under the header at every width */
.page.page--home { padding-top: 0; }
/* Headings receive focus after navigation for screen readers; no visible ring needed */
[data-page-heading]:focus { box-shadow: none; outline: none; }
