/* ==========================================================================
   SITE CSS — components & layout
   Prototype of the Blade partials + Tailwind utility layer.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: calc(16px * var(--font-scale));
  line-height: 1.7;
  color: rgb(var(--c-ink));
  background: rgb(var(--c-bg));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: rgb(var(--c-accent) / 0.28); }

/* focus */
:focus-visible {
  outline: 2px solid rgb(var(--c-accent));
  outline-offset: 2px;
  border-radius: 2px;
}

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgb(var(--c-bg)); }
::-webkit-scrollbar-thumb { background: rgb(var(--c-line-strong)); border-radius: 99px; border: 2px solid rgb(var(--c-bg)); }
::-webkit-scrollbar-thumb:hover { background: rgb(var(--c-muted)); }

/* --------------------------------------------------------------------------
   2. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: rgb(var(--c-ink));
}
h1 { font-size: calc(clamp(2.4rem, 5.2vw, 4rem)); }
h2 { font-size: calc(clamp(1.9rem, 3.6vw, 2.75rem)); }
h3 { font-size: calc(clamp(1.3rem, 2.2vw, 1.75rem)); }
h4 { font-size: calc(clamp(1.1rem, 1.7vw, 1.35rem)); }
h5 { font-size: 1.05rem; }
p  { color: rgb(var(--c-muted)); }

.display { font-size: calc(clamp(2.6rem, 6vw, 4.6rem)); }
.lead {
  font-size: calc(clamp(1.02rem, 1.4vw, 1.15rem));
  color: rgb(var(--c-muted));
  line-height: 1.75;
}
.muted { color: rgb(var(--c-muted)); }
.small { font-size: 0.875rem; }
.xs { font-size: 0.78rem; }
.strong { font-weight: 600; color: rgb(var(--c-ink)); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.strike { text-decoration: line-through; color: rgb(var(--c-muted)); }

/* section label — the small gold uppercase label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgb(var(--c-accent));
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1.5px;
  background: rgb(var(--c-accent));
  flex: none;
}
.eyebrow.center-eyebrow { justify-content: center; }
.eyebrow.on-dark { color: rgb(var(--c-accent)); }

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container-narrow { max-width: 820px; }

.section { padding-block: clamp(56px, 8vw, 96px); }
.section-sm { padding-block: clamp(40px, 5vw, 60px); }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { text-align: center; }
.section-head p { max-width: 620px; margin-top: 14px; }
.section-head.center p { margin-inline: auto; }
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.bg-surface { background: rgb(var(--c-surface)); }
.bg-alt { background: rgb(var(--c-surface-alt)); }
.bg-primary { background: rgb(var(--c-primary)); color: rgb(var(--c-primary-ink)); }
.bg-accent-soft { background: rgb(var(--c-accent-soft)); }
.bg-primary-soft { background: rgb(var(--c-primary-soft)); }

.grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.flex { display: flex; }
.between { justify-content: space-between; }
.center-jc { justify-content: center; }
.center-ai { align-items: center; }
.wrap { flex-wrap: wrap; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.gap-20 { gap: 20px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; }
.mt-20 { margin-top: 20px; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.full { width: 100%; }

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--dur) var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; }

.btn-primary {
  background: rgb(var(--c-accent));
  color: rgb(var(--c-accent-ink));
}
.btn-primary:hover {
  background: rgb(var(--c-accent-deep));
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgb(var(--c-accent) / 0.32);
}

.btn-dark {
  background: rgb(var(--c-primary));
  color: rgb(var(--c-primary-ink));
}
.btn-dark:hover {
  background: rgb(var(--c-primary-deep));
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgb(var(--c-primary) / 0.28);
}

.btn-ghost {
  background: transparent;
  color: rgb(var(--c-ink));
  border-color: rgb(var(--c-line-strong));
}
.btn-ghost:hover {
  border-color: rgb(var(--c-ink));
  background: rgb(var(--c-ink) / 0.04);
}

.btn-on-dark {
  background: rgb(var(--c-accent));
  color: rgb(var(--c-accent-ink));
}
.btn-on-dark:hover { background: rgb(var(--c-accent-deep)); transform: translateY(-2px); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-light:hover { background: #fff; color: #0b1f3a; }

.btn-sm { padding: 10px 18px; font-size: 0.72rem; }
.btn-lg { padding: 18px 38px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(var(--c-accent));
  transition: gap var(--dur) var(--ease);
}
.link-arrow:hover { gap: 14px; }
.link-arrow svg { width: 15px; height: 15px; }
.link-arrow.on-dark { color: rgb(var(--c-accent)); }

/* --------------------------------------------------------------------------
   5. BADGES / PILLS / CHIPS
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  line-height: 1.4;
}
.badge-accent { background: rgb(var(--c-accent) / 0.14); color: rgb(var(--c-accent-deep)); }
.badge-primary { background: rgb(var(--c-primary) / 0.1); color: rgb(var(--c-primary)); }
.badge-success { background: rgb(var(--c-success) / 0.12); color: rgb(var(--c-success)); }
.badge-error { background: rgb(var(--c-error) / 0.1); color: rgb(var(--c-error)); }
.badge-solid { background: rgb(var(--c-accent)); color: rgb(var(--c-accent-ink)); }
.badge-on-dark {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(6px);
}
.badge-discount {
  background: rgb(var(--c-error));
  color: #fff;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgb(var(--c-muted));
  background: rgb(var(--c-surface));
  border: 1.5px solid rgb(var(--c-line));
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.chip:hover { border-color: rgb(var(--c-accent)); color: rgb(var(--c-ink)); }
.chip.active {
  background: rgb(var(--c-primary));
  border-color: rgb(var(--c-primary));
  color: rgb(var(--c-primary-ink));
}
.chips-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* rating stars */
.stars { display: inline-flex; gap: 2px; color: rgb(var(--c-star)); }
.stars svg { width: 14px; height: 14px; fill: currentColor; }
.stars-lg svg { width: 18px; height: 18px; }
.stars .off { color: rgb(var(--c-line-strong)); }

/* --------------------------------------------------------------------------
   6. TOP BAR
   -------------------------------------------------------------------------- */
