:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #26372e;
  background: #f6faf6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --green: #187547;
  --green-dark: #123f32;
  --bronze: #a47735;
  --ajrak: #294b70;
  --ajrak-red: #a44740;
  --ink: #26372e;
  --muted: #68776d;
  --border: #dce8de;
  --surface: #edf5ed;
  --cream: #f6faf6;
  --white: #fff;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}

button,
select {
  font: inherit;
}

button,
a,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #b39258;
  outline-offset: 3px;
}

.site-nav {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgb(250 253 250 / 96%);
  backdrop-filter: blur(12px);
}

.site-nav::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 5px;
  background: repeating-linear-gradient(
    135deg,
    var(--ajrak) 0 7px,
    var(--cream) 7px 10px,
    var(--ajrak-red) 10px 17px,
    var(--cream) 17px 20px
  );
  content: "";
}

.nav-inner,
.section-wrap,
.copyright {
  width: min(var(--content-width), calc(100% - 40px));
  margin-inline: auto;
}

.nav-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.footer-title {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand img,
.footer-title img {
  width: 50px;
  height: 48px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.35;
}

.brand-copy strong {
  color: var(--green);
  font-size: 11px;
  text-transform: uppercase;
}

.brand-copy > span {
  color: var(--bronze);
  font-family: "Noto Sans Arabic", Tahoma, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.desktop-links {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.9vw, 12px);
}

.desktop-links > a,
.desktop-links .nav-dropdown > summary {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border-radius: 6px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-links > a:hover,
.desktop-links .nav-dropdown > summary:hover {
  background: var(--surface);
  color: var(--green);
}

.desktop-links a[aria-current="page"],
.desktop-links .nav-dropdown > summary[aria-current="page"] {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: var(--bronze);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  cursor: pointer;
  list-style: none;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-dropdown-label::after {
  color: var(--bronze);
  content: "⌄";
  font-size: 14px;
  line-height: 1;
  transition: transform 150ms ease;
}

.nav-dropdown[open] > summary .nav-dropdown-label::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  z-index: 20;
}

.desktop-links .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 7px);
  inset-inline-end: 0;
  display: none;
  min-width: 210px;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 6px;
  background: var(--white);
  box-shadow: 0 12px 28px rgb(24 48 34 / 16%);
}

.desktop-links .nav-dropdown[open] .nav-dropdown-menu {
  display: grid;
}

.desktop-links .nav-dropdown-menu a {
  display: block;
  border-radius: 5px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.desktop-links .nav-dropdown-menu a:hover,
.desktop-links .nav-dropdown-menu a[aria-current="page"] {
  background: var(--surface);
  color: var(--green);
}

.mobile-links a:hover {
  color: var(--green);
}

.mobile-links a[aria-current="page"],
.mobile-links .nav-dropdown > summary[aria-current="page"] {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: var(--bronze);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 8px;
  padding: 9px 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 12px rgb(18 63 50 / 17%);
}

.button-primary:hover {
  background: #11583e;
}

.button-bronze {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 12px rgb(18 63 50 / 16%);
}

.button-bronze:hover {
  background: #125d39;
}

.language-toggle {
  min-height: 36px;
  padding: 7px 12px;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--green-dark);
  cursor: pointer;
  font-size: 19px;
}

.mobile-links {
  display: none;
  border-top: 1px solid var(--border);
  padding: 8px 20px 14px;
}

.mobile-links[hidden] {
  display: none;
}

.mobile-links a {
  display: block;
  border-bottom: 1px solid var(--border);
  padding: 11px 0;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.mobile-links .nav-dropdown {
  border-bottom: 1px solid var(--border);
}

.mobile-links .nav-dropdown > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.mobile-links .nav-dropdown-menu {
  display: grid;
  padding-inline-start: 14px;
}

.mobile-links .nav-dropdown-menu a {
  border-bottom: 0;
  padding: 9px 0;
  color: var(--muted);
  font-size: 13px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 36px 20px 40px;
  background-color: var(--cream);
  animation: appear 550ms ease both;
}

.hero-slideshow {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}

.hero-slideshow::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(13 57 39 / 82%) 0%, rgb(13 57 39 / 67%) 47%, rgb(13 57 39 / 38%) 100%);
  content: "";
}

.hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  opacity: 0;
  animation: hero-slide-cycle 18s infinite;
}

.hero-slideshow img:nth-child(1) {
  opacity: 1;
}

.hero-slideshow img:nth-child(2) {
  animation-delay: 6s;
}

.hero-slideshow img:nth-child(3) {
  animation-delay: 12s;
}

@keyframes hero-slide-cycle {
  0% {
    opacity: 0;
  }

  3.33%,
  30% {
    opacity: 1;
  }

  33.33%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slideshow img {
    animation: none;
  }

  .hero-slideshow img:not(:first-child) {
    display: none;
  }
}

.page-banner {
  border-bottom: 1px solid var(--border);
  padding: 48px 20px;
  background:
    linear-gradient(110deg, rgb(24 59 54 / 96%), rgb(18 100 62 / 92%)),
    url("public/market-produce.svg") center 42% / cover;
  color: var(--white);
}

.page-banner .section-wrap {
  max-width: var(--content-width);
}

.page-banner .eyebrow {
  color: #e7c993;
}

.page-banner h1 {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.page-banner p:last-child {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgb(255 255 255 / 80%);
  font-size: 15px;
}

.home-links-section {
  padding-block: 54px 72px;
}

.home-links-section > .section-wrap > h2 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: clamp(25px, 3.5vw, 34px);
}

.home-links-section > .section-wrap > p {
  max-width: 720px;
  margin: 0 0 25px;
  color: var(--muted);
}

.home-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-link-card {
  display: grid;
  align-content: start;
  min-height: 150px;
  gap: 8px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--ajrak);
  border-radius: 7px;
  padding: 20px;
  background: var(--white);
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.home-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgb(34 42 35 / 9%);
}

.home-link-card strong {
  color: var(--green-dark);
  font-size: 16px;
}

.home-link-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(var(--content-width), 100%);
  min-height: 350px;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 20px;
  margin-inline: auto;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-block: 25px;
}

.hero-copy h1 {
  max-width: 570px;
  font-size: clamp(38px, 5vw, 58px);
  color: #fff;
  text-shadow: 0 2px 18px rgb(5 31 20 / 35%);
}

.hero-visual {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 330px;
  place-items: center;
}

.hero-visual::before {
  content: none;
}

.hero::after {
  position: absolute;
  z-index: 2;
  bottom: 0;
  inset-inline: 0;
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    var(--ajrak) 0 12px,
    var(--cream) 12px 16px,
    var(--ajrak-red) 16px 28px,
    var(--cream) 28px 32px
  );
  content: "";
}

.logo-medallion {
  position: relative;
  z-index: 2;
  display: grid;
  width: clamp(230px, 26vw, 285px);
  aspect-ratio: 510 / 489;
  place-items: center;
  margin: 0;
  border: 2px solid #c4a15d;
  border-radius: 22px;
  padding: 17px;
  background: #f8f4ea;
  box-shadow:
    0 0 0 5px rgb(248 244 234 / 82%),
    0 0 0 7px rgb(196 161 93 / 82%),
    0 16px 38px rgb(5 31 20 / 28%);
}

.logo-medallion::before,
.logo-medallion::after {
  position: absolute;
  border-radius: 13px;
  content: "";
  pointer-events: none;
}

.logo-medallion::before {
  inset: 6px;
  border: 1px solid rgb(164 119 53 / 60%);
}

.logo-medallion::after {
  inset: 12px;
  border: 1px solid rgb(164 119 53 / 28%);
}

.hero-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--bronze);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d9efb8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  color: var(--green);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.hero-subtitle {
  margin: 14px 0 0;
  color: #f4d995;
  font-family: "Noto Sans Arabic", Tahoma, sans-serif;
  font-size: clamp(19px, 3vw, 25px);
  font-weight: 700;
  text-shadow: 0 2px 12px rgb(5 31 20 / 30%);
}

.hero-description {
  max-width: 560px;
  margin: 16px 0 0;
  color: rgb(255 255 255 / 94%);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
  text-shadow: 0 1px 8px rgb(5 31 20 / 35%);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 18px;
  margin-top: 20px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 1px 7px rgb(5 31 20 / 35%);
}

