/* =================================================================
   TABLE OF CONTENTS  —  where to find things in this file
   Search (Ctrl+F / Cmd+F) the section name to jump to it.
   -----------------------------------------------------------------
   COLORS, FONTS & BASICS ...... :root  (brand colors, fonts, sizes)
   Global blueprint grid ....... /* Global blueprint grid background
   Header ...................... /* ---------- Header
   Mobile menu ................. /* Mobile menu overlay
   Hero (top of home page) ..... /* ---------- Hero
   Hero slider ................. /* Hero slider
   Ticker (scrolling strip) .... /* ---------- Ticker (via /* Ticker
   Industries section .......... /* ---------- Industries Section
   Requests section (home) ..... /* ---------- Requests Section
   Featured factories .......... /* ---------- Featured Section
   Consultant (paid feature) ... /* ---------- Consultant Section
   Blocks (generic sections) ... /* ---------- Blocks
   Cards (factory cards) ....... /* ---------- Cards
   "Why Sonnaع" section ........ /* ---------- Why Section
   CTA band .................... /* ---------- CTA Band
   Page head (inner pages) ..... /* ---------- Page Head
   Directory layout ............ /* ---------- Directory Layout
   Factory profile page ........ /* ---------- Profile
   Services .................... /* ---------- Services
   Rating stars ................ /* ---------- Rating Stars
   Capacity badges ............. /* ---------- Capacity Badges
   Requests layout (list page) . /* ---------- Requests Layout
   Modal (pop-up forms) ........ /* ---------- Modal
   Footer ...................... /* ---------- Footer
   Responsive (mobile sizes) ... /* ---------- Responsive
   -----------------------------------------------------------------
   TIP: To recolor the whole site, edit the values in :root below.
   ================================================================= */

:root {
  --ink: #15221F;
  --ink-soft: #4A5A56;
  --paper: #FFFFFF;
  --mist: #F4F7F6;
  --teal: #0E6B5E;
  --teal-dark: #0A4A42;
  --teal-tint: #E4F0EE;
  --line: #E2E9E7;
  --amber: #C98A2B;
  --amber-soft: #FBF1E2;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(21, 34, 31, .05), 0 8px 24px -12px rgba(21, 34, 31, .12);
  --font-brand: 'Alexandria', 'Cairo', sans-serif;
  --font-display: 'DM Sans', 'Cairo', sans-serif;
  --font-body: 'DM Sans', 'Cairo', sans-serif;
  --font-mono: 'JetBrains Mono', 'Cairo', monospace;
  --grid-fine: rgba(14, 107, 94, .045);
  --grid-bold: rgba(14, 107, 94, .09);
  --grid-node: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27120%27%20height%3D%27120%27%3E%3Cg%20stroke%3D%27%230E6B5E%27%20stroke-width%3D%271.1%27%20stroke-opacity%3D%270.30%27%3E%3Cpath%20d%3D%27M0%20-5V5M-5%200H5M120%20-5V5M115%200H125M0%20115V125M-5%20120H5M120%20115V125M115%20120H125%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 15px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.25;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input, select, textarea {
  font-family: inherit;
  font-size: 14px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Global blueprint grid background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--grid-bold) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-bold) 1px, transparent 1px),
    linear-gradient(var(--grid-fine) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-fine) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 30px 30px, 30px 30px;
}

/* ---------- SVG icons (replaces emojis) ---------- */
.svg-ic {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.14em;
  flex: none;
}

/* Watermark icons on the colored cover/featured art read as light */
.cover-ic, .fc-icon, .profile-cover .cover-ic {
  color: #fff;
}

/* Icons inside tinted tiles use the brand color */
.service-card .svc-icon, .request-card-new .req-icon,
.request-card .thumb, .contact-panel .ci {
  color: var(--teal);
}

/* ---------- Auth modal ---------- */
.acc-type-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acc-type { display: flex; align-items: center; gap: 8px; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 13.5px; font-weight: 600; }
.acc-type input { accent-color: var(--teal); }
.acc-type:has(input:checked) { border-color: var(--teal); background: var(--teal-tint); }
.au-err { background: #FEE4E2; color: #B42318; font-size: 13px; padding: 10px 12px; border-radius: 10px; margin-bottom: 12px; }
.dash-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.locked-panel { opacity: .55; }
.lock-note { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 13px; }
.lock-note .svg-ic { color: var(--amber); }
.verify-cta { background: linear-gradient(135deg, var(--teal-tint), #fff); border: 1.5px solid var(--teal); }
.verify-benefits { list-style: none; display: grid; gap: 10px; margin: 12px 0; }
.verify-benefits li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.verify-benefits .svg-ic { color: var(--teal); flex: none; margin-top: 2px; }
.vbadge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.vbadge .svg-ic { width: .95em; height: .95em; }
.v-yes { background: var(--teal-tint); color: var(--teal); }
.v-no { background: var(--amber-soft); color: #8A5A12; cursor: help; }
.cover-badge { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2; }

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(21, 34, 31, .04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: relative;
  z-index: 1;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -.02em;
  text-decoration: none;
  color: var(--ink);
  transition: opacity .2s ease;
  flex-shrink: 0;
}

.logo:hover {
  opacity: 0.8;
}

.logo .logo-text-brand {
  color: var(--ink);
}

.logo .logo-ain {
  color: var(--teal);
  margin-inline-start: -2px;
}

.logo.home-hidden {
  display: none;
}

nav.main-nav {
  display: flex;
  gap: 2px;
  align-items: center;
  z-index: 1;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 14.5px;
  background: none;
  border: none;
  transition: all .2s ease;
}

.nav-link:hover {
  background: var(--mist);
  color: var(--ink);
}

.nav-link.active {
  color: var(--teal);
  background: var(--teal-tint);
  font-weight: 600;
}

.home-nav {
  justify-content: center;
  gap: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
  flex-shrink: 0;
}

.header-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 13px;
  border: none;
  background: var(--mist);
  color: var(--ink-soft);
  transition: all .2s ease;
}

.header-quick-btn:hover {
  background: var(--teal-tint);
  color: var(--teal);
}

.lang-toggle {
  display: flex;
  border: 2px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--mist);
}

.lang-toggle button {
  padding: 7px 12px;
  background: transparent;
  border: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all .2s ease;
}

.lang-toggle button.on {
  background: var(--ink);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  transition: all .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 107, 94, .2);
}

.btn-primary {
  background: linear-gradient(135deg, #128978, var(--teal));
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(14, 107, 94, .5);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0E6B5E, var(--teal-dark));
}

.btn-ghost {
  background: #fff;
  border: 2px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-tint);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 10px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 22px;
  color: var(--ink);
  flex-shrink: 0;
  line-height: 1;
}

.mobile-home-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: all .2s ease;
  flex-shrink: 0;
  text-decoration: none;
}

.mobile-home-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-tint);
}

.mobile-menu-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.desktop-only {
  display: inline-flex;
}

.desktop-only-flex {
  display: flex;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(21, 34, 31, .5);
  z-index: 200;
}

.mobile-menu-overlay.open {
  display: block;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  background: #fff;
  z-index: 201;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  box-shadow: -4px 0 30px rgba(0, 0, 0, .15);
  transform: translateX(100%);
  transition: transform .3s ease;
}