.topbar {
  background: rgb(var(--c-primary));
  color: #fff;
  font-size: 0.78rem;
  padding: 9px 0;
}
.topbar a { color: #fff; opacity: 0.88; transition: opacity var(--dur); }
.topbar a:hover { opacity: 1; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; opacity: 0.8; flex: none; }
.topbar-right { display: flex; gap: 22px; align-items: center; }

/* --------------------------------------------------------------------------
   7. HEADER
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(var(--c-surface) / 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgb(var(--c-line));
  transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

/* logo */
.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgb(var(--c-primary)), rgb(var(--c-primary-deep)));
  color: rgb(var(--c-accent));
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  flex: none;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgb(var(--c-ink));
}
.logo-text span {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgb(var(--c-accent));
  font-weight: 700;
}

/* nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgb(var(--c-ink));
  border-radius: var(--radius);
  transition: color var(--dur) var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1.5px;
  background: rgb(var(--c-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav-link:hover { color: rgb(var(--c-accent-deep)); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: rgb(var(--c-accent-deep)); font-weight: 600; }

/* dropdown */
.nav-item { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  padding: 10px;
  background: rgb(var(--c-surface));
  border: 1px solid rgb(var(--c-line));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--dur) var(--ease);
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  font-size: 0.86rem;
  border-radius: var(--radius);
  color: rgb(var(--c-muted));
  transition: all var(--dur) var(--ease);
}
.dropdown a:hover {
  background: rgb(var(--c-primary-soft));
  color: rgb(var(--c-primary));
  padding-left: 16px;
}
.dropdown a svg { width: 16px; height: 16px; flex: none; opacity: 0.7; }

/* header actions */
.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  border: 1px solid rgb(var(--c-line));
  color: rgb(var(--c-muted));
  transition: all var(--dur) var(--ease);
}
.icon-btn:hover { border-color: rgb(var(--c-accent)); color: rgb(var(--c-accent)); }
.icon-btn svg { width: 18px; height: 18px; }

/* burger */
.burger { display: none; }
.burger-box { width: 22px; height: 14px; position: relative; }
.burger-box span {
  position: absolute;
  left: 0; width: 100%; height: 1.8px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
.burger-box span:nth-child(1) { top: 0; }
.burger-box span:nth-child(2) { top: 6px; }
.burger-box span:nth-child(3) { top: 12px; }
body.nav-open .burger-box span:nth-child(1) { top: 6px; transform: rotate(45deg); }
body.nav-open .burger-box span:nth-child(2) { opacity: 0; }
body.nav-open .burger-box span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgb(var(--c-bg));
  padding: 100px 24px 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: all var(--dur) var(--ease);
}
body.nav-open .drawer { opacity: 1; visibility: visible; transform: translateY(0); }
.drawer a {
  display: block;
  padding: 15px 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  border-bottom: 1px solid rgb(var(--c-line));
}
.drawer .drawer-sub { font-family: var(--font-body); font-size: 0.9rem; color: rgb(var(--c-muted)); padding-left: 16px; }
.drawer .btn { margin-top: 26px; }

/* --------------------------------------------------------------------------
   8. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: rgb(var(--c-primary));
  color: #fff;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 88% 12%, rgb(var(--c-accent) / 0.16), transparent 62%),
    radial-gradient(700px 460px at 8% 92%, rgb(var(--c-primary-deep) / 0.6), transparent 60%);
  z-index: -1;
}
/* subtle grid texture */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: -1;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(60px, 8vw, 104px);
}
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, 0.76); max-width: 520px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(var(--c-accent));
  border: 1px solid rgb(var(--c-accent) / 0.4);
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.hero-dot { width: 5px; height: 5px; border-radius: 50%; background: rgb(var(--c-accent)); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* trust badges under hero cta */
.hero-trust {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-trust div { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.72); }
.hero-trust svg { width: 15px; height: 15px; color: rgb(var(--c-accent)); flex: none; }

/* hero visual */
.hero-visual { position: relative; }
.hero-img {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(150deg, rgb(var(--c-primary-deep)), rgb(var(--c-primary) / 0.7));
}
.hero-img .ph { position: absolute; inset: 0; }

/* placeholder image system (no external requests) */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--ph-a, rgb(var(--c-primary) / 0.9)), var(--ph-b, var(--t-b, rgb(var(--c-primary-deep)))));
  color: rgb(var(--c-accent) / 0.55);
}
.ph > svg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 32%; height: auto;
  opacity: 0.5;
}
.ph-label {
  position: absolute;
  left: 14px; bottom: 12px;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

/* floating cards on hero image */
.float-card {
  position: absolute;
  background: rgb(var(--c-surface));
  color: rgb(var(--c-ink));
  border-radius: var(--radius-lg);
  padding: 15px 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgb(var(--c-line));
}
.float-card h5 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(var(--c-muted)); font-family: var(--font-body); }
.float-price { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 700; color: rgb(var(--c-primary)); line-height: 1.1; }
.float-1 { left: -26px; bottom: 42px; }
.float-2 { right: -18px; top: 34px; }

/* --------------------------------------------------------------------------
   9. PAGE HERO (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  background: rgb(var(--c-primary));
  color: #fff;
  padding-block: clamp(44px, 6vw, 76px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(760px 420px at 82% 20%, rgb(var(--c-accent) / 0.15), transparent 62%);
  z-index: -1;
}
.page-hero h1 { color: #fff; font-size: calc(clamp(2rem, 4vw, 3.1rem)); }
.page-hero p { color: rgba(255, 255, 255, 0.74); max-width: 620px; margin-top: 14px; }
.page-hero.center { text-align: center; }
.page-hero.center p { margin-inline: auto; }

/* breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgb(var(--c-muted));
  padding-block: 16px;
}
.breadcrumb a:hover { color: rgb(var(--c-accent-deep)); }
.breadcrumb svg { width: 13px; height: 13px; opacity: 0.5; }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb.on-dark { color: rgba(255, 255, 255, 0.62); }
.breadcrumb.on-dark a:hover { color: rgb(var(--c-accent)); }

/* --------------------------------------------------------------------------
   10. MODULE CARDS  (the "What do you need today?" section)
   -------------------------------------------------------------------------- */
.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 38px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.module-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.module-card::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(155deg, var(--mc-a), var(--mc-b));
}
.module-card::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.14) 55%, transparent 100%);
}
.module-card .mc-icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: auto;
  backdrop-filter: blur(4px);
}
.module-card .mc-icon svg { width: 27px; height: 27px; color: #fff; }
.module-card h3 { color: #fff; font-size: 1.9rem; }
.module-card .mc-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mc-accent);
  margin-bottom: 12px;
}
.module-card p { color: rgba(255, 255, 255, 0.74); font-size: 0.9rem; margin-top: 10px; max-width: 320px; }
.module-card .mc-list { margin: 18px 0 24px; }
.module-card .mc-list li {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.82);
  padding: 5px 0 5px 20px;
  position: relative;
}
.module-card .mc-list li::before {
  content: "";
  position: absolute; left: 0; top: 13px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mc-accent);
}
.module-card .mc-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.module-card .mc-cta svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.module-card:hover .mc-cta svg { transform: translateX(6px); }