.facts > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.fact-icon {
  color: #d9efb8;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.hero-actions .button {
  min-height: 45px;
  padding-inline: 18px;
}

.hero-actions .button-primary {
  background: #d6e9ae;
  color: #153c2b;
  box-shadow: 0 5px 16px rgb(5 31 20 / 22%);
}

.hero-actions .button-primary:hover {
  background: #e4f2c7;
}

.button-outline {
  border: 1px solid rgb(24 59 54 / 30%);
  background: rgb(255 255 255 / 74%);
  color: var(--green-dark);
  text-decoration: none;
}

.button-outline:hover {
  background: var(--white);
}

.hero-actions .button-outline {
  border-color: rgb(255 255 255 / 72%);
  background: rgb(255 255 255 / 92%);
  color: #153c2b;
}

.bronze {
  color: var(--bronze);
}

.finder {
  padding-top: 16px;
  padding-bottom: 72px;
}

.finder-panel {
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 14px;
  padding: 28px;
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 12px 32px rgb(38 42 39 / 14%);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
}

.section-label h2 {
  margin: 0;
  font-size: 20px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #65bb8b;
}

.finder-controls {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 16px;
}

.finder-controls label {
  display: grid;
  gap: 8px;
  color: rgb(255 255 255 / 70%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finder-controls select {
  width: 100%;
  height: 47px;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 6px;
  padding: 0 13px;
  background: var(--green-dark);
  color: var(--white);
  font-size: 14px;
  letter-spacing: normal;
  text-transform: none;
}

.search-button {
  min-width: 152px;
  height: 47px;
}

.search-button > span:first-child {
  font-size: 19px;
}

.results-message {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.bazaar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tmc-directory-notice {
  margin-bottom: 24px;
  border: 1px solid #e5d7b8;
  border-left: 4px solid var(--bronze);
  border-radius: 10px;
  padding: 17px 20px;
  background: #fffaf0;
}

.tmc-directory-notice strong {
  color: var(--green-dark);
}

.tmc-directory-notice p,
.tmc-source-note {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.tmc-directory-count {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.tmc-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tmc-directory-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  background: var(--white);
  box-shadow: 0 5px 18px rgb(30 62 42 / 5%);
}

.tmc-directory-card h2 {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 19px;
}

.tmc-directory-card h2::after {
  display: block;
  width: 32px;
  height: 3px;
  margin-top: 7px;
  border-radius: 3px;
  background: var(--bronze);
  content: "";
}

.tmc-directory-card h3 {
  margin: 13px 0 8px;
  color: var(--muted);
  font-size: 12px;
}

.tmc-directory-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tmc-directory-card li {
  display: grid;
  gap: 3px;
  border-radius: 7px;
  padding: 10px;
  background: var(--surface);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.tmc-directory-card li > span {
  color: var(--muted);
}

.tmc-directory-card li .tmc-listing-status {
  color: #875f1c;
  font-size: 11px;
}

.tmc-directory-card li .tmc-listing-status.is-confirmed {
  color: #17633a;
}

.tmc-directory-card li a,
.tmc-no-listing a {
  width: fit-content;
  color: var(--green);
  font-weight: 700;
  text-underline-offset: 2px;
}

.tmc-no-listing {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.tmc-source-note {
  margin-top: 18px;
}

.bazaar-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  border-radius: 12px;
  padding: 19px;
  background: var(--white);
  box-shadow: 0 5px 18px rgb(30 62 42 / 5%);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.bazaar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgb(30 62 42 / 10%);
}

.bazaar-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.bazaar-heading p {
  margin: 0 0 5px;
  color: var(--bronze);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.bazaar-heading h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}

.pin {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 22px;
}

.bazaar-meta {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.bazaar-details {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.bazaar-details p {
  margin: 0;
}

.bazaar-details .approval-verified {
  border-radius: 4px;
  padding: 6px 8px;
  background: #e7f4e9;
  color: #17633a;
  font-weight: 700;
}

.facility-list {
  display: flex;
  gap: 7px;
  margin-top: 13px;
}

.facility-list span {
  border-radius: 4px;
  padding: 4px 7px;
  background: var(--surface);
  color: var(--green-dark);
  font-size: 11px;
}

.directions {
  width: 100%;
  margin-top: 15px;
  background: var(--green);
  color: var(--white);
  text-align: center;
  text-decoration: none;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--border);
  border-radius: 7px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.section-pad {
  padding-block: 72px;
}

.rates-section,
.management-section {
  border-block: 1px solid var(--border);
  background: #eff6ef;
}

.two-column {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
  gap: 48px;
}

main section h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

main section h2::after {
  display: block;
  width: 38px;
  height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green) 0 72%, #c8a258 72%);
  content: "";
}

.muted-copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.rate-table {
  overflow-x: auto;
  margin-top: 25px;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgb(30 62 42 / 5%);
  background: var(--white);
}

.rate-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding: 12px 14px;
  font-size: 13px;
}

.data-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.rate-heading {
  border: 0;
  background: var(--green-dark);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.pending-copy {
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 11px;
}

.pending-tag {
  border-radius: 4px;
  padding: 3px 6px;
  background: #f1e8d5;
  color: #684e20;
  font-size: 10px;
  font-weight: 700;
}

.festival-card {
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  padding: 24px;
  background: var(--white);
}

.festival-card h3,
.steps-card h3 {
  margin: 12px 0;
  font-size: 21px;
}

.large-icon {
  font-size: 30px;
  font-weight: 700;
}

.notice {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  border-radius: 5px;
  padding: 13px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
}

.notice strong {
  color: var(--ink);
}

.services-section {
  background: linear-gradient(135deg, #123f32, #185b3b);
  color: var(--white);
}

.services-section h2 {
  margin-bottom: 26px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 12px;
  background: rgb(255 255 255 / 18%);
}

.service-card {
  display: flex;
  min-height: 265px;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px;
  background: transparent;
}

.service-card h3 {
  margin: 17px 0 8px;
  font-size: 18px;
}

.service-card p {
  margin: 0;
  color: rgb(255 255 255 / 67%);
  font-size: 13px;
  line-height: 1.75;
}

.service-card .coming-soon {
  text-decoration: none;
}

.consumer-rights-section .service-grid {
  gap: 14px;
  overflow: visible;
  background: transparent;
}

.consumer-section-heading {
  margin: 28px 0 16px;
  color: var(--green-dark);
  font-size: clamp(22px, 3vw, 30px);
}

.consumer-rights-section .service-card {
  min-height: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 5px 18px rgb(30 62 42 / 5%);
}

.consumer-rights-section .service-card h2 {
  margin: 12px 0 8px;
  color: var(--green-dark);
  font-size: 19px;
}

.consumer-rights-section .service-card p {
  color: var(--muted);
}

.consumer-rights-section .category-note {
  margin-top: 22px;
}

.consumer-rights-section .category-note ol {
  display: grid;
  gap: 9px;
  padding-inline-start: 22px;
}

.consumer-rights-section .category-note p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.consumer-act-panel {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(16px, 3vw, 24px);
  background: var(--white);
  box-shadow: 0 5px 18px rgb(30 62 42 / 5%);
}

.consumer-act-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.consumer-act-heading h2 {
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: clamp(19px, 2.5vw, 25px);
}

.consumer-act-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.consumer-act-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
}

.consumer-act-viewer {
  display: block;
  width: 100%;
  height: clamp(420px, 72vh, 820px);
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
}

.consumer-faq {
  width: min(780px, 100%);
  margin: 28px auto 0;
}

.consumer-faq > h2 {
  color: var(--green-dark);
}

.consumer-faq details {
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--white);
}

.consumer-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.consumer-faq summary::-webkit-details-marker {
  display: none;
}

.consumer-faq summary span:last-child {
  color: var(--bronze);
  transition: transform 150ms ease;
}

.consumer-faq details[open] summary span:last-child {
  transform: rotate(180deg);
}

.consumer-faq details p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.citizen-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(250px, 0.7fr);
  gap: 16px;
  margin-top: 18px;
}

.complaint-panel,
.contact-panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--cream);
  color: var(--ink);
}

.complaint-panel h3,
.contact-panel h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.panel-copy {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.complaint-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.complaint-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.complaint-form label:has(textarea),
.complaint-form button,
.form-status {
  grid-column: 1 / -1;
}

.complaint-form input,
.complaint-form select,
.complaint-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 9px 11px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.complaint-form textarea {
  resize: vertical;
}

.complaint-form button {
  justify-self: start;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--green);
  font-size: 12px;
}

.contact-status,
.vendor-documents {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--border);
  padding: 12px 0;
  font-size: 12px;
}

.contact-status span,
.vendor-documents span {
  color: var(--muted);
  line-height: 1.6;
}

.steps-card > p {
  color: #66583f;
  font-size: 13px;
  line-height: 1.65;
}

.vendor-documents {
  margin-top: 18px;
  border-top-color: rgb(77 65 44 / 20%);
}

.category-note {
  margin-top: 30px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  padding: 18px 20px;
  background: var(--white);
}

.category-note h3 {
  margin-bottom: 5px;
  font-size: 16px;
}

.category-note p {
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 700;
}

.category-note > span {
  color: var(--muted);
  font-size: 11px;
}

.application-panel,
.sboss-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--white);
  box-shadow: 0 6px 22px rgb(30 62 42 / 5%);
}