[dir="rtl"] .mobile-menu-panel {
  right: auto;
  left: 0;
  transform: translateX(-100%);
  box-shadow: 4px 0 30px rgba(0, 0, 0, .15);
}

.mobile-menu-panel.open {
  transform: translateX(0);
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--ink-soft);
  padding: 4px 8px;
  cursor: pointer;
  line-height: 1;
  align-self: flex-end;
}

.mobile-menu-close:hover {
  color: var(--ink);
}

.mobile-lang-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.mobile-lang-toggle button {
  flex: 1;
  padding: 10px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all .2s ease;
}

.mobile-lang-toggle button.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.mobile-menu-link {
  padding: 14px 16px;
  border: none;
  background: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-align: start;
  transition: all .15s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.mobile-menu-link:hover {
  background: var(--mist);
}

.mobile-menu-divider {
  height: 1px;
  background: var(--line);
  margin: 8px 0;
}

.mobile-menu-btn-full {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  border-radius: 12px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: radial-gradient(680px 360px at 50% 6%, rgba(14, 107, 94, .09), transparent 60%),
    radial-gradient(560px 300px at 88% 4%, rgba(201, 138, 43, .06), transparent 62%),
    linear-gradient(180deg, #F6FAF9 0%, #fff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: var(--grid-node),
    linear-gradient(var(--grid-bold) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-bold) 1px, transparent 1px),
    linear-gradient(var(--grid-fine) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-fine) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 120px 120px, 30px 30px, 30px 30px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(140% 130% at 50% 30%, #000 62%, transparent 100%);
  mask-image: radial-gradient(140% 130% at 50% 30%, #000 62%, transparent 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -30px;
  width: 640px;
  height: 440px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(closest-side, rgba(14, 107, 94, .13), transparent 72%);
}

.hero-inner {
  position: relative;
  padding: 60px 0 80px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  z-index: 1;
}

.hero-inner>* {
  animation: fadeUp .6s ease backwards;
}

.hero-inner>*:nth-child(1) {
  animation-delay: .02s;
}

.hero-inner>*:nth-child(2) {
  animation-delay: .08s;
}

.hero-inner>*:nth-child(3) {
  animation-delay: .14s;
}

.hero-inner>*:nth-child(4) {
  animation-delay: .20s;
}

.hero-inner>*:nth-child(5) {
  animation-delay: .26s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-node {
  position: absolute;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(14, 107, 94, .45);
  animation: ping 3.4s ease-out infinite;
  pointer-events: none;
}

.hero-node.n1 {
  top: 120px;
  inset-inline-start: 13%;
  animation-delay: 0s;
}

.hero-node.n2 {
  top: 232px;
  inset-inline-end: 15%;
  animation-delay: 1.1s;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(201, 138, 43, .4);
}

.hero-node.n3 {
  bottom: 118px;
  inset-inline-start: 23%;
  animation-delay: 2.2s;
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(14, 107, 94, .45);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(14, 107, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(14, 107, 94, 0);
  }
}

.brand-display {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  width: 280px;
  height: 280px;
}

.orbit-ring {
  position: absolute;
  border: 2px dashed rgba(14, 107, 94, .2);
  border-radius: 50%;
  animation: orbitSpin 25s linear infinite;
  pointer-events: none;
}

.orbit-ring.r1 {
  width: 200px;
  height: 200px;
  top: 40px;
  left: 40px;
}

.orbit-ring.r2 {
  width: 240px;
  height: 240px;
  top: 20px;
  left: 20px;
  border-color: rgba(201, 138, 43, .18);
  animation-duration: 35s;
  animation-direction: reverse;
}

.brand-word {
  font-family: var(--font-brand);
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 800;
  letter-spacing: -.02em;
  /* leave headroom so the Arabic shadda (ّ) on صُنّاع isn't cropped */
  line-height: 1.32;
  padding-top: .12em;
  color: var(--ink);
  position: relative;
  z-index: 3;
}

.brand-word .ain {
  color: var(--teal);
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

.mast-line {
  font-size: clamp(15px, 2.4vw, 18px);
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  backdrop-filter: blur(6px);
}

[dir="ltr"] .eyebrow {
  letter-spacing: .04em;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--teal);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .35;
  }
}

.float-chips-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.float-chip-set {
  position: absolute;
  inset: 0;
  transition: opacity .8s ease, transform .8s ease;
}

.float-chip-set.hidden {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
}

.float-chip-set.visible {
  opacity: 1;
  transform: translateY(0);
}

.float-chip {
  position: absolute;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow);
  display: flex;
  gap: 8px;
  align-items: center;
  animation: floaty 6s ease-in-out infinite;
}

.float-chip small {
  display: block;
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.3;
}

.set1 .fc1 {
  top: 90px;
  inset-inline-start: 3%;
  animation-delay: 0s;
}

.set1 .fc2 {
  top: 200px;
  inset-inline-end: 3%;
  animation-delay: 1.6s;
}

.set1 .fc3 {
  bottom: 70px;
  inset-inline-start: 8%;
  animation-delay: 3.2s;
}

.set2 .fc1 {
  top: 70px;
  inset-inline-end: 5%;
  animation-delay: 0.5s;
}

.set2 .fc2 {
  top: 250px;
  inset-inline-start: 4%;
  animation-delay: 2s;
}

.set2 .fc3 {
  bottom: 100px;
  inset-inline-end: 6%;
  animation-delay: 0s;
}

.set3 .fc1 {
  top: 120px;
  inset-inline-start: 5%;
  animation-delay: 0.3s;
}

.set3 .fc2 {
  top: 170px;
  inset-inline-end: 7%;
  animation-delay: 1.2s;
}

.set3 .fc3 {
  bottom: 60px;
  inset-inline-start: 3%;
  animation-delay: 2.5s;
}

@keyframes floaty {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Hero slider */
.hero-slider {
  position: relative;
  max-width: 660px;
  margin: 32px auto 0;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hs-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
}

.hs-slide {
  flex: 0 0 100%;
  padding: 24px 62px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}

.hs-slide .ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--teal-tint);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.hs-slide h3 {
  font-size: 18.5px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.hs-slide p {
  font-size: 13.5px;
  color: var(--ink-soft);
  max-width: 460px;
  line-height: 1.55;
}

.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 17px;
  line-height: 1;
  color: var(--ink-soft);
  z-index: 2;
  transition: border-color .15s, color .15s;
}

.hs-arrow:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.hs-prev {
  inset-inline-start: 10px;
}

.hs-next {
  inset-inline-end: 10px;
}

.hs-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
  padding: 0 0 16px;
}

.hs-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width .25s, background .25s;
}

.hs-dot.on {
  width: 24px;
  background: var(--teal);
}

.hero h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 20px 0 14px;
  color: var(--ink);
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero p.sub {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 32px;
}

.search-bar {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .92);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 8px;
  max-width: 640px;
  margin: 0 auto;
  gap: 8px;
  position: relative;
  backdrop-filter: blur(8px);
}

.search-bar::before, .search-bar::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--teal);
  opacity: .5;
  pointer-events: none;
}

.search-bar::before {
  top: -6px;
  left: -6px;
  border-right: 0;
  border-bottom: 0;
}

.search-bar::after {
  bottom: -6px;
  right: -6px;
  border-left: 0;
  border-top: 0;
}