.mc-interior { --mc-a: 20 44 78; --mc-b: 8 20 38; --mc-accent: 227 199 123; }
.mc-jehez    { --mc-a: 122 22 42; --mc-b: 58 6 20; --mc-accent: 240 205 130; }

/* --------------------------------------------------------------------------
   11. TRUST / STAT STRIP
   -------------------------------------------------------------------------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgb(var(--c-line));
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgb(var(--c-surface));
}
.stat-strip > div {
  padding: 30px 24px;
  text-align: center;
  border-right: 1px solid rgb(var(--c-line));
}
.stat-strip > div:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: rgb(var(--c-primary));
  line-height: 1;
}
.stat-strip.on-dark .stat-num { color: rgb(var(--c-accent)); }
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(var(--c-muted));
  margin-top: 9px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   12. CATEGORY TILES
   -------------------------------------------------------------------------- */
.cat-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1 / 1.06;
  padding: 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cat-tile::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(160deg, var(--t-a, rgb(var(--c-primary) / 0.95)), var(--t-b, rgb(var(--c-primary-deep))));
}
.cat-tile::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.74), transparent 62%);
}
.cat-tile .ct-ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  margin-bottom: auto;
}
.cat-tile .ct-ico svg { width: 19px; height: 19px; color: #fff; }
.cat-tile h4 { color: #fff; font-size: 1.15rem; }
.cat-tile p { color: rgba(255, 255, 255, 0.66); font-size: 0.76rem; margin-top: 5px; }
.cat-tile .ct-count {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 700;
  color: rgb(var(--c-accent));
  margin-top: 9px;
}
.cat-tile .ct-count svg { width: 12px; height: 12px; }
.cat-tile .ct-go {
  position: absolute;
  right: 18px; bottom: 18px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--dur) var(--ease);
}
.cat-tile .ct-go svg { width: 14px; height: 14px; }
.cat-tile:hover .ct-go { opacity: 1; transform: translateX(0); }

/* --------------------------------------------------------------------------
   13. CARD BASE
   -------------------------------------------------------------------------- */
.card {
  background: rgb(var(--c-surface));
  border: 1px solid rgb(var(--c-line));
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgb(var(--c-line-strong)); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-media .ph { position: absolute; inset: 0; }
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-family: var(--font-heading); font-size: 1.18rem; font-weight: 700; line-height: 1.3; }
.card-meta { font-size: 0.76rem; color: rgb(var(--c-muted)); margin-top: 5px; }
.card-foot {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.card-badges .right { margin-left: auto; }

/* price block */
.price-block { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.price-now { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: rgb(var(--c-primary)); }
.price-from { font-size: 0.72rem; color: rgb(var(--c-muted)); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.price-was { font-size: 0.92rem; color: rgb(var(--c-muted)); text-decoration: line-through; }
.price-off { font-size: 0.78rem; font-weight: 700; color: rgb(var(--c-success)); }
.dark .price-now, .on-dark .price-now { color: rgb(var(--c-accent)); }

/* package card specifics */
.pkg-card .card-body { gap: 0; }
.pkg-items-note {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.78rem; color: rgb(var(--c-muted));
  margin-top: 12px;
}
.pkg-items-note svg { width: 14px; height: 14px; color: rgb(var(--c-accent)); flex: none; }
.pkg-incl { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pkg-incl span {
  font-size: 0.7rem;
  padding: 4px 9px;
  background: rgb(var(--c-primary-soft));
  color: rgb(var(--c-primary));
  border-radius: var(--radius);
  font-weight: 600;
}
.pkg-vendor {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.76rem; color: rgb(var(--c-muted));
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgb(var(--c-line));
}
.pkg-vendor .vdot {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgb(var(--c-accent) / 0.16);
  color: rgb(var(--c-accent-deep));
  font-size: 0.6rem; font-weight: 700;
  flex: none;
}

/* --------------------------------------------------------------------------
   14. STEPS  (How Interior On Call Works)
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.step { position: relative; text-align: center; padding-top: 8px; }
.step-num {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgb(var(--c-primary));
  color: rgb(var(--c-accent));
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 8px rgb(var(--c-primary) / 0.08);
}
.steps-line {
  position: absolute;
  top: 36px; left: 10%; right: 10%;
  height: 1.5px;
  background: repeating-linear-gradient(90deg, rgb(var(--c-line-strong)) 0 8px, transparent 8px 16px);
  z-index: 1;
}
.step h4 { font-size: 1rem; }
.step p { font-size: 0.8rem; margin-top: 8px; }
.steps.on-dark .step-num { background: rgb(var(--c-accent)); color: rgb(var(--c-accent-ink)); box-shadow: 0 0 0 8px rgb(var(--c-accent) / 0.14); }
.steps.on-dark h4 { color: #fff; }
.steps.on-dark p { color: rgba(255, 255, 255, 0.66); }
.steps.on-dark .steps-line { background: repeating-linear-gradient(90deg, rgba(255,255,255,0.28) 0 8px, transparent 8px 16px); }

/* --------------------------------------------------------------------------
   15. FEATURE CARDS
   -------------------------------------------------------------------------- */
.feat {
  padding: 30px 26px;
  background: rgb(var(--c-surface));
  border: 1px solid rgb(var(--c-line));
  border-radius: var(--radius-lg);
  transition: all var(--dur) var(--ease);
}
.feat:hover { border-color: rgb(var(--c-accent) / 0.5); transform: translateY(-4px); box-shadow: var(--shadow); }
.feat-ico {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: rgb(var(--c-accent) / 0.13);
  color: rgb(var(--c-accent-deep));
  margin-bottom: 18px;
}
.feat-ico svg { width: 22px; height: 22px; }
.feat h4 { font-size: 1.05rem; }
.feat p { font-size: 0.85rem; margin-top: 8px; }
.feat.on-dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}
.feat.on-dark h4 { color: #fff; }
.feat.on-dark p { color: rgba(255, 255, 255, 0.66); }
.feat.on-dark .feat-ico { background: rgba(255, 255, 255, 0.1); color: rgb(var(--c-accent)); }

/* --------------------------------------------------------------------------
   16. ECOSYSTEM FLOW
   -------------------------------------------------------------------------- */
.eco { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; }
.eco-node {
  flex: 1 1 170px;
  min-width: 165px;
  padding: 24px 18px;
  text-align: center;
  background: rgb(var(--c-surface));
  border: 1px solid rgb(var(--c-line));
  position: relative;
}
.eco-node:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.eco-node:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.eco-node + .eco-node { border-left: 0; }
.eco-node .eco-ico {
  width: 40px; height: 40px; margin: 0 auto 12px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgb(var(--c-primary-soft));
  color: rgb(var(--c-primary));
}
.eco-node .eco-ico svg { width: 18px; height: 18px; }
.eco-node strong { display: block; font-size: 0.86rem; font-family: var(--font-body); }
.eco-node span { font-size: 0.72rem; color: rgb(var(--c-muted)); }
.eco-node.core { background: rgb(var(--c-primary)); }
.eco-node.core .eco-ico { background: rgba(255,255,255,0.12); color: rgb(var(--c-accent)); }
.eco-node.core strong { color: #fff; }
.eco-node.core span { color: rgba(255,255,255,0.66); }

/* --------------------------------------------------------------------------
   17. TESTIMONIALS
   -------------------------------------------------------------------------- */
.tst { padding: 30px; background: rgb(var(--c-surface)); border: 1px solid rgb(var(--c-line)); border-radius: var(--radius-lg); height: 100%; display: flex; flex-direction: column; }
.tst p { font-size: 0.9rem; color: rgb(var(--c-ink)); opacity: 0.85; line-height: 1.8; }
.tst-foot { margin-top: auto; padding-top: 20px; display: flex; align-items: center; gap: 12px; border-top: 1px solid rgb(var(--c-line)); }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, rgb(var(--c-primary)), rgb(var(--c-primary-deep)));
  color: rgb(var(--c-accent));
  font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem;
  flex: none;
}
.tst-name strong { display: block; font-size: 0.88rem; }
.tst-name span { font-size: 0.74rem; color: rgb(var(--c-muted)); }

/* --------------------------------------------------------------------------
   18. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid rgb(var(--c-line)); }
.faq-item { border-bottom: 1px solid rgb(var(--c-line)); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  color: rgb(var(--c-ink));
  transition: color var(--dur) var(--ease);
}
.faq-q:hover { color: rgb(var(--c-accent-deep)); }
.faq-ico {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  border: 1px solid rgb(var(--c-line-strong));
  border-radius: 50%;
  transition: all var(--dur) var(--ease);
}
.faq-ico svg { width: 13px; height: 13px; transition: transform var(--dur) var(--ease); }
.faq-item.open .faq-ico { background: rgb(var(--c-accent)); border-color: rgb(var(--c-accent)); color: rgb(var(--c-accent-ink)); }
.faq-item.open .faq-ico svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  padding-bottom: 0;
}
.faq-item.open .faq-a { max-height: 340px; padding-bottom: 26px; }
.faq-a p { font-size: 0.9rem; max-width: 780px; }

/* --------------------------------------------------------------------------
   19. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 60px);
  background: linear-gradient(135deg, rgb(var(--c-primary)), rgb(var(--c-primary-deep)));
  color: #fff;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(520px 320px at 88% 10%, rgb(var(--c-accent) / 0.28), transparent 62%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.76); }
.cta-band.gold { background: linear-gradient(135deg, rgb(var(--c-accent)), rgb(var(--c-accent-deep))); color: rgb(var(--c-accent-ink)); }
.cta-band.gold h2, .cta-band.gold p { color: rgb(var(--c-accent-ink)); }
.cta-band.gold::before { background: radial-gradient(520px 320px at 88% 10%, rgba(255, 255, 255, 0.28), transparent 62%); }

.budget-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.budget-pill {
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transition: all var(--dur) var(--ease);
}
.budget-pill:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255,255,255,0.5); }
.cta-band.gold .budget-pill { border-color: rgb(var(--c-accent-ink) / 0.28); color: rgb(var(--c-accent-ink)); background: rgba(0,0,0,0.05); }

/* mini enquiry form inside band */
.quick-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 26px;
}
.quick-form .qfield {
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 0.88rem;
  font-family: inherit;
  width: 100%;
}
.quick-form .qfield::placeholder { color: rgba(255, 255, 255, 0.5); }
.quick-form .qfield option { color: #0b1f3a; }
.quick-form select.qfield option { background: #fff; }
.cta-band.gold .qfield { border-color: rgb(var(--c-accent-ink) / 0.24); background: rgba(255,255,255,0.4); color: rgb(var(--c-accent-ink)); }
.cta-band.gold .qfield::placeholder { color: rgb(var(--c-accent-ink) / 0.6); }

/* --------------------------------------------------------------------------
   20. FORMS
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.8rem; font-weight: 600; color: rgb(var(--c-ink)); }
.field label .req { color: rgb(var(--c-error)); margin-left: 3px; }
.field .hint { font-size: 0.74rem; color: rgb(var(--c-muted)); }
.input, .select, .textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.92rem;
  color: rgb(var(--c-ink));
  background: rgb(var(--c-surface));
  border: 1.5px solid rgb(var(--c-line));
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: rgb(var(--c-muted) / 0.7); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: rgb(var(--c-accent));
  box-shadow: 0 0 0 3px rgb(var(--c-accent) / 0.16);
}
.textarea { resize: vertical; min-height: 130px; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
}

/* checkboxes / radios */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1.5px solid rgb(var(--c-line));
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.87rem;
  transition: all var(--dur) var(--ease);
  user-select: none;
}
.check:hover { border-color: rgb(var(--c-accent) / 0.6); }
.check input { accent-color: rgb(var(--c-accent)); width: 16px; height: 16px; flex: none; }
.check.checked { border-color: rgb(var(--c-accent)); background: rgb(var(--c-accent) / 0.07); }

.radio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.radio-card {
  position: relative;
  padding: 18px 16px;
  border: 1.5px solid rgb(var(--c-line));
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: all var(--dur) var(--ease);
  user-select: none;
}
.radio-card:hover { border-color: rgb(var(--c-accent) / 0.6); }
.radio-card input { position: absolute; opacity: 0; }
.radio-card b { display: block; font-size: 0.98rem; font-family: var(--font-heading); }
.radio-card span { font-size: 0.74rem; color: rgb(var(--c-muted)); }
.radio-card:has(input:checked) {
  border-color: rgb(var(--c-accent));
  background: rgb(var(--c-accent) / 0.08);
  box-shadow: 0 0 0 3px rgb(var(--c-accent) / 0.14);
}

/* file upload */
.upload {
  border: 2px dashed rgb(var(--c-line-strong));
  border-radius: var(--radius-lg);
  padding: 38px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  background: rgb(var(--c-surface-alt));
}
.upload:hover { border-color: rgb(var(--c-accent)); background: rgb(var(--c-accent) / 0.05); }
.upload svg { width: 34px; height: 34px; color: rgb(var(--c-accent)); margin: 0 auto 12px; }
.upload b { display: block; font-size: 0.92rem; }
.upload span { font-size: 0.76rem; color: rgb(var(--c-muted)); }

/* form aside / summary */
.form-aside { position: sticky; top: 100px; }
.summary-box {
  padding: 26px;
  background: rgb(var(--c-primary-soft));
  border: 1px solid rgb(var(--c-line));
  border-radius: var(--radius-lg);
}
.summary-box h4 { font-size: 1.05rem; }
.summary-list { margin-top: 18px; }
.summary-list li {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 11px 0;
  font-size: 0.85rem;
  border-bottom: 1px dashed rgb(var(--c-line-strong));
}
.summary-list li:last-child { border-bottom: 0; }
.summary-list .k { color: rgb(var(--c-muted)); }
.summary-list .v { font-weight: 600; text-align: right; }
.summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 18px; padding-top: 16px;
  border-top: 2px solid rgb(var(--c-primary) / 0.2);
}
.summary-total .k { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(var(--c-muted)); font-weight: 700; }
.summary-total .v { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 700; color: rgb(var(--c-primary)); }

/* --------------------------------------------------------------------------
   21. FILTERS SIDEBAR
   -------------------------------------------------------------------------- */
.listing { display: grid; grid-template-columns: 274px 1fr; gap: 34px; align-items: start; }
.filters {
  position: sticky;
  top: 100px;
  background: rgb(var(--c-surface));
  border: 1px solid rgb(var(--c-line));
  border-radius: var(--radius-lg);
  padding: 24px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
}
.filter-group { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid rgb(var(--c-line)); }
.filter-group:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.filter-group h5 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(var(--c-ink));
  margin-bottom: 14px;
}
.filter-list li { margin-bottom: 9px; }
.filter-list label { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: rgb(var(--c-muted)); cursor: pointer; }
.filter-list label:hover { color: rgb(var(--c-ink)); }
.filter-list input { accent-color: rgb(var(--c-accent)); width: 15px; height: 15px; flex: none; }
.filter-list .cnt { margin-left: auto; font-size: 0.72rem; color: rgb(var(--c-muted) / 0.7); }

.listing-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding-bottom: 20px; margin-bottom: 24px;
  border-bottom: 1px solid rgb(var(--c-line));
}
.listing-bar .count { font-size: 0.88rem; color: rgb(var(--c-muted)); }
.listing-bar .count b { color: rgb(var(--c-ink)); }

/* --------------------------------------------------------------------------
   22. ITEM-WISE PRICE TABLE  (the package detail showpiece)
   -------------------------------------------------------------------------- */
.items-table { width: 100%; border-collapse: collapse; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll::-webkit-scrollbar { height: 8px; }
.table-scroll::-webkit-scrollbar-thumb { background: rgb(var(--c-line-strong)); border-radius: 99px; }
.items-table thead th {
  text-align: left;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgb(var(--c-muted));
  background: rgb(var(--c-surface-alt));
  border-bottom: 1.5px solid rgb(var(--c-line));
  white-space: nowrap;
}
.items-table thead th:first-child { border-radius: var(--radius) 0 0 0; }
.items-table thead th:last-child { border-radius: 0 var(--radius) 0 0; }
.items-table tbody td {
  padding: 15px 16px;
  border-bottom: 1px solid rgb(var(--c-line));
  font-size: 0.9rem;
  vertical-align: middle;
}
.items-table tbody tr:hover { background: rgb(var(--c-primary-soft) / 0.5); }
.items-table .it-item { display: flex; align-items: center; gap: 14px; }
.items-table .it-item > span:last-child { flex: 1; min-width: 0; }
.items-table .it-thumb {
  width: 50px; height: 50px; flex: none;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: rgb(var(--c-primary-soft));
  display: grid; place-items: center;
  color: rgb(var(--c-primary) / 0.45);
}
.items-table .it-thumb svg { width: 20px; height: 20px; }
.items-table .it-name { display: block; font-weight: 600; line-height: 1.35; }
.items-table .it-cat { display: block; font-size: 0.72rem; color: rgb(var(--c-muted)); margin-top: 2px; }
.items-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.items-table .qty {
  display: inline-grid; place-items: center;
  min-width: 30px; height: 26px; padding: 0 8px;
  background: rgb(var(--c-primary-soft));
  color: rgb(var(--c-primary));
  border-radius: var(--radius-pill);
  font-size: 0.78rem; font-weight: 700;
}
.items-table tfoot td {
  padding: 18px 16px;
  font-weight: 700;
  border-top: 2px solid rgb(var(--c-primary) / 0.2);
}
.items-table tfoot .lbl { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(var(--c-muted)); }
.items-table tfoot .val { font-family: var(--font-heading); font-size: 1.35rem; color: rgb(var(--c-primary)); text-align: right; }
.items-table tr.type-service { background: rgb(var(--c-accent-soft) / 0.45); }
.items-table tr.type-service .it-thumb { background: rgb(var(--c-accent) / 0.18); color: rgb(var(--c-accent-deep)); }

/* --------------------------------------------------------------------------
   23. TABS (Interior | Jehez)
   -------------------------------------------------------------------------- */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: rgb(var(--c-surface-alt)); border: 1px solid rgb(var(--c-line)); border-radius: var(--radius-pill); }
.tab {
  padding: 11px 26px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgb(var(--c-muted));
  border-radius: var(--radius-pill);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.tab:hover { color: rgb(var(--c-ink)); }
.tab.active { background: rgb(var(--c-surface)); color: rgb(var(--c-primary)); box-shadow: var(--shadow-sm); }
.tabs.on-dark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); }
.tabs.on-dark .tab { color: rgba(255,255,255,0.66); }
.tabs.on-dark .tab.active { background: rgb(var(--c-accent)); color: rgb(var(--c-accent-ink)); }