.application-panel h3,
.sboss-panel h3,
.review-list-panel h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.application-panel .panel-copy,
.sboss-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.application-panel .complaint-form {
  align-self: center;
}

.form-wide {
  grid-column: 1 / -1;
}

.sboss-panel {
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  border-left: 4px solid var(--green);
  background: linear-gradient(135deg, #fff 45%, #edf6ed);
}

.sboss-copy h3 {
  font-size: clamp(20px, 3vw, 26px);
}

.sboss-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.sboss-actions .button {
  text-decoration: none;
}

.sboss-notice {
  display: grid;
  align-content: center;
  gap: 8px;
  border-radius: 6px;
  padding: 18px;
  background: #fff4dc;
  color: #765719;
  font-size: 12px;
  line-height: 1.65;
}

.reviews-section {
  background: #eff6ef;
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 18px;
  margin-top: 22px;
}

.review-form,
.review-list-panel {
  align-content: start;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(18px, 3vw, 24px);
  background: var(--white);
  box-shadow: 0 6px 22px rgb(30 62 42 / 5%);
}

.review-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 9px 11px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.review-form textarea {
  resize: vertical;
}

.review-form button,
.review-form .form-status {
  grid-column: 1 / -1;
  justify-self: start;
}

.review-list-panel {
  display: block;
}

.review-list-panel > p {
  color: var(--muted);
  font-size: 13px;
}

.local-review {
  display: grid;
  gap: 5px;
  border-top: 1px solid var(--border);
  padding: 12px 0;
  font-size: 12px;
}

.local-review > span {
  color: var(--bronze);
  font-weight: 700;
}

.local-review p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.coming-soon {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  color: #c6a265;
  font-size: 12px;
  font-weight: 700;
}

.vendor-layout {
  display: grid;
  grid-template-columns: 1fr 0.76fr;
  align-items: start;
  gap: 40px;
}

.vendor-intro {
  margin-block: 16px 22px;
}

.department-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.authority-groups {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.authority-group h3 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 15px;
  line-height: 1.45;
}

.authority-group .department-grid {
  margin-top: 0;
}

.department-grid > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  padding: 13px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.department-grid > div > span:first-child {
  flex: 0 0 auto;
  color: var(--green);
}

.department-grid > div > span:not(:first-child) {
  min-width: 0;
}

.authority-note {
  margin: 0;
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  padding: 12px 14px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.steps-card {
  border: 1px solid #dce8de;
  border-radius: 12px;
  padding: 25px;
  background: #edf5ed;
  color: var(--ink);
}

.steps-card h3 {
  margin-top: 0;
  color: var(--ink);
}

.steps-card ol {
  display: grid;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
}

.steps-card li > span:first-child {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.section-intro {
  max-width: 640px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin-top: 30px;
}

.roster-heading {
  margin: 36px 0 -16px;
  color: var(--green-dark);
  font-size: 20px;
}

.roster-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.team-grid article {
  min-height: 130px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  background: var(--white);
}

.team-grid .featured-profile {
  border-top: 3px solid var(--green);
  padding: 18px;
  background: linear-gradient(160deg, #fff 48%, #edf5ed);
  box-shadow: 0 8px 24px rgb(30 62 42 / 8%);
}

.team-grid article > span {
  color: var(--bronze);
  font-family: "Courier New", monospace;
  font-size: 10px;
}

.featured-profile .profile-number {
  display: block;
}

.profile-photo {
  display: block;
  width: 104px;
  height: 104px;
  margin-top: 12px;
  border: 3px solid #ead9b6;
  border-radius: 12px;
  object-fit: cover;
  object-position: center 5%;
  box-shadow: 0 2px 8px rgb(38 42 39 / 12%);
}

.team-grid h3 {
  margin: 14px 0 4px;
  font-size: 13px;
  line-height: 1.45;
}

.team-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.team-grid .profile-role {
  color: var(--green);
  font-weight: 800;
}

.team-grid .profile-bazaar {
  margin-top: 9px;
  color: var(--ink);
  font-weight: 700;
}

.team-grid .profile-location {
  margin-top: 3px;
}

.team-grid .featured-profile .profile-location {
  margin-bottom: 2px;
}

.faq-wrap {
  width: min(780px, calc(100% - 40px));
  margin-inline: auto;
}

.faq-wrap > h2 {
  margin-bottom: 26px;
  text-align: center;
}

.faq-wrap details {
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 3px 12px rgb(30 62 42 / 4%);
}

.faq-wrap summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.faq-wrap summary::-webkit-details-marker {
  display: none;
}

.faq-wrap summary span {
  color: var(--bronze);
  font-size: 19px;
  transition: transform 150ms ease;
}

.faq-wrap details[open] summary span {
  transform: rotate(180deg);
}

.faq-wrap details p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.site-footer {
  padding-top: 45px;
  background: var(--green-dark);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.footer-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 6px;
  padding: 8px 14px;
  color: rgb(255 255 255 / 86%);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  border-color: #c6a265;
  background: rgb(255 255 255 / 9%);
  color: var(--white);
}

.copyright {
  margin-top: 22px;
}

.footer-title {
  font-size: 14px;
}

.footer-title img {
  flex: 0 0 76px;
  width: 76px;
  height: 73px;
  border: 2px solid #c4a15d;
  border-radius: 13px;
  padding: 4px;
  background: #f8f4ea;
  box-shadow:
    0 0 0 3px rgb(18 63 50 / 95%),
    0 0 0 4px rgb(196 161 93 / 75%);
}

.footer-title strong {
  max-width: 300px;
  line-height: 1.4;
}

.footer-grid p {
  margin: 14px 0 0;
  color: rgb(255 255 255 / 62%);
  font-size: 12px;
  line-height: 1.8;
}

.footer-brand > p {
  max-width: 430px;
}

.footer-grid h2 {
  margin: 3px 0 0;
  color: #c6a265;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.copyright {
  margin-top: 34px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  padding-block: 18px;
  color: rgb(255 255 255 / 48%);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[dir="rtl"] body {
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

html[dir="rtl"] .eyebrow,
html[dir="rtl"] .facts,
html[dir="rtl"] .finder-controls label,
html[dir="rtl"] .footer-grid h2,
html[dir="rtl"] .copyright {
  letter-spacing: 0;
}

main p:not(.eyebrow):not(.hero-subtitle),
main li,
main label,
main input,
main select,
main textarea,
main button,
main .bazaar-meta,
main .bazaar-details,
main .rate-row,
main .notice,
main .department-grid > div,
main .authority-note,
main .tmc-directory-card li,
main .tmc-directory-card li .tmc-listing-status,
main .team-grid h3,
main .team-grid article > span,
main .team-grid p,
main .home-link-card span,
main .button,
main .directions,
main .consumer-faq summary,
main .faq-wrap summary,
main .faq-wrap details p {
  font-size: 16px;
}

.brand-copy strong,
.brand-copy > span {
  font-size: 14px;
}

.desktop-links > a,
.desktop-links .nav-dropdown > summary,
.desktop-links .nav-dropdown-menu a {
  font-size: 14px;
}

.footer-links a,
.footer-grid p {
  font-size: 15px;
}

.footer-grid h2 {
  font-size: 13px;
}

.copyright {
  font-size: 12px;
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .desktop-links {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .mobile-links:not([hidden]) {
    display: block;
  }

  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 700px) {
  .nav-inner,
  .section-wrap,
  .copyright {
    width: min(100% - 32px, var(--content-width));
  }

  .desktop-links {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .mobile-links:not([hidden]) {
    display: block;
  }

  .hero {
    padding: 18px 16px 22px;
  }

  .page-banner {
    padding-block: 36px;
  }

  .hero-layout {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy {
    padding-block: 8px 0;
    text-align: center;
  }

  .hero-copy h1,
  .hero-description {
    margin-inline: auto;
  }

  .hero-subtitle {
    margin-top: 8px;
    font-size: clamp(17px, 4.5vw, 20px);
  }

  .hero-description {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.55;
  }

  .facts,
  .hero-actions {
    justify-content: center;
  }

  .facts {
    margin-top: 12px;
  }

  .hero-actions {
    margin-top: 14px;
  }

  .hero-visual {
    min-height: 0;
    padding-top: 16px;
  }

  .logo-medallion {
    width: clamp(120px, 34vw, 165px);
  }

  .finder-panel {
    padding: 20px;
  }

  .finder-controls,
  .two-column,
  .vendor-layout {
    grid-template-columns: 1fr;
  }

  .search-button {
    width: 100%;
  }

  .bazaar-grid,
  .tmc-directory-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .vendor-layout {
    gap: 28px;
  }

  .consumer-act-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .consumer-act-viewer {
    height: 68vh;
    min-height: 360px;
  }

  .application-panel,
  .sboss-panel,
  .reviews-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .nav-inner,
  .section-wrap,
  .copyright {
    width: calc(100% - 28px);
  }

  .brand img {
    width: 42px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 9px;
  }

  .brand-copy > span {
    font-size: 10px;
  }

  .language-toggle {
    padding-inline: 9px;
    font-size: 11px;
  }

  .hero {
    padding-inline: 14px;
  }

  .facts {
    gap: 9px 14px;
    font-size: 10px;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-actions .button {
    flex: 1 1 auto;
    padding-inline: 12px;
    font-size: 12px;
  }

  .bazaar-grid,
  .tmc-directory-grid,
  .service-grid,
  .department-grid,
  .team-grid,
  .review-form,
  .home-link-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 220px;
  }

  .team-grid article {
    min-height: auto;
  }

  .rate-table {
    display: grid;
    gap: 9px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .rate-heading {
    display: none;
  }

  .rate-row:not(.rate-heading) {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    background: var(--white);
    box-shadow: 0 4px 14px rgb(30 62 42 / 5%);
    font-size: 12px;
  }

  .rate-row:not(.rate-heading) > strong {
    padding-bottom: 8px;
    font-size: 14px;
  }

  .rate-row:not(.rate-heading) > span {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-block: 8px;
    font-size: 11px;
  }

  .rate-row:not(.rate-heading) > span::before {
    color: var(--ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-align: start;
    content: attr(data-label);
  }

  .rate-row:not(.rate-heading) > .pending-tag {
    border-radius: 0 0 5px 5px;
    padding: 8px 6px;
  }

  .citizen-panels,
  .complaint-form {
    grid-template-columns: 1fr;
  }

  .application-panel .complaint-form,
  .review-form {
    grid-template-columns: 1fr;
  }

  .form-wide,
  .review-form button,
  .review-form .form-status {
    grid-column: auto;
  }

  .complaint-form label:has(textarea),
  .complaint-form button,
  .form-status {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: auto;
  }
}

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

.mobile-links a,
.mobile-links .nav-dropdown > summary,
.mobile-links .nav-dropdown-menu a {
  font-size: 16px;
}

@media (max-width: 480px) {
  .brand-copy strong {
    font-size: 12px;
  }

  .brand-copy > span {
    font-size: 13px;
  }

  .language-toggle,
  .facts {
    font-size: 14px;
  }

  .hero-actions .button {
    font-size: 14px;
  }

  .copyright {
    font-size: 12px;
  }

  .rate-row:not(.rate-heading) > span {
    font-size: 15px;
  }

  .rate-row:not(.rate-heading) > strong {
    font-size: 16px;
  }

  .rate-row:not(.rate-heading) > span::before {
    font-size: 14px;
  }
}