.search-bar svg {
  flex: none;
  margin-inline-start: 12px;
  color: var(--ink-soft);
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15.5px;
  padding: 10px 4px;
  background: transparent;
  min-width: 0;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-stats {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
  padding: 0 30px;
  position: relative;
}

.hero-stat+.hero-stat::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.hero-stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 500;
  color: var(--teal-dark);
}

.hero-stat span {
  font-size: 13px;
  color: var(--ink-soft);
}

/* Ticker */
.ticker {
  background: var(--teal-dark);
  color: #DCEEE9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.ticker::before, .ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 1;
  pointer-events: none;
}

.ticker::before {
  inset-inline-start: 0;
  background: linear-gradient(to right, var(--teal-dark), transparent);
}

.ticker::after {
  inset-inline-end: 0;
  background: linear-gradient(to left, var(--teal-dark), transparent);
}

[dir="rtl"] .ticker::before {
  background: linear-gradient(to left, var(--teal-dark), transparent);
}

[dir="rtl"] .ticker::after {
  background: linear-gradient(to right, var(--teal-dark), transparent);
}

.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  padding: 11px 0;
  animation: tickL 46s linear infinite;
}

[dir="rtl"] .ticker-track {
  animation-name: tickR;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes tickL {
  to {
    transform: translateX(-50%);
  }
}

@keyframes tickR {
  to {
    transform: translateX(50%);
  }
}

.tk {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: .92;
}

.tk .sep {
  width: 5px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .35);
}

/* ---------- Industries Section ---------- */
.industries-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 700px 450px at 80% 5%, rgba(201, 138, 43, .12) 0%, transparent 55%),
    radial-gradient(ellipse 550px 380px at 20% 95%, rgba(14, 107, 94, .10) 0%, transparent 55%),
    repeating-linear-gradient(45deg, transparent, transparent 3px, rgba(14, 107, 94, .02) 3px, rgba(14, 107, 94, .02) 8px),
    repeating-linear-gradient(-45deg, transparent, transparent 3px, rgba(201, 138, 43, .015) 3px, rgba(201, 138, 43, .015) 8px),
    linear-gradient(178deg, #FDFDFC 0%, #F5F7F6 30%, #F2F4F3 70%, #F8FAF9 100%);
  border-top: 2px solid rgba(14, 107, 94, .08);
  border-bottom: 2px solid rgba(14, 107, 94, .08);
}

.industries-section::before {
  content: "";
  position: absolute;
  top: -60px;
  inset-inline-end: -40px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle at 70% 30%, rgba(14, 107, 94, .06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.industries-section::after {
  content: "";
  position: absolute;
  bottom: -50px;
  inset-inline-start: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at 30% 70%, rgba(201, 138, 43, .05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.industries-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: .4;
}

.industries-orb.o1 {
  width: 200px;
  height: 200px;
  top: 60px;
  inset-inline-start: 3%;
  background: radial-gradient(circle, rgba(14, 107, 94, .07), transparent);
  animation: orbFloat 9s ease-in-out infinite;
}

.industries-orb.o2 {
  width: 140px;
  height: 140px;
  bottom: 100px;
  inset-inline-end: 6%;
  background: radial-gradient(circle, rgba(201, 138, 43, .06), transparent);
  animation: orbFloat 11s ease-in-out infinite reverse;
}

.industries-orb.o3 {
  width: 100px;
  height: 100px;
  top: 40%;
  inset-inline-start: 50%;
  background: radial-gradient(circle, rgba(14, 107, 94, .04), transparent);
  animation: orbFloat 13s ease-in-out infinite;
  animation-delay: 4s;
}

@keyframes orbFloat {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(25px, -25px);
  }
}

.industries-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(14, 107, 94, .06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
}

.industries-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
  position: relative;
  z-index: 1;
}

.industries-intro .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, .9);
  border: 1.5px solid rgba(14, 107, 94, .15);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
}

.industries-intro .section-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: blink 2s ease-in-out infinite;
}

.industries-intro h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 16px;
  color: var(--ink);
  line-height: 1.2;
}

.industries-intro h2 .highlight {
  color: var(--teal);
  position: relative;
  display: inline-block;
}

.industries-intro h2 .highlight::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(14, 107, 94, .15);
  border-radius: 2px;
  z-index: -1;
}

.industries-intro p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 32px;
}

.industries-grid-new {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.industry-card-new {
  position: relative;
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(14, 107, 94, .12);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.industry-card-new::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--teal-tint) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .3s ease;
}

.industry-card-new:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -8px rgba(14, 107, 94, .15);
  border-color: var(--teal);
  background: rgba(255, 255, 255, .98);
}

.industry-card-new:hover::before {
  opacity: 1;
}

.industry-card-new .ind-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 28px;
  position: relative;
  transition: transform .3s ease;
}

.industry-card-new:hover .ind-icon {
  transform: scale(1.1) rotate(-5deg);
}

.industry-card-new .ind-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  line-height: 1.3;
}

.industry-card-new .ind-count {
  font-size: 11px;
  color: var(--ink-soft);
  position: relative;
  font-family: var(--font-mono);
}

.industries-cta {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* ---------- Requests Section ---------- */
.requests-section {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(180deg, var(--mist) 0%, rgba(244, 247, 246, .5) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.requests-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(14, 107, 94, .04) 0%, transparent 60%);
  pointer-events: none;
}

.requests-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}

.requests-header .section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.requests-header .section-label::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
}

.requests-header h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
}

.requests-header p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-top: 8px;
}

.requests-carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.requests-track {
  display: flex;
  gap: 20px;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.request-card-new {
  flex: 0 0 calc(33.333% - 14px);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  width: 100%;
}

.request-card-new:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -12px rgba(21, 34, 31, .15);
  border-color: rgba(14, 107, 94, .3);
}

.request-card-new .req-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.request-card-new .req-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #FBF1E2;
  color: #8A5A12;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
}

.request-card-new .req-badge .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C98A2B;
  animation: blink 2s ease-in-out infinite;
}

.request-card-new .req-time {
  font-size: 11px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
}

.request-card-new .req-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 30px;
}

.request-card-new h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.request-card-new p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  flex: 1;
}

.request-card-new .req-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-soft);
}

.request-card-new .req-footer strong {
  color: var(--ink);
  font-weight: 600;
}

.carousel-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all .3s ease;
}

.carousel-dot.active {
  background: var(--teal);
  border-color: var(--teal);
  width: 28px;
  border-radius: 99px;
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--ink-soft);
  transition: all .2s ease;
}

.carousel-arrow:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-tint);
}

/* ---------- Featured Section ---------- */
.featured-section {
  position: relative;
  padding: 80px 0;
}

.featured-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201, 138, 43, .03) 0%, transparent 60%);
  pointer-events: none;
}

.featured-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.featured-header .featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(201, 138, 43, .1);
  border: 1.5px solid rgba(201, 138, 43, .2);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.featured-header .featured-badge .star {
  animation: rotateStar 4s linear infinite;
}

@keyframes rotateStar {
  to {
    transform: rotate(360deg);
  }
}

.featured-header h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.featured-header p {
  font-size: 16px;
  color: var(--ink-soft);
}