/* --------------------------------------------------------------------------
   24. GALLERY
   -------------------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.gallery .g-main { grid-row: span 2; aspect-ratio: 3 / 4; }
.gallery .g-sub { aspect-ratio: 16 / 10; }
.gallery .g-item { position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery .g-item .ph { position: absolute; inset: 0; }
.gallery-more {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   25. DETAIL PAGE LAYOUT
   -------------------------------------------------------------------------- */
.detail { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.detail-info { position: sticky; top: 100px; }
.detail-title { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.detail-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 18px 0 6px; }
.detail-price .now { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700; color: rgb(var(--c-primary)); }
.detail-price .was { font-size: 1.05rem; color: rgb(var(--c-muted)); text-decoration: line-serif; text-decoration-color: rgb(var(--c-muted) / 0.6); }
.detail-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.detail-cta .btn { flex: 1; min-width: 150px; }
.vendor-row { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-block: 1px solid rgb(var(--c-line)); }
.vendor-row .vlogo {
  width: 46px; height: 46px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: rgb(var(--c-primary)); color: rgb(var(--c-accent));
  font-family: var(--font-heading); font-weight: 700;
  flex: none;
}
.vendor-row strong { font-size: 0.92rem; display: block; }
.vendor-row span { font-size: 0.76rem; color: rgb(var(--c-muted)); }

.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.assure div {
  padding: 14px;
  text-align: center;
  background: rgb(var(--c-surface-alt));
  border: 1px solid rgb(var(--c-line));
  border-radius: var(--radius);
  font-size: 0.76rem;
  color: rgb(var(--c-muted));
}
.assure svg { width: 18px; height: 18px; color: rgb(var(--c-accent)); margin: 0 auto 7px; }

/* accordion sections on detail */
.acc { border-top: 1px solid rgb(var(--c-line)); }
.acc-item { border-bottom: 1px solid rgb(var(--c-line)); }
.acc-head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: left;
  color: rgb(var(--c-ink));
}
.acc-head .faq-ico { width: 26px; height: 26px; }
.acc-item.open .faq-ico { background: rgb(var(--c-accent)); border-color: rgb(var(--c-accent)); color: rgb(var(--c-accent-ink)); }
.acc-item.open .faq-ico svg { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.acc-item.open .acc-body { max-height: 1400px; }
.acc-body-in { padding-bottom: 26px; }
.acc-body-in p { font-size: 0.92rem; }
.acc-body-in ul { margin-top: 12px; }
.acc-body-in ul li {
  position: relative; padding-left: 20px; font-size: 0.9rem; color: rgb(var(--c-muted)); margin-bottom: 8px;
}
.acc-body-in ul li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--c-accent));
}

/* --------------------------------------------------------------------------
   26. REVIEW
   -------------------------------------------------------------------------- */
.review { display: flex; gap: 16px; padding: 24px 0; border-bottom: 1px solid rgb(var(--c-line)); }
.review-body { flex: 1; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.review-head strong { font-size: 0.9rem; }
.review p { font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   27. PAGINATION
   -------------------------------------------------------------------------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination button {
  min-width: 42px; height: 42px; padding: 0 12px;
  display: grid; place-items: center;
  border: 1px solid rgb(var(--c-line));
  border-radius: var(--radius);
  font-size: 0.88rem; font-weight: 600;
  color: rgb(var(--c-muted));
  transition: all var(--dur) var(--ease);
}
.pagination button:hover { border-color: rgb(var(--c-accent)); color: rgb(var(--c-ink)); }
.pagination button.active { background: rgb(var(--c-primary)); border-color: rgb(var(--c-primary)); color: rgb(var(--c-primary-ink)); }
.pagination button svg { width: 15px; height: 15px; }

/* --------------------------------------------------------------------------
   28. MISC BLOCKS
   -------------------------------------------------------------------------- */
.notice {
  display: flex; gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  font-size: 0.86rem;
  border: 1px solid;
  margin-bottom: 24px;
}
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.notice-info { background: rgb(var(--c-primary-soft) / 0.6); border-color: rgb(var(--c-primary) / 0.18); color: rgb(var(--c-ink)); }
.notice-info svg { color: rgb(var(--c-primary)); }
.notice-ok { background: rgb(var(--c-success-soft)); border-color: rgb(var(--c-success) / 0.28); color: rgb(var(--c-ink)); }
.notice-ok svg { color: rgb(var(--c-success)); }

.alert-success {
  padding: 30px;
  text-align: center;
  background: rgb(var(--c-success-soft));
  border: 1px solid rgb(var(--c-success) / 0.3);
  border-radius: var(--radius-lg);
}
.alert-success .big-ico {
  width: 64px; height: 64px; margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgb(var(--c-success));
  color: #fff;
}
.alert-success .big-ico svg { width: 30px; height: 30px; }

.empty {
  padding: 70px 24px;
  text-align: center;
  background: rgb(var(--c-surface-alt));
  border: 1px dashed rgb(var(--c-line-strong));
  border-radius: var(--radius-lg);
}
.empty svg { width: 46px; height: 46px; color: rgb(var(--c-muted) / 0.5); margin: 0 auto 18px; }

.city-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.city-chip {
  padding: 10px 18px;
  border: 1px solid rgb(var(--c-line));
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  color: rgb(var(--c-muted));
  background: rgb(var(--c-surface));
  transition: all var(--dur) var(--ease);
}
.city-chip:hover { border-color: rgb(var(--c-accent)); color: rgb(var(--c-primary)); }
.city-chip.soon { opacity: 0.55; border-style: dashed; }

.app-band { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.store-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 12px 20px;
  border: 1.5px solid rgb(var(--c-line-strong));
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease);
}
.store-btn:hover { border-color: rgb(var(--c-accent)); background: rgb(var(--c-accent) / 0.06); }
.store-btn svg { width: 24px; height: 24px; }
.store-btn small { display: block; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(var(--c-muted)); }
.store-btn b { font-size: 0.92rem; }
.qr {
  width: 118px; height: 118px; flex: none;
  padding: 9px;
  background: #fff;
  border: 1px solid rgb(var(--c-line));
  border-radius: var(--radius);
}
.qr svg { width: 100%; height: 100%; }

/* --------------------------------------------------------------------------
   29. FOOTER
   -------------------------------------------------------------------------- */
.footer { background: rgb(var(--c-primary)); color: rgba(255, 255, 255, 0.7); padding-top: clamp(52px, 6vw, 78px); }
.footer h5 {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(var(--c-accent));
  margin-bottom: 20px;
}
.footer a { color: rgba(255, 255, 255, 0.68); font-size: 0.88rem; transition: all var(--dur) var(--ease); }
.footer a:hover { color: rgb(var(--c-accent)); padding-left: 4px; }
.footer-links li { margin-bottom: 11px; }
.footer-about p { color: rgba(255, 255, 255, 0.62); font-size: 0.88rem; margin-top: 16px; max-width: 340px; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 14px; font-size: 0.86rem; }
.footer-contact svg { width: 16px; height: 16px; color: rgb(var(--c-accent)); flex: none; margin-top: 3px; }
.newsletter { display: flex; gap: 8px; margin-top: 16px; }
.newsletter input {
  flex: 1; min-width: 0;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: #fff; font-size: 0.86rem; font-family: inherit;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, 0.42); }
.newsletter input:focus { outline: none; border-color: rgb(var(--c-accent)); }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.7);
}
.footer-social a:hover { background: rgb(var(--c-accent)); color: rgb(var(--c-accent-ink)); border-color: rgb(var(--c-accent)); padding-left: 0; }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 60px);
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom .legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   30. FLOATING ACTIONS
   -------------------------------------------------------------------------- */