.featured-showcase {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.featured-card-large {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  transition: opacity .5s ease, transform .5s ease;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 4px 24px -8px rgba(21, 34, 31, .08);
}

.featured-card-large.fade-out {
  opacity: 0;
  transform: scale(.98);
}

.featured-card-large .fc-visual {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.featured-card-large .fc-visual .fc-icon {
  font-size: 120px;
  opacity: .15;
  position: absolute;
  inset-inline-end: -20px;
  bottom: -20px;
  transform: rotate(-10deg);
}

.featured-card-large .fc-visual .fc-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.featured-card-large .fc-visual .fc-badge {
  position: absolute;
  top: 20px;
  inset-inline-start: 20px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, .95);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .06em;
  z-index: 1;
}

.featured-card-large .fc-visual .fc-logo {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .95);
  display: grid;
  place-items: center;
  font-size: 48px;
  font-weight: 800;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
  font-family: var(--font-brand);
}

.featured-card-large .fc-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.featured-card-large .fc-content .fc-industry {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 4px;
}

.featured-card-large .fc-content h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
}

.featured-card-large .fc-content p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.featured-card-large .fc-content .fc-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.featured-card-large .fc-content .fc-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.featured-card-large .fc-content .fc-stat .stat-value {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  color: var(--teal-dark);
}

.featured-card-large .fc-content .fc-stat .stat-label {
  font-size: 11px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.featured-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.featured-thumbs {
  display: flex;
  gap: 12px;
  align-items: center;
}

.featured-thumb {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 2px solid transparent;
  display: grid;
  place-items: center;
  font-size: 24px;
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
}

.featured-thumb:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.featured-thumb.active {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-tint);
}

/* ---------- Blocks ---------- */
section.block {
  position: relative;
  padding: 60px 0;
  z-index: 1;
}

section.block::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: linear-gradient(rgba(14, 107, 94, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 107, 94, .10) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: -2px -2px;
  -webkit-mask-image: radial-gradient(ellipse at 0% 0%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 0% 0%, #000 20%, transparent 70%);
}

section.block.alt {
  background-color: var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

section.block.alt::before {
  background-image: linear-gradient(rgba(14, 107, 94, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 107, 94, .12) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.8;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.section-head h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin-top: 4px;
}

.link-more {
  color: var(--teal);
  font-weight: 600;
  font-size: 14px;
  background: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-more:hover {
  text-decoration: underline;
}

/* ---------- Cards ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  position: relative;
  z-index: 1;
}

.industry-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  transition: border-color .15s, transform .15s;
  display: block;
  width: 100%;
}

.industry-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.industry-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--teal-tint);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin: 0 auto 10px;
  transition: transform .18s ease;
}

.industry-card:hover .icon {
  transform: rotate(-6deg) scale(1.08);
}

.industry-card .name {
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.35;
}

.industry-card .count {
  font-size: 12px;
  color: var(--ink-soft);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  position: relative;
  z-index: 1;
}

.factory-card {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .15s, transform .15s;
  text-align: start;
  width: 100%;
  padding: 0;
}

.factory-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.factory-card::before, .factory-card::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--teal);
  opacity: 0;
  transition: opacity .18s, top .18s, bottom .18s, left .18s, right .18s;
  z-index: 3;
  pointer-events: none;
}

.factory-card::before {
  top: 12px;
  left: 12px;
  border-right: 0;
  border-bottom: 0;
}

.factory-card::after {
  bottom: 12px;
  right: 12px;
  border-left: 0;
  border-top: 0;
}

.factory-card:hover::before {
  opacity: .8;
  top: 9px;
  left: 9px;
}

.factory-card:hover::after {
  opacity: .8;
  bottom: 9px;
  right: 9px;
}

.factory-card .cover {
  height: 104px;
  position: relative;
  overflow: hidden;
}

.factory-card .cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px),
    radial-gradient(220px 90px at 85% 0%, rgba(255, 255, 255, .20), transparent 70%);
  background-size: 22px 22px, 22px 22px, auto;
}

.factory-card .fcode {
  position: absolute;
  top: 10px;
  inset-inline-start: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .92);
}

.cover-ic {
  position: absolute;
  inset-inline-end: 12px;
  bottom: 6px;
  font-size: 40px;
  opacity: .45;
  filter: saturate(.6);
  z-index: 1;
  transform: rotate(-8deg);
}

.factory-card .flogo {
  position: absolute;
  bottom: -22px;
  inset-inline-start: 18px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 18px;
  color: var(--teal);
  z-index: 2;
}

.factory-card .body {
  padding: 32px 18px 18px;
}

.factory-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.factory-card .meta {
  font-size: 12.5px;
  color: var(--ink-soft);
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.factory-card .desc {
  font-size: 13px;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.chip-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  font-size: 11.5px;
  font-weight: 600;
  background: var(--mist);
  color: var(--ink-soft);
  padding: 4px 10px;
  border-radius: 99px;
}

.chip.teal {
  background: var(--teal-tint);
  color: var(--teal-dark);
}

.chip.amber {
  background: #FBF1E2;
  color: #8A5A12;
}

.request-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: box-shadow .15s, transform .15s;
  text-align: start;
  width: 100%;
}

.request-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.request-card .thumb {
  height: 120px;
  border-radius: 12px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  font-size: 34px;
  background: radial-gradient(rgba(14, 107, 94, .08) 1.2px, transparent 1.2px) 0 0/18px 18px,
    linear-gradient(135deg, #EFF6F4, #E2EFEC);
}

.request-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.request-card .desc {
  font-size: 13px;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.request-card .foot {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 10px;
  flex-wrap: wrap;
  gap: 6px;
}

/* ---------- Why Section ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  position: relative;
  z-index: 1;
}

.why-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.why-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--teal-tint);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.why-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.why-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ---------- Consultant Section ---------- */
.consultant-section {
  padding: 84px 0;
  scroll-margin-top: 84px;
  background:
    radial-gradient(ellipse 600px 400px at 15% 8%, rgba(14, 107, 94, .10), transparent 60%),
    radial-gradient(ellipse 520px 360px at 92% 92%, rgba(201, 138, 43, .12), transparent 62%),
    linear-gradient(180deg, #FBFDFC, #F3F7F6);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.consultant-wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}

.consult-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--amber), #E0A94F);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 18px;
}

.consult-badge .svg-ic {
  color: #fff;
}

.consultant-info h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--ink);
}

.consultant-info h2 .hl {
  color: var(--teal);
}

.consult-sub {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 28px;
}

.consult-points {
  list-style: none;
  display: grid;
  gap: 18px;
}

.consult-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.cpt-ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: var(--teal-tint);
  color: var(--teal);
}

.consult-points b {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 2px;
}

.consult-points li > div > span {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.consultant-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.cc-price {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--amber-soft);
  color: #8A5A12;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.consultant-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--ink);
}

.cc-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.cc-select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--mist);
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 18px;
}

.cc-btn {
  width: 100%;
  display: flex;
  justify-content: center;
}

.cc-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: 14px;
}

.cc-note .svg-ic {
  color: var(--teal);
  flex: none;
  margin-top: 2px;
}

/* Nav shortcut for the consultant feature */
.nav-consult {
  color: var(--teal) !important;
  font-weight: 700;
}

/* ---------- CTA Band ---------- */
.cta-band {
  background: var(--teal-dark);
  border-radius: 22px;
  padding: 44px 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 10%, transparent 60%);
  mask-image: radial-gradient(ellipse at 100% 0%, #000 10%, transparent 60%);
}