.floats { position: fixed; right: 20px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 11px; }
.float-btn {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: #fff;
  transition: transform var(--dur) var(--ease);
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 24px; height: 24px; }
.float-wa { background: #25d366; }
.float-call { background: rgb(var(--c-primary)); }
.float-top { background: rgb(var(--c-surface)); color: rgb(var(--c-ink)); border: 1px solid rgb(var(--c-line)); }
.float-top svg { width: 18px; height: 18px; transform: rotate(180deg); }
.float-top.hide { opacity: 0; visibility: hidden; }

.mobile-bar { display: none; }

/* --------------------------------------------------------------------------
   31. THEME STUDIO DEMO PANEL  (proves the admin Theme Studio concept)
   -------------------------------------------------------------------------- */
.ts-panel {
  position: fixed;
  right: 20px; top: 90px;
  z-index: 300;
  width: 306px;
  background: rgb(var(--c-surface));
  border: 1px solid rgb(var(--c-line));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
body.ts-closed .ts-panel { transform: translateX(calc(100% + 30px)); opacity: 0; }
.ts-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: rgb(var(--c-primary));
  color: #fff;
}
.ts-head b { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.ts-head span { font-size: 0.62rem; opacity: 0.7; display: block; letter-spacing: 0.1em; }
.ts-x { color: #fff; opacity: 0.8; font-size: 1.1rem; line-height: 1; }
.ts-x:hover { opacity: 1; }
.ts-body { padding: 16px; max-height: 72vh; overflow-y: auto; }
.ts-group { margin-bottom: 18px; }
.ts-group > label {
  display: block;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgb(var(--c-muted));
  margin-bottom: 9px;
}
.ts-themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.ts-sw {
  aspect-ratio: 1;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease);
}
.ts-sw:hover { transform: scale(1.09); }
.ts-sw.active { border-color: rgb(var(--c-accent)); box-shadow: 0 0 0 2px rgb(var(--c-surface)) inset; }
.ts-sw .a { position: absolute; inset: 0; background: var(--sw-a); }
.ts-sw .b { position: absolute; right: 0; top: 0; bottom: 0; width: 32%; background: var(--sw-b); }
.ts-mod-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; }
.ts-mod-row .lbl { font-size: 0.78rem; font-weight: 600; display: flex; align-items: center; gap: 7px; }
.ts-mod-row .lbl svg { width: 14px; height: 14px; color: rgb(var(--c-accent)); }
.ts-mini-sel {
  padding: 6px 8px; font-size: 0.7rem; font-family: inherit;
  background: rgb(var(--c-surface-alt));
  border: 1px solid rgb(var(--c-line));
  border-radius: var(--radius);
  color: rgb(var(--c-ink));
  max-width: 148px;
}
.ts-seg { display: flex; gap: 3px; padding: 3px; background: rgb(var(--c-surface-alt)); border-radius: var(--radius); }
.ts-seg button {
  flex: 1; padding: 7px 4px; font-size: 0.68rem; font-weight: 600;
  color: rgb(var(--c-muted)); border-radius: 3px; transition: all var(--dur) var(--ease);
}
.ts-seg button.active { background: rgb(var(--c-surface)); color: rgb(var(--c-primary)); box-shadow: var(--shadow-sm); }
.ts-note {
  font-size: 0.68rem; color: rgb(var(--c-muted));
  background: rgb(var(--c-accent-soft));
  padding: 10px 12px; border-radius: var(--radius);
  line-height: 1.55;
}
.ts-toggle {
  position: fixed; right: 20px; top: 90px; z-index: 299;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgb(var(--c-primary));
  color: rgb(var(--c-accent));
  box-shadow: var(--shadow-md);
  transition: all var(--dur) var(--ease);
}
.ts-toggle:hover { transform: scale(1.08); }
.ts-toggle svg { width: 21px; height: 21px; }
body:not(.ts-closed) .ts-toggle { opacity: 0; visibility: hidden; }
.ts-bar { display: flex; align-items: center; gap: 6px; }
.ts-cc { width: 26px; height: 26px; }

/* --------------------------------------------------------------------------
   32. PRODUCT CARDS · STICKY SUBNAV · MULTI-STEP FORM
   -------------------------------------------------------------------------- */
.subnav {
  position: sticky; top: 0; z-index: 60;
  background: rgb(var(--c-surface));
  border-bottom: 1px solid rgb(var(--c-line));
}
.subnav .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-block: 12px;
}
.subnav .tabs { border: 0; background: transparent; padding: 0; }
.subnav .tab { padding: 9px 16px; font-size: 0.82rem; }
.subnav .tab.active { background: rgb(var(--c-primary-soft)); color: rgb(var(--c-primary)); box-shadow: none; }
.subnav-scroll { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; }
.subnav-scroll::-webkit-scrollbar { display: none; }

.wish {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgb(var(--c-surface));
  border: 1px solid rgb(var(--c-line));
  color: rgb(var(--c-muted));
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) var(--ease);
  cursor: pointer;
}
.wish:hover { color: rgb(var(--c-error)); border-color: rgb(var(--c-error) / 0.5); transform: scale(1.08); }
.wish.on { color: rgb(var(--c-error)); border-color: rgb(var(--c-error) / 0.5); }
.wish svg { width: 16px; height: 16px; }

.stock {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.74rem; color: rgb(var(--c-muted));
  margin-top: 10px;
}
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--c-success)); flex: none; }
.stock.low { color: rgb(var(--c-accent-deep)); }
.stock.low::before { background: rgb(var(--c-accent)); }
.stock.out { color: rgb(var(--c-error)); }
.stock.out::before { background: rgb(var(--c-error)); }

.prod-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.prod-foot .btn { flex: 1; }

.ico-tile {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: rgb(var(--c-primary-soft));
  color: rgb(var(--c-primary));
}
.ico-tile svg { width: 21px; height: 21px; }
.ico-tile.accent { background: rgb(var(--c-accent) / 0.16); color: rgb(var(--c-accent-deep)); }
.ico-tile.success { background: rgb(var(--c-success) / 0.14); color: rgb(var(--c-success)); }