.cta-band h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.cta-band p {
  opacity: .85;
  font-size: 14.5px;
  max-width: 480px;
  position: relative;
  z-index: 1;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--teal-dark);
  box-shadow: none;
  position: relative;
  z-index: 1;
}

/* ---------- Page Head ---------- */
.page-head {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
  background: var(--mist);
  z-index: 1;
}

.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: var(--grid-node),
    linear-gradient(var(--grid-bold) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-bold) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 120px 120px;
  -webkit-mask-image: radial-gradient(ellipse at 100% 50%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse at 100% 50%, #000 25%, transparent 72%);
}

.page-head h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.01em;
  position: relative;
  z-index: 1;
}

.page-head p {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.page-head .container {
  position: relative;
  z-index: 1;
}

/* ---------- Directory Layout ---------- */
.dir-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 28px;
  padding: 32px 0 64px;
  align-items: start;
  z-index: 1;
  position: relative;
}

.filters {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  position: sticky;
  top: 84px;
}

.filters h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filters .clear {
  font-size: 12px;
  color: var(--teal);
  background: none;
  border: none;
  font-weight: 600;
}

.f-group {
  margin-bottom: 16px;
}

.f-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.f-group select, .f-group input[type=text], .f-group input[type=number] {
  width: 100%;
  padding: 9px 10px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.f-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
}

.f-check input {
  accent-color: var(--teal);
  width: 16px;
  height: 16px;
}

.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.results-bar .count {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.results-bar .count b {
  color: var(--ink);
}

.empty {
  background: #fff;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  color: var(--ink-soft);
}

.empty .big {
  font-size: 34px;
  margin-bottom: 10px;
}

/* ---------- Profile ---------- */
.profile-cover {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.profile-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 18px),
    linear-gradient(rgba(255, 255, 255, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .10) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}

.profile-cover .cover-ic {
  font-size: 110px;
  opacity: .28;
  inset-inline-end: 40px;
  bottom: -10px;
}

.profile-cover .pcode {
  position: absolute;
  top: 16px;
  inset-inline-start: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .9);
  z-index: 2;
}

.profile-top {
  position: relative;
  margin-top: -46px;
}

.profile-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.profile-logo {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  background: var(--teal-tint);
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 28px;
  color: var(--teal);
  flex: none;
}

.profile-main {
  flex: 1;
  min-width: 240px;
}

.profile-main h1 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 4px;
}

.badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.profile-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  padding: 28px 0 64px;
  align-items: start;
}

.panel {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 18px;
}

.panel h2 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel h2::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 4px;
  background: var(--teal);
}

.panel p {
  font-size: 14px;
  color: var(--ink-soft);
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.spec {
  background: var(--mist);
  border-radius: 12px;
  padding: 12px 14px;
}

.spec .k {
  font-size: 11.5px;
  color: var(--ink-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-family: var(--font-mono);
}

.spec .v {
  font-size: 14px;
  font-weight: 600;
  margin-top: 2px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.gallery .ph {
  aspect-ratio: 4/3;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.gallery .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .10) 0 2px, transparent 2px 14px);
}

.contact-panel {
  position: sticky;
  top: 84px;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: border-color .15s, background .15s;
  background: #fff;
  width: 100%;
  text-align: start;
}

.contact-btn:hover {
  border-color: var(--teal);
  background: var(--teal-tint);
}

.contact-btn .ci {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex: none;
}

.contact-btn small {
  display: block;
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 12px;
}

.back-btn {
  background: none;
  border: none;
  color: var(--teal);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 20px 0 0;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.service-card {
  background: var(--mist);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: all .2s ease;
}

.service-card:hover {
  background: var(--teal-tint);
  transform: translateY(-2px);
}

.service-card .svc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--teal-tint);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex: none;
}

/* ---------- Rating Stars ---------- */
.rating-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  color: var(--amber);
  letter-spacing: 2px;
}

.rating-stars .rating-value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-inline-start: 4px;
}

.rating-stars .rating-count {
  font-size: 11px;
  color: var(--ink-soft);
  margin-inline-start: 2px;
}

/* ---------- Capacity Badges ---------- */
.capacity-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
}

.capacity-badge.daily {
  background: var(--teal-tint);
  color: var(--teal-dark);
}

.capacity-badge.monthly {
  background: var(--amber-soft);
  color: #8A5A12;
}

/* ---------- Requests Layout ---------- */
.req-layout {
  padding: 32px 0 64px;
}

.req-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(21, 34, 31, .45);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal {
  background: #fff;
  border-radius: 20px;
  max-width: 620px;
  width: 100%;
  max-height: 88vh;
  overflow: auto;
  padding: 28px;
}

.modal h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.modal .sub {
  color: var(--ink-soft);
  font-size: 13.5px;
  margin-bottom: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1/-1;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
}

.form-field label .opt {
  color: var(--ink-soft);
  font-weight: 400;
  font-size: 12px;
}

.form-field input, .form-field select, .form-field textarea {
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
}

.form-field textarea {
  resize: vertical;
  min-height: 90px;
}