.mini-list li {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 10px 0; font-size: 0.88rem;
  color: rgb(var(--c-muted));
  border-bottom: 1px dashed rgb(var(--c-line));
}
.mini-list li:last-child { border-bottom: 0; }
.mini-list svg { width: 16px; height: 16px; color: rgb(var(--c-accent)); flex: none; margin-top: 3px; }
.mini-list b { color: rgb(var(--c-ink)); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.form-step { display: none; }
.form-step.active { display: block; animation: fadeUp 0.4s var(--ease); }
.form-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-top: 28px; padding-top: 24px;
  border-top: 1px solid rgb(var(--c-line));
}
.step.is-done .step-num { background: rgb(var(--c-accent)); color: rgb(var(--c-accent-ink)); box-shadow: 0 0 0 8px rgb(var(--c-accent) / 0.12); }
.step.is-done h4 { color: rgb(var(--c-accent-deep)); }
.step.is-active h4 { color: rgb(var(--c-primary)); }
.step.is-active .step-num { box-shadow: 0 0 0 8px rgb(var(--c-primary) / 0.14); }
.step.is-done .step-num svg { width: 26px; height: 26px; }

/* multi-step enquiry form */
.qbar { height: 5px; background: rgb(var(--c-line)); border-radius: 99px; overflow: hidden; }
.qbar > span {
  display: block; height: 100%; width: 25%;
  background: linear-gradient(90deg, rgb(var(--c-primary)), rgb(var(--c-accent)));
  border-radius: 99px;
  transition: width 0.45s var(--ease);
}
.qsteps { grid-template-columns: repeat(4, 1fr); }
.qerr { display: none; color: rgb(var(--c-error)); font-size: 0.76rem; font-weight: 600; }
.field.invalid .input,
.field.invalid .select,
.field.invalid .textarea { border-color: rgb(var(--c-error)); }
.field.invalid .radio-card { border-color: rgb(var(--c-error) / 0.5); background: rgb(var(--c-error) / 0.05); }
.field.invalid .check-grid { padding: 8px; margin: -8px; border-radius: var(--radius); background: rgb(var(--c-error) / 0.04); }
.field.invalid .input,
.field.invalid .select,
.field.invalid .textarea { box-shadow: 0 0 0 3px rgb(var(--c-error) / 0.12); }
.field.invalid .qerr { display: block; }
.q-lock { font-size: 0.78rem; color: rgb(var(--c-muted)); display: flex; align-items: center; gap: 8px; }
.q-lock svg { width: 15px; height: 15px; color: rgb(var(--c-success)); flex: none; }

/* --------------------------------------------------------------------------
   33. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .listing { grid-template-columns: 240px 1fr; gap: 26px; }
  .nav { display: none; }
  .burger { display: grid; place-items: center; }
  .header-actions .btn { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .qsteps { grid-template-columns: repeat(4, 1fr); }
  .qsteps .step-num { width: 46px; height: 46px; font-size: 1.05rem; margin-bottom: 12px; }
  .qsteps .step h4 { font-size: 0.8rem; }
  .steps-line { display: none; }
  .quick-form { grid-template-columns: repeat(2, 1fr); }
  .g5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .g4, .g3 { grid-template-columns: repeat(2, 1fr); }
  .detail { grid-template-columns: 1fr; }
  .detail-info { position: static; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip > div:nth-child(2) { border-right: 0; }
  .stat-strip > div:nth-child(-n+2) { border-bottom: 1px solid rgb(var(--c-line)); }
  .listing { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; }
  .radio-cards { grid-template-columns: repeat(2, 1fr); }
  .eco-node { flex-basis: 33%; }
  .eco-node:first-child, .eco-node:last-child { border-radius: 0; }
  .mobile-bar {
    display: flex;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: rgb(var(--c-surface));
    border-top: 1px solid rgb(var(--c-line));
    padding: 10px;
    gap: 10px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  }
  .mobile-bar .btn { flex: 1; padding: 14px 12px; font-size: 0.72rem; }
  .floats { bottom: 86px; }
  body { padding-bottom: 66px; }
  .items-table .hide-sm { display: none; }
  .table-scroll .items-table { min-width: 540px; }
}

@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .topbar-right { display: none; }
  .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; }
  .g5.keep-2, .steps { grid-template-columns: repeat(2, 1fr); }
  .qsteps { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .qsteps .step-num { width: 38px; height: 38px; font-size: 0.9rem; margin-bottom: 10px; }
  .qsteps .step h4 { font-size: 0.7rem; }
  .hero-inner { padding-block: 44px; }
  .float-1 { left: 10px; bottom: 14px; }
  .float-2 { right: 10px; top: 14px; }
  .module-card { min-height: 320px; padding: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .radio-cards { grid-template-columns: 1fr; }
  .quick-form { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .g-main { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 11px 10px; font-size: 0.78rem; }
  .ts-panel { right: 10px; left: 10px; width: auto; }
  .ts-toggle { right: 14px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .assure { grid-template-columns: 1fr; }
  .detail-cta .btn { min-width: 100%; }
  .subnav .container { flex-direction: column; align-items: stretch; gap: 10px; }
  .subnav .tabs { overflow-x: auto; scrollbar-width: none; }
  .subnav .tabs::-webkit-scrollbar { display: none; }
  .form-nav { flex-direction: column-reverse; align-items: stretch; }
  .form-nav .btn { width: 100%; }
}

@media print {
  .header, .topbar, .floats, .mobile-bar, .ts-panel, .ts-toggle, .footer { display: none !important; }
  body { padding: 0; }
  .card { break-inside: avoid; }
}

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