.upload-box {
  border: 1.5px dashed var(--line);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 13px;
  background: var(--mist);
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

.toast {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  z-index: 200;
  box-shadow: var(--shadow);
}

[dir="rtl"] .toast {
  transform: translateX(50%);
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: #B9C6C2;
  padding: 48px 0 28px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at 0% 0%, #000 15%, transparent 60%);
  mask-image: radial-gradient(ellipse at 0% 0%, #000 15%, transparent 60%);
}

footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

footer .logo-text {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  margin-bottom: 12px;
}

footer .logo-text .logo-ain {
  color: #4FBFAE;
}

footer p {
  font-size: 13.5px;
  max-width: 280px;
}

footer h4 {
  color: #fff;
  font-size: 13.5px;
  margin-bottom: 12px;
  font-weight: 700;
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 8px;
  font-size: 13.5px;
}

footer li button {
  background: none;
  border: none;
  color: #B9C6C2;
  font-size: 13.5px;
  padding: 0;
}

footer li button:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 20px;
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .desktop-only, .desktop-only-flex {
    display: none !important;
  }
  
  .header-quick-btn {
    display: none;
  }
  
  .lang-toggle {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-home-btn {
    display: flex !important;
  }
  
  nav.main-nav {
    display: none;
  }
  
  .header-inner {
    justify-content: space-between;
  }
  
  .logo.home-hidden {
    display: none;
  }
  
  .logo {
    display: none !important;
  }
  
  .dir-layout {
    grid-template-columns: 1fr;
  }
  
  .filters {
    position: static;
  }
  
  .profile-layout {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .brand-display {
    width: 180px;
    height: 180px;
  }
  
  .orbit-ring.r1 {
    width: 140px;
    height: 140px;
    top: 20px;
    left: 20px;
  }
  
  .orbit-ring.r2 {
    width: 170px;
    height: 170px;
    top: 5px;
    left: 5px;
  }
  
  .brand-word {
    font-size: clamp(32px, 6vw, 48px);
  }
  
  .industries-grid-new {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  
  .request-card-new {
    flex: 0 0 calc(50% - 10px);
  }
  
  .featured-card-large {
    grid-template-columns: 1fr;
  }
  
  .featured-card-large .fc-visual {
    min-height: 200px;
  }
  
  .industries-orb {
    display: none;
  }

  /* Decorative floating chips overlap the hero text/search on small screens */
  .float-chips-container {
    display: none;
  }

  /* Consultant feature stacks on smaller screens */
  .consultant-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .industries-grid-overlay {
    background-size: 16px 16px;
  }
  
  :root {
    --grid-fine: rgba(14, 107, 94, .035);
    --grid-bold: rgba(14, 107, 94, .07);
  }
  
  section.block::before {
    background-image: linear-gradient(rgba(14, 107, 94, .05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(14, 107, 94, .05) 1px, transparent 1px);
    background-size: 40px 40px;
  }
  
  section.block.alt::before {
    background-image: linear-gradient(rgba(14, 107, 94, .06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(14, 107, 94, .06) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.5;
  }
  
  .btn {
    padding: 10px 18px;
    font-size: 13.5px;
    border-radius: 10px;
  }
  
  .btn-sm {
    padding: 7px 12px;
    font-size: 12.5px;
  }
  
  .header-inner {
    height: 60px;
  }
  
  .logo {
    font-size: 20px;
  }
  
  .hero-inner {
    padding: 40px 16px 50px;
  }
  
  section.block {
    padding: 40px 0;
  }
  
  .cta-band {
    padding: 32px 24px;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .industry-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .section-head h2 {
    font-size: 22px;
  }
  
  .section-head p {
    font-size: 13px;
  }
  
  .search-bar {
    margin: 0 16px;
    padding: 6px;
    border-radius: 14px;
  }
  
  .search-bar input {
    font-size: 14px;
    padding: 8px 4px;
  }
  
  .search-bar .btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .hero-stats {
    gap: 0;
    margin-top: 32px;
  }
  
  .hero-stat {
    padding: 0 20px;
  }
  
  .hero-stat b {
    font-size: 22px;
  }
  
  .hero-stat span {
    font-size: 12px;
  }
  
  .industries-section, .requests-section, .featured-section {
    padding: 48px 0;
  }
  
  .industries-intro h2, .featured-header h2 {
    font-size: clamp(26px, 3vw, 34px);
  }
  
  .requests-header h2 {
    font-size: clamp(24px, 3vw, 30px);
  }
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .spec-grid {
    grid-template-columns: 1fr;
  }
  
  .brand-display {
    width: 140px;
    height: 140px;
  }
  
  .orbit-ring.r1 {
    width: 110px;
    height: 110px;
    top: 15px;
    left: 15px;
  }
  
  .orbit-ring.r2 {
    width: 135px;
    height: 135px;
    top: 2px;
    left: 2px;
  }
  
  .brand-word {
    font-size: clamp(26px, 5vw, 36px);
  }
  
  /* Show 3 sectors at a time; swipe sideways for the rest */
  .industries-grid-new {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
    margin-bottom: 32px;
  }

  .industries-grid-new::-webkit-scrollbar {
    display: none;
  }

  .industries-grid-new .industry-card-new {
    /* 3 cards visible: full width minus the two 8px gaps, divided by 3 */
    flex: 0 0 calc((100% - 16px) / 3);
    scroll-snap-align: start;
    padding: 16px 10px;
  }
  
  .industry-card-new .ind-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
    border-radius: 12px;
  }
  
  .request-card-new {
    flex: 0 0 calc(100% - 0px);
    padding: 20px;
  }
  
  .featured-card-large .fc-content {
    padding: 24px;
  }
  
  .featured-card-large .fc-content h3 {
    font-size: 22px;
  }
  
  :root {
    --grid-fine: rgba(14, 107, 94, .03);
    --grid-bold: rgba(14, 107, 94, .055);
  }
  
  .btn {
    padding: 8px 14px;
    font-size: 12.5px;
    border-radius: 8px;
  }
  
  .btn-sm {
    padding: 6px 10px;
    font-size: 11.5px;
    border-radius: 8px;
  }
  
  .header-inner {
    height: 56px;
  }
  
  .logo {
    font-size: 18px;
  }
  
  .hero-inner {
    padding: 32px 0 40px;
  }
  
  .hero h1 {
    font-size: clamp(22px, 4vw, 28px);
    margin: 16px 0 10px;
  }
  
  .hero p.sub {
    font-size: 14px;
    margin-bottom: 24px;
  }
  
  section.block {
    padding: 32px 0;
  }
  
  .section-head h2 {
    font-size: 20px;
  }
  
  .industry-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
  }
  
  .industry-card {
    padding: 16px 10px;
  }
  
  .industry-card .icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
    border-radius: 10px;
  }
  
  .industry-card .name {
    font-size: 12px;
  }
  
  .cta-band {
    padding: 24px 20px;
    border-radius: 16px;
  }
  
  .cta-band h2 {
    font-size: 20px;
  }
  
  .cta-band p {
    font-size: 13px;
  }
  
  .filters {
    padding: 14px;
    border-radius: 12px;
  }
  
  .f-group select, .f-group input {
    padding: 7px 8px;
    font-size: 13px;
  }
  
  .profile-card {
    padding: 16px;
    gap: 12px;
  }
  
  .profile-logo {
    width: 60px;
    height: 60px;
    font-size: 22px;
  }
  
  .profile-main h1 {
    font-size: 20px;
  }
  
  .hs-slide {
    padding: 16px 40px 12px;
  }
  
  .hs-slide .ic {
    width: 36px;
    height: 36px;
    font-size: 18px;
    border-radius: 10px;
  }
  
  .hs-slide h3 {
    font-size: 15px;
  }
  
  .hs-slide p {
    font-size: 12px;
  }
  
  .industries-section, .requests-section, .featured-section {
    padding: 36px 0;
  }
  
  .industries-intro h2, .featured-header h2 {
    font-size: clamp(22px, 3vw, 28px);
  }

  .hero-node {
    display: none;
  }
}

/* ============================================
   MESSAGING + LIVE REQUESTS
   ============================================ */

/* Header/nav unread badge */
.msg-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: #E23D3D;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}
.mobile-menu-link .msg-badge {
  position: static;
  display: inline-block;
  margin-inline-start: 6px;
}

/* Slide-in chat panel */
.chat-backdrop { align-items: stretch; justify-content: flex-end; }
.chat-panel {
  width: 420px;
  max-width: 100%;
  height: 100%;
  background: var(--card, #fff);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,.18);
  animation: chatIn .2s ease;
}
[dir="rtl"] .chat-panel { box-shadow: 8px 0 40px rgba(0,0,0,.18); }
@keyframes chatIn { from { transform: translateX(30px); opacity: .4; } to { transform: none; opacity: 1; } }
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.chat-head b { font-size: 15px; }
.chat-subref, .chat-ref-inline { font-size: 12px; color: var(--teal); font-weight: 600; }
.chat-close {
  border: none;
  background: var(--mist);
  width: 34px;
  height: 34px;
  border-radius: 9px;
  cursor: pointer;
  color: var(--ink-soft);
  display: grid;
  place-items: center;
}
.chat-close .svg-ic { width: 18px; height: 18px; }
.chat-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--mist);
}
.chat-msg { display: flex; flex-direction: column; max-width: 82%; }
.chat-msg.me { align-self: flex-end; align-items: flex-end; }
.chat-msg.them { align-self: flex-start; align-items: flex-start; }
.chat-bubble {
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}
.chat-msg.me .chat-bubble { background: var(--teal); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.them .chat-bubble { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-time { font-size: 10.5px; color: var(--ink-soft); margin-top: 3px; }
.chat-ref, .chat-ref-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  background: var(--teal-tint);
  color: var(--teal);
  padding: 3px 9px;
  border-radius: 8px;
  margin-bottom: 5px;
  text-decoration: none;
}
.chat-ref .svg-ic, .chat-ref-inline .svg-ic { width: 13px; height: 13px; }
.chat-compose {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  align-items: flex-end;
}
.chat-compose textarea {
  flex: 1;
  resize: none;
  max-height: 120px;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
}

/* Messages inbox */
.thread-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  border: none;
  border-bottom: 1px solid var(--line);
  background: none;
  cursor: pointer;
  text-align: start;
}
.thread-row:hover { background: var(--mist); }
.thread-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}
.thread-body { flex: 1; min-width: 0; }
.thread-top { display: flex; align-items: center; gap: 8px; }
.thread-unread {
  background: #E23D3D;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 9px;
  padding: 0 5px;
}
.thread-preview {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.thread-time { font-size: 11px; color: var(--ink-soft); flex-shrink: 0; }

/* Request card extras */
.req-msg-btn { margin-top: 12px; width: 100%; }
.req-owner-tag {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--teal);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.req-owner-tag .svg-ic { width: 15px; height: 15px; }

@media (max-width: 520px) {
  .chat-panel { width: 100%; }
}

/* Danger zone / destructive buttons (account deletion, etc.) */
.btn-danger {
  background: #C0392B;
  color: #fff;
  border: 1.5px solid #C0392B;
}
.btn-danger:hover { background: #A93226; border-color: #A93226; }
.danger-zone { border: 1.5px solid #F3C7C2; background: #FDF4F3; }

/* Verification & notification-preferences panel */
.ver-row { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line, #eee); }
.ver-row:last-of-type { border-bottom: 0; }
.ver-label { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 7px; }
.ver-label .ci, .ver-label svg { width: 16px; height: 16px; opacity: .7; }
.vchip { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700;
  padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.vchip svg { width: 14px; height: 14px; }
.vchip.ok { background: var(--teal-tint); color: var(--teal); }
.vchip.pend { background: #FEF0C7; color: #B54708; }
.phone-verify { margin-top: 12px; padding: 14px; background: var(--surface-2, #f7f7f6);
  border: 1px solid var(--line, #eee); border-radius: 12px; }
.pref-list { display: flex; flex-direction: column; }
.pref-row { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line, #eee); font-size: 14px; cursor: pointer; }
.pref-row:last-child { border-bottom: 0; }
.pref-toggle { width: 20px; height: 20px; accent-color: var(--teal); cursor: pointer; flex-shrink: 0; }

/* Requests page search + filter toolbar */
.req-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 18px 0 6px;
}
.req-search {
  position: relative;
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
}
.req-search .svg-ic {
  position: absolute;
  inset-inline-start: 12px;
  width: 18px;
  height: 18px;
  color: var(--ink-soft);
  pointer-events: none;
}
.req-search input {
  width: 100%;
  padding: 10px 14px;
  padding-inline-start: 38px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
}
.req-toolbar select {
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: var(--card, #fff);
  color: var(--ink);
}

/* ============================================
   PHASE 1 — public browsing polish
   ============================================ */

/* Branded animated loading placeholder (pulsing teal dots) */
.loading-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 44px 20px;
  color: var(--ink-soft);
}
.loading-dots { display: inline-flex; gap: 7px; }
.loading-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
  animation: loadPulse 1s ease-in-out infinite;
}
.loading-dots i:nth-child(2) { animation-delay: .16s; }
.loading-dots i:nth-child(3) { animation-delay: .32s; }
.loading-label { font-size: 13px; }
@keyframes loadPulse {
  0%, 80%, 100% { transform: scale(.5); opacity: .35; }
  40% { transform: scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .loading-dots i { animation: none; opacity: .7; }
}

/* Card micro-animations */
.factory-card, .request-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform;
}
.factory-card:hover, .request-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(14, 107, 94, .12);
  border-color: var(--teal-tint);
}
.factory-card .cover-badge .vbadge { transition: box-shadow .2s ease; }
.factory-card:hover .cover-badge .v-yes {
  box-shadow: 0 0 0 3px rgba(14, 107, 94, .15);
}

/* Guest sign-up nudge banner */
.signup-nudge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 1.5px solid var(--teal-tint);
  background: linear-gradient(135deg, rgba(14,107,94,.06), rgba(14,107,94,.02));
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--ink);
}
.signup-nudge .svg-ic { width: 16px; height: 16px; color: var(--teal); vertical-align: -3px; }
.signup-nudge .nudge-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ============================================
   PHASE 2 — reviews & response stats
   ============================================ */
.review-list { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.review-item { border-top: 1px solid var(--line); padding-top: 14px; }
.review-item:first-child { border-top: none; padding-top: 0; }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.review-name { font-weight: 700; font-size: 14px; }
.review-stars .svg-ic { width: 15px; height: 15px; color: var(--amber); }
.review-body { margin: 6px 0 4px; font-size: 14px; color: var(--ink); line-height: 1.6; }
.review-date { font-size: 11.5px; color: var(--ink-soft); }

/* Interactive star picker in the review modal */
.star-picker { display: flex; gap: 6px; }
.star-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  color: var(--line);
  line-height: 0;
}
.star-btn .svg-ic { width: 30px; height: 30px; }
.star-btn.on { color: var(--amber); }
.star-btn:hover { transform: scale(1.08); }

/* ============================================
   PHASE 3a — favorites & compare
   ============================================ */
/* Heart button on cards / covers */
.fav-btn {
  position: absolute;
  top: 10px;
  inset-inline-end: 12px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: transform .15s ease, color .15s ease;
  z-index: 2;
}
.fav-btn:hover { transform: scale(1.1); }
.fav-btn.on { color: #E23D6E; }
.fav-btn .svg-ic { width: 18px; height: 18px; }

.shortlist-item { position: relative; }
.compare-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
  cursor: pointer;
}

/* Sticky compare bar */
.compare-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 20px;
  background: var(--card, #fff);
  border-top: 1.5px solid var(--line);
  box-shadow: 0 -6px 24px rgba(0,0,0,.08);
}

/* Compare table */
.compare-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.compare-table th, .compare-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}
.compare-table thead th { font-weight: 800; }
.compare-table thead a { color: var(--teal); text-decoration: none; }
.compare-table .cmp-key { color: var(--ink-soft); font-weight: 600; white-space: nowrap; }

/* ============================================
   PHASE 3b — RFQ / quotes / matching
   ============================================ */
.rfq-item {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.rfq-item:last-child { margin-bottom: 0; }
.rfq-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 2px; }
.rfq-status {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 8px;
  white-space: nowrap;
}
.rfq-status.s-open   { background: var(--amber-soft); color: #8A5A12; }
.rfq-status.s-quoted { background: var(--teal-tint); color: var(--teal); }
.rfq-status.s-closed { background: var(--mist); color: var(--ink-soft); }

.quote-list { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.quote-item {
  background: var(--teal-tint);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13.5px;
}
a.rfq-item { transition: border-color .15s ease, background .15s ease; }
a.rfq-item:hover { border-color: var(--teal); background: var(--mist); }

/* ============================================
   PHASE 4 — factory dashboard
   ============================================ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.stat-tile {
  background: var(--card, #fff);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-tile.accent { border-color: var(--teal-tint); background: linear-gradient(135deg, rgba(14,107,94,.05), transparent); }
.stat-ic { color: var(--teal); }
.stat-ic .svg-ic { width: 20px; height: 20px; }
.stat-num { font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.stat-num small { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.stat-lbl { font-size: 12.5px; color: var(--ink-soft); }

.dash-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 700px) { .dash-cols { grid-template-columns: 1fr; } }

/* Review disclaimer (collapsible) */
.review-disclaimer {
  background: var(--mist);
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 14px;
  font-size: 12.5px;
}
.review-disclaimer summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}
.review-disclaimer summary .svg-ic { width: 14px; height: 14px; }
.review-disclaimer p { margin-top: 8px; color: var(--ink-soft); line-height: 1.6; }

/* ============================================
   Owner editor + media lightbox
   ============================================ */
/* Cert / toggle chips in the editor */
.cert-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}
.cert-chip input { display: none; }
.cert-chip.on { background: var(--teal-tint); border-color: var(--teal); color: var(--teal); font-weight: 600; }

/* Media pickers */
.media-pick { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.media-thumb {
  width: 64px; height: 64px;
  border-radius: 12px;
  background: var(--mist) center/cover no-repeat;
  border: 1.5px solid var(--line);
  flex-shrink: 0;
}
.media-thumb.wide { width: 120px; }
.media-del {
  position: absolute;
  top: 4px; inset-inline-end: 4px;
  width: 24px; height: 24px;
  border: none; border-radius: 50%;
  background: rgba(0,0,0,.6); color: #fff;
  cursor: pointer; display: grid; place-items: center; z-index: 2;
}
.media-del .svg-ic { width: 14px; height: 14px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  animation: lbIn .15s ease;
}
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { max-width: 92vw; max-height: 86vh; display: flex; }
.lb-media { max-width: 92vw; max-height: 86vh; border-radius: 8px; object-fit: contain; background: #000; }
.lb-close, .lb-nav {
  position: absolute; border: none; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff;
  display: grid; place-items: center;
}
.lb-close { top: 16px; inset-inline-end: 16px; width: 42px; height: 42px; border-radius: 50%; }
.lb-close .svg-ic { width: 22px; height: 22px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 46px; height: 60px; border-radius: 10px; font-size: 34px; line-height: 1; }
.lb-prev { inset-inline-start: 14px; }
.lb-next { inset-inline-end: 14px; }
.lb-count { position: absolute; bottom: 18px; inset-inline: 0; text-align: center; color: rgba(255,255,255,.8); font-size: 13px; }
/* Gallery items are buttons now */
.gallery .lb-ph { border: none; padding: 0; cursor: pointer; position: relative; }
.lb-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; pointer-events: none;
}
.lb-play .svg-ic { width: 34px; height: 34px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }

/* ============================================
   Chat attachments
   ============================================ */
.chat-attach {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--mist);
  color: var(--ink-soft);
  cursor: pointer;
  display: grid; place-items: center;
}
.chat-attach:hover { color: var(--teal); border-color: var(--teal); }
.chat-attach .svg-ic { width: 18px; height: 18px; }
.chat-staged {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 8px 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-soft);
}
.chat-staged span { display: inline-flex; align-items: center; gap: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-staged .svg-ic { width: 14px; height: 14px; }
.chat-staged-x { border: none; background: none; cursor: pointer; color: var(--ink-soft); }
.chat-staged-x .svg-ic { width: 16px; height: 16px; }

.chat-att-img {
  width: 180px; max-width: 62vw; height: 140px;
  border: none; padding: 0; cursor: pointer;
  border-radius: 12px;
  background: var(--mist) center/cover no-repeat;
  position: relative; overflow: hidden;
  margin-bottom: 3px;
}
.chat-msg.me .chat-att-img { border-bottom-right-radius: 4px; }
.chat-msg.them .chat-att-img { border-bottom-left-radius: 4px; }
.chat-att-file {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 13px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: 13.5px; font-weight: 600;
  margin-bottom: 3px; max-width: 82%;
}
.chat-msg.me .chat-att-file { background: var(--teal); color: #fff; border-color: transparent; }
.chat-att-file .svg-ic { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================
   Reports
   ============================================ */
.report-btn {
  border: none;
  background: none;
  color: var(--ink-soft);
  font-size: 12.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.report-btn:hover { color: #C0392B; }
.report-btn .svg-ic { width: 14px; height: 14px; }
.msg-report {
  border: none;
  background: none;
  cursor: pointer;
  color: var(--ink-soft);
  opacity: 0;
  transition: opacity .15s ease;
  padding: 0;
  margin-inline-start: 6px;
  vertical-align: middle;
}
.chat-msg.them:hover .msg-report { opacity: .7; }
.msg-report:hover { color: #C0392B; opacity: 1; }
.msg-report .svg-ic { width: 12px; height: 12px; }

/* ============================================
   Notifications (bell)
   ============================================ */
.notif-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: #E23D3D;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}
.mobile-menu-link .notif-badge { position: static; display: inline-block; margin-inline-start: 6px; }
.nav-bell { cursor: pointer; }

.notif-panel {
  position: fixed;
  top: 66px;
  inset-inline-end: 16px;
  width: 360px;
  max-width: calc(100vw - 24px);
  max-height: 70vh;
  overflow-y: auto;
  background: var(--card, #fff);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0,0,0,.16);
  z-index: 120;
  animation: notifIn .15s ease;
}
@keyframes notifIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.notif-head { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.notif-item {
  display: flex;
  gap: 11px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.notif-item:hover { background: var(--mist); }
.notif-item.unread { background: var(--teal-tint); }
.notif-ic { color: var(--teal); flex-shrink: 0; }
.notif-ic .svg-ic { width: 18px; height: 18px; }
.notif-txt { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.notif-txt b { font-weight: 700; }
.notif-txt span { color: var(--ink-soft); }
.notif-time { font-size: 11px; }

/* ============================================
   Consultation booking (prototype) + list-factory nav
   ============================================ */
.cb-modal { max-width: 620px; }
.cb-proto {
  display: flex; align-items: center; gap: 8px;
  background: var(--amber-soft); color: #8A5A12;
  border-radius: 10px; padding: 9px 13px; font-size: 12.5px; margin-bottom: 14px;
}
.cb-proto .svg-ic { width: 15px; height: 15px; }
.cb-section {
  font-size: 14px; font-weight: 800; margin: 18px 0 10px;
  padding-bottom: 6px; border-bottom: 1px solid var(--line);
}
.cb-fee {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--teal-tint); border-radius: 10px;
  padding: 11px 14px; margin-bottom: 12px; font-size: 14px;
}
.cb-fee b { color: var(--teal); font-size: 16px; }
.cb-done { text-align: center; padding: 20px 10px; }
.cb-done-ic {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--teal-tint); color: var(--teal);
  display: inline-grid; place-items: center; margin-bottom: 14px;
}
.cb-done-ic .svg-ic { width: 30px; height: 30px; }
.nav-list-factory { color: var(--teal); font-weight: 700; }
