:root {
  --bg: #fbfaf6;
  --surface: #fffefb;
  --surface-soft: #f1f8f4;
  --surface-raised: #ffffff;
  --ink: #0b1f19;
  --muted: #64736e;
  --muted-strong: #40524b;
  --line: #e3ebe6;
  --line-strong: #c8d8d0;
  --green: #00a86b;
  --green-dark: #006b49;
  --green-soft: #e5f7ef;
  --amber: #b7791f;
  --amber-soft: #fff3d8;
  --blue: #2563eb;
  --blue-soft: #e9f1ff;
  --red: #e85245;
  --red-soft: #fff0ee;
  --shadow: 0 22px 56px rgba(11, 31, 25, 0.11);
  --shadow-soft: 0 12px 30px rgba(11, 31, 25, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  color-scheme: light;
  overflow-x: hidden;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(251, 250, 246, 0) 300px),
    linear-gradient(120deg, rgba(0, 168, 107, 0.08), transparent 42%, rgba(242, 165, 26, 0.08)),
    radial-gradient(circle at 24px 24px, rgba(0, 107, 73, 0.055) 0 2px, transparent 3px),
    var(--bg);
  background-size:
    auto,
    auto,
    52px 52px,
    auto;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.52;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "S";
  position: fixed;
  top: 80px;
  right: -92px;
  z-index: 0;
  color: rgba(0, 107, 73, 0.035);
  font-size: clamp(18rem, 32vw, 34rem);
  font-style: italic;
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
  transform: rotate(-8deg);
}

#app {
  position: relative;
  z-index: 1;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(11, 31, 25, 0.05);
}

.topbar-inner {
  width: min(1180px, calc(100% - 28px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.brand-mark,
.choice-icon,
.trust-check,
.success-mark,
.file-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  font-size: 1.5rem;
  font-weight: 900;
  font-style: italic;
  transform: rotate(-5deg);
  box-shadow:
    0 12px 24px rgba(0, 168, 107, 0.24),
    inset 0 -10px 18px rgba(0, 0, 0, 0.08);
  line-height: 1;
}

.brand strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.1;
}

.brand small {
  display: block;
  max-width: 260px;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.nav-button,
.lang-button,
.icon-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  font-weight: 800;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.nav-button:hover,
.lang-button:hover,
.icon-button:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.nav-button svg,
.lang-button svg,
.icon-button svg {
  width: 18px;
  height: 18px;
}

.nav-button.active {
  border-color: rgba(7, 155, 103, 0.34);
  background: var(--green-soft);
  color: var(--green-dark);
}

.lang-button {
  color: var(--green-dark);
  font-weight: 700;
}

.main-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 22px auto 42px;
}

.landing-page {
  display: grid;
  gap: 20px;
}

.landing-hero {
  min-height: calc(100svh - 112px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 24px;
  padding: 18px 0 10px;
}

.landing-copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.landing-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0, 168, 107, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--green-dark);
  padding: 7px 12px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(0, 107, 73, 0.08);
}

.landing-copy h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.landing-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  font-weight: 650;
}

.landing-actions,
.landing-trust,
.landing-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-button {
  min-height: 56px;
  padding-inline: 22px;
}

.secondary-link-button {
  min-height: 56px;
  border: 1px solid rgba(0, 107, 73, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.secondary-link-button:hover {
  border-color: rgba(0, 107, 73, 0.36);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.secondary-link-button svg,
.landing-trust svg {
  width: 18px;
  height: 18px;
}

.landing-trust {
  align-items: stretch;
}

.landing-trust span {
  min-height: 44px;
  border: 1px solid rgba(200, 216, 208, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted-strong);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  font-size: 0.88rem;
  font-weight: 800;
}

.landing-trust span:first-child {
  color: var(--green-dark);
}

.landing-trust span:last-child {
  color: #7a4b0b;
}

.landing-stats {
  align-items: stretch;
}

.landing-stats div {
  min-width: 122px;
  border: 1px solid rgba(200, 216, 208, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px 12px;
  box-shadow: 0 10px 28px rgba(11, 31, 25, 0.06);
}

.landing-stats strong,
.landing-stats span {
  display: block;
}

.landing-stats strong {
  color: var(--green-dark);
  font-size: 1.45rem;
  line-height: 1;
}

.landing-stats span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.landing-visual {
  min-height: 620px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 107, 73, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(229, 247, 239, 0.94), rgba(255, 255, 255, 0.72)),
    repeating-linear-gradient(135deg, rgba(0, 107, 73, 0.08) 0 1px, transparent 1px 34px);
  box-shadow: 0 30px 80px rgba(0, 107, 73, 0.18);
}

.landing-visual::before {
  content: "S";
  position: absolute;
  right: 24px;
  bottom: 10px;
  color: rgba(0, 107, 73, 0.055);
  font-size: 20rem;
  font-style: italic;
  font-weight: 900;
  line-height: 0.8;
  transform: rotate(-9deg);
}

.floating-loop {
  position: absolute;
  border: 18px solid rgba(0, 168, 107, 0.28);
  border-radius: 50%;
  pointer-events: none;
  animation: floatSlow 8s ease-in-out infinite;
}

.loop-one {
  width: 230px;
  height: 230px;
  left: -86px;
  top: 82px;
}

.loop-two {
  width: 320px;
  height: 320px;
  right: -132px;
  top: 210px;
  animation-delay: -2s;
}

.floating-tool {
  position: absolute;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 34px rgba(0, 107, 73, 0.16);
  animation: floatSoft 5.8s ease-in-out infinite;
}

.floating-tool svg {
  width: 24px;
  height: 24px;
}

.tool-one {
  left: 42px;
  bottom: 142px;
}

.tool-two {
  right: 78px;
  top: 48px;
  animation-delay: -1.8s;
}

.desktop-mockup {
  position: absolute;
  left: 54px;
  top: 92px;
  z-index: 2;
  width: min(68%, 500px);
  border-radius: 16px;
  background: #1a2420;
  box-shadow: 0 34px 70px rgba(7, 27, 21, 0.3);
  transform: perspective(900px) rotateY(8deg) rotateX(2deg);
}

.desktop-bar {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.72);
}

.desktop-bar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.desktop-bar small {
  margin-inline-start: 8px;
  font-size: 0.72rem;
}

.desktop-screen {
  min-height: 330px;
  position: relative;
  overflow: hidden;
  border: 10px solid #1a2420;
  border-top: 0;
  border-radius: 0 0 13px 13px;
  background:
    linear-gradient(135deg, rgba(229, 247, 239, 0.94), rgba(0, 168, 107, 0.7)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 34px);
  padding: 34px;
}

.mini-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-style: italic;
  transform: rotate(-5deg);
}

.desktop-screen strong,
.desktop-screen small {
  display: block;
}

.desktop-screen strong {
  max-width: 280px;
  margin-top: 70px;
  color: var(--green-dark);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1;
  font-weight: 900;
}

.desktop-screen small {
  max-width: 260px;
  margin-top: 8px;
  color: var(--ink);
  font-weight: 900;
}

.desktop-screen button {
  min-height: 42px;
  margin-top: 18px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  padding: 0 14px;
  font-weight: 900;
}

.screen-pattern {
  position: absolute;
  inset: 0;
  color: rgba(0, 107, 73, 0.13);
  pointer-events: none;
}

.screen-pattern svg {
  position: absolute;
  width: 52px;
  height: 52px;
}

.screen-pattern svg:nth-child(1) {
  left: 54%;
  top: 18%;
}

.screen-pattern svg:nth-child(2) {
  left: 20%;
  top: 28%;
}

.screen-pattern svg:nth-child(3) {
  right: 12%;
  bottom: 20%;
}

.screen-pattern svg:nth-child(4) {
  left: 45%;
  bottom: 14%;
}

.phone-mockup {
  --landing-rotate: 5deg;
  position: absolute;
  right: 66px;
  bottom: 58px;
  z-index: 4;
  width: 178px;
  border: 8px solid #17231f;
  border-radius: 28px;
  background: #17231f;
  box-shadow: 0 24px 48px rgba(7, 27, 21, 0.28);
  transform: rotate(5deg);
  animation: floatSoft 5.8s ease-in-out infinite reverse;
}

.phone-mockup > span {
  display: block;
  padding: 6px 4px 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.66rem;
  font-weight: 800;
  text-align: center;
}

.phone-mockup img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
}

.landing-badge {
  position: absolute;
  z-index: 5;
  max-width: 230px;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(11, 31, 25, 0.12);
}

.landing-badge svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.badge-urgent {
  left: 38px;
  top: 34px;
  color: var(--red);
}

.badge-devis {
  right: 36px;
  bottom: 30px;
  color: #7a4b0b;
}

.landing-section,
.landing-flow {
  border: 1px solid rgba(200, 216, 208, 0.78);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.landing-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.landing-section h2,
.landing-flow h2 {
  margin: 6px 0 0;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}

.landing-service-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 10px;
}

.landing-service-card {
  --service-accent: var(--green-dark);
  --service-soft: var(--surface-soft);
  min-height: 138px;
  border: 1px solid rgba(200, 216, 208, 0.86);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, var(--service-soft));
  color: var(--ink);
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 9px;
  padding: 13px;
  text-align: start;
  box-shadow: 0 10px 28px rgba(11, 31, 25, 0.06);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.landing-service-card:hover {
  border-color: var(--service-accent);
  box-shadow: 0 18px 36px rgba(11, 31, 25, 0.1);
  transform: translateY(-3px);
}

.landing-service-card .choice-icon {
  background: var(--service-accent);
  color: #ffffff;
}

.landing-service-card strong {
  font-size: 0.98rem;
  line-height: 1.12;
}

.landing-service-card small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.landing-flow {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.landing-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.landing-flow-step {
  min-height: 104px;
  border: 1px solid rgba(200, 216, 208, 0.82);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f8fbf9);
  padding: 12px;
}

.landing-flow-step span {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.landing-flow-step strong {
  display: block;
  margin-top: 12px;
  line-height: 1.2;
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0) rotate(var(--landing-rotate, 0deg));
  }
  50% {
    transform: translateY(-10px) rotate(var(--landing-rotate, 0deg));
  }
}

@keyframes floatSlow {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(12px) scale(1.04);
  }
}

.request-layout,
.confirmation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}

.panel,
.trust-panel,
.operations-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 254, 251, 0.98)),
    var(--surface);
  border: 1px solid rgba(202, 216, 209, 0.88);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.request-panel,
.confirmation-panel,
.admin-list-panel,
.admin-detail-panel {
  position: relative;
  overflow: hidden;
}

.request-panel::before,
.confirmation-panel::before,
.admin-list-panel::before,
.admin-detail-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--green-dark), var(--green), var(--amber));
}

.request-panel,
.confirmation-panel,
.admin-list-panel,
.admin-detail-panel {
  padding: 20px;
}

.panel-heading {
  margin-bottom: 18px;
}

.urgent-strip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid rgba(232, 82, 69, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff7f4, rgba(255, 255, 255, 0.94) 82%);
  padding: 13px;
  margin-bottom: 18px;
  box-shadow:
    inset 4px 0 0 rgba(232, 82, 69, 0.78),
    0 10px 24px rgba(232, 82, 69, 0.07);
}

.urgent-strip > span {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.urgent-strip svg {
  width: 20px;
  height: 20px;
}

.urgent-strip strong {
  display: block;
  font-size: 0.98rem;
}

.urgent-strip p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 8px;
  font-size: 2rem;
  line-height: 1.12;
  font-weight: 900;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 12px;
  font-size: 1rem;
}

h3 {
  margin-bottom: 12px;
  font-size: 0.98rem;
}

.panel-heading p,
.admin-head p,
.confirmation-panel > p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 500;
}

.request-form {
  display: grid;
  gap: 20px;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
.stacked-label > span,
label > span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 10px;
}

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

.choice-card {
  --service-accent: var(--green-dark);
  --service-soft: var(--surface-soft);
  min-height: 78px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-raised);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  text-align: start;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
  position: relative;
  overflow: hidden;
}

.choice-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.selected-choice {
  border-color: rgba(0, 168, 107, 0.58);
  border-inline-start-color: var(--green);
  border-inline-start-width: 4px;
  background: linear-gradient(135deg, var(--green-soft), #ffffff 74%);
  box-shadow:
    inset 0 0 0 1px rgba(0, 168, 107, 0.1),
    0 12px 26px rgba(0, 168, 107, 0.11);
}

.service-card {
  border-color: rgba(200, 216, 208, 0.94);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--service-accent);
  opacity: 0.5;
}

html[dir="rtl"] .service-card::before {
  inset: 0 0 0 auto;
}

.service-card:hover {
  border-color: var(--service-accent);
}

.service-card .choice-icon {
  background: var(--service-soft);
  color: var(--service-accent);
}

.service-card.selected-choice {
  border-color: var(--service-accent);
  border-inline-start-color: var(--service-accent);
  background: linear-gradient(135deg, var(--service-soft), #ffffff 72%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 14px 30px rgba(11, 31, 25, 0.1);
}

.service-card.selected-choice::before {
  width: 5px;
  opacity: 1;
}

.service-card.selected-choice .choice-icon {
  background: var(--service-accent);
  color: #ffffff;
}

.service-plumbing {
  --service-accent: #079a8a;
  --service-soft: #e6faf6;
}

.service-electricity {
  --service-accent: #d99510;
  --service-soft: #fff5d6;
}

.service-ac {
  --service-accent: #2563eb;
  --service-soft: #eaf1ff;
}

.service-locksmith {
  --service-accent: #006b49;
  --service-soft: #e5f7ef;
}

.service-appliances {
  --service-accent: #64748b;
  --service-soft: #f1f5f9;
}

.service-cleaning {
  --service-accent: #10b981;
  --service-soft: #e8fff4;
}

.service-handywork {
  --service-accent: #b7791f;
  --service-soft: #fff3d8;
}

.choice-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--green-dark);
  transition:
    background 160ms ease,
    color 160ms ease;
}

.selected-choice .choice-icon {
  background: var(--green);
  color: #ffffff;
}

.choice-icon svg {
  width: 20px;
  height: 20px;
}

.choice-card strong,
.trust-row strong,
.request-item strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
}

.choice-card small,
.trust-row small,
.detail-grid small,
.request-item-time {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.field-help {
  margin: -4px 0 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.problem-chip-grid,
.problem-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.problem-chip {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  font-weight: 800;
  font-size: 0.86rem;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.problem-chip:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.problem-chip svg {
  width: 15px;
  height: 15px;
}

.selected-problem-chip {
  border-color: var(--green-dark);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 107, 73, 0.2);
}

.problem-tag-list {
  margin: 8px 0 10px;
}

.request-item .problem-tag-list {
  margin: 0;
}

.problem-tag-list span {
  min-height: 28px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  font-size: 0.76rem;
  font-weight: 900;
}

.urgency-urgent .choice-icon {
  background: var(--red-soft);
  color: var(--red);
}

.urgency-standard .choice-icon {
  background: var(--blue-soft);
  color: var(--blue);
}

.urgency-quote .choice-icon {
  background: var(--amber-soft);
  color: var(--amber);
}

.urgency-urgent.selected-choice {
  border-color: rgba(232, 82, 69, 0.42);
  border-inline-start-color: var(--red);
  background: linear-gradient(135deg, var(--red-soft), #ffffff 76%);
}

.urgency-standard.selected-choice {
  border-color: rgba(37, 99, 235, 0.34);
  border-inline-start-color: var(--blue);
  background: linear-gradient(135deg, var(--blue-soft), #ffffff 76%);
}

.urgency-quote.selected-choice {
  border-color: rgba(183, 121, 31, 0.36);
  border-inline-start-color: var(--amber);
  background: linear-gradient(135deg, var(--amber-soft), #ffffff 76%);
}

.urgency-urgent.selected-choice .choice-icon {
  background: var(--red);
  color: #ffffff;
}

.urgency-standard.selected-choice .choice-icon {
  background: var(--blue);
  color: #ffffff;
}

.urgency-quote.selected-choice .choice-icon {
  background: var(--amber);
  color: #ffffff;
}

.form-row,
.location-grid,
.contact-grid,
.admin-form-grid,
.filter-grid,
.detail-grid {
  display: grid;
  gap: 12px;
}

.location-grid,
.contact-grid,
.admin-form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.location-grid {
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  align-items: start;
}

.address-field textarea {
  min-height: 92px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-raised);
  color: var(--ink);
  outline: none;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease;
}

input,
select {
  min-height: 48px;
  padding: 0 13px;
}

textarea {
  min-height: 120px;
  resize: vertical;
  padding: 13px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(7, 155, 103, 0.13);
}

.service-area-note {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green-soft), rgba(255, 255, 255, 0.72));
  color: var(--green-dark);
  padding: 7px 9px;
  font-size: 0.82rem;
  font-weight: 800;
}

.service-area-note svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.ltr-input {
  direction: ltr;
  text-align: left;
}

.file-input {
  min-height: 74px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  color: var(--ink);
  transition:
    border-color 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease;
}

.file-input:hover {
  border-color: rgba(7, 155, 103, 0.4);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.file-input input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--green-dark);
}

.file-input strong {
  display: block;
}

.file-input small {
  color: var(--muted);
}

.file-selected {
  margin-top: 4px;
  color: var(--green-dark) !important;
  font-weight: 800;
}

.pre-submit-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 250, 246, 0.86)),
    var(--surface);
  padding: 12px;
}

.pre-submit-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.pre-submit-heading > span {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.pre-submit-heading svg,
.pre-submit-list svg {
  width: 18px;
  height: 18px;
}

.pre-submit-heading h2 {
  margin: 0 0 2px;
}

.pre-submit-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.pre-submit-list {
  display: grid;
  gap: 8px;
  padding-top: 10px;
}

.pre-submit-list div {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.pre-submit-list svg {
  margin-top: 1px;
  color: var(--green-dark);
  flex: 0 0 auto;
}

.payment-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid rgba(183, 121, 31, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--amber-soft), #ffffff 78%);
  color: #7a4b0b;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 700;
}

.payment-note svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.primary-button {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  font-weight: 900;
  box-shadow:
    0 16px 30px rgba(0, 107, 73, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    background 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.primary-button:hover {
  background: linear-gradient(135deg, #08b878, #005b3f);
  box-shadow:
    0 18px 34px rgba(0, 91, 63, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.primary-button svg {
  width: 19px;
  height: 19px;
}

.slim-button {
  width: auto;
  min-width: 170px;
}

.side-panel {
  display: grid;
  gap: 12px;
}

.trust-panel,
.operations-panel {
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.trust-list {
  display: grid;
  gap: 12px;
}

.response-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.trust-check {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
}

.trust-check svg {
  width: 16px;
  height: 16px;
}

.operation-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 10px;
}

.operation-step span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--surface-soft);
  color: var(--green-dark);
  font-weight: 800;
  font-size: 0.82rem;
}

.operation-step p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.confirmation-panel {
  min-height: 480px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.success-mark {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--green);
  color: #ffffff;
}

.success-mark svg {
  width: 28px;
  height: 28px;
}

.summary-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.summary-strip span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: var(--surface-soft);
  padding: 0 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
}

.whatsapp-button {
  min-height: 44px;
  border: 1px solid rgba(13, 143, 97, 0.3);
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
  text-decoration: none;
  font-weight: 900;
}

.whatsapp-button svg {
  width: 18px;
  height: 18px;
}

.next-steps {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.admin-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-head h1 {
  margin-bottom: 6px;
}

.admin-view-switch {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 4px;
}

.admin-view-switch button,
.secondary-button,
.danger-button {
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  font-weight: 900;
}

.admin-view-switch button.active,
.secondary-button {
  border-color: var(--line);
  background: #ffffff;
  color: var(--green-dark);
}

.admin-view-switch svg,
.secondary-button svg,
.danger-button svg {
  width: 16px;
  height: 16px;
}

.danger-button {
  color: var(--red);
}

.metric-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.metric-row span {
  min-width: 104px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  display: grid;
  place-items: center;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.metric-row strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.logout-button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  font-weight: 800;
}

.logout-button svg {
  width: 17px;
  height: 17px;
}

.admin-login-layout {
  min-height: calc(100vh - 130px);
  display: grid;
  place-items: start center;
  padding-top: 40px;
}

.admin-login-panel {
  width: min(460px, 100%);
  padding: 22px;
  display: grid;
  gap: 14px;
}

.admin-login-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.login-mark {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid;
  place-items: center;
}

.login-mark svg {
  width: 24px;
  height: 24px;
}

.admin-login-form {
  display: grid;
  gap: 12px;
}

.form-error {
  border: 1px solid rgba(183, 66, 53, 0.24);
  border-radius: 8px;
  background: var(--red-soft);
  color: var(--red) !important;
  padding: 10px 12px;
  font-weight: 800;
}

.session-check {
  color: var(--muted);
  font-weight: 700;
}

.admin-layout {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.worker-layout {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.worker-form-panel,
.worker-list-panel {
  padding: 18px;
}

.worker-form-panel p {
  color: var(--muted);
  margin-bottom: 14px;
}

.worker-form {
  display: grid;
  gap: 14px;
}

.worker-check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.check-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-pill span {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 900;
}

.check-pill input:checked + span {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green-dark);
}

.worker-form-actions,
.worker-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.worker-list {
  display: grid;
  gap: 10px;
}

.worker-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  display: grid;
  gap: 9px;
  padding: 12px;
}

.worker-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.worker-card strong {
  display: block;
}

.worker-card small,
.worker-card p,
.field-note {
  color: var(--muted);
  font-size: 0.82rem;
}

.worker-card p {
  margin: 0;
}

.worker-status {
  min-height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  font-size: 0.74rem;
  font-weight: 900;
  white-space: nowrap;
}

.worker-status-available {
  background: var(--green-soft);
  color: var(--green-dark);
}

.worker-status-busy {
  background: var(--amber-soft);
  color: var(--amber);
}

.worker-status-inactive {
  background: #eef1ef;
  color: var(--muted);
}

.admin-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-panel-title h2 {
  margin: 0;
}

.icon-button {
  width: 40px;
  padding: 0;
}

.filter-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
}

.filter-grid label > span {
  color: var(--muted);
  font-size: 0.75rem;
}

.request-list {
  display: grid;
  gap: 8px;
  max-height: 650px;
  overflow: auto;
  padding-right: 2px;
}

html[dir="rtl"] .request-list {
  padding-right: 0;
  padding-left: 2px;
}

.request-item {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-raised);
  color: var(--ink);
  display: grid;
  gap: 8px;
  padding: 12px;
  text-align: start;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.request-item:hover,
.selected-request {
  border-color: rgba(7, 155, 103, 0.5);
  background: var(--green-soft);
  box-shadow: var(--shadow-soft);
}

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

.request-item-top,
.request-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.request-item-top {
  justify-content: space-between;
}

.request-item-meta {
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.78rem;
}

.request-item-meta span {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0 8px;
}

.status-badge {
  min-height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.status-new {
  background: var(--red-soft);
  color: var(--red);
}

.status-contacted,
.status-quote_sent {
  background: var(--amber-soft);
  color: var(--amber);
}

.status-paid,
.status-assigned {
  background: var(--blue-soft);
  color: var(--blue);
}

.status-done {
  background: var(--green-soft);
  color: var(--green-dark);
}

.status-cancelled {
  background: #f0f1f0;
  color: #5f6863;
}

.empty-state,
.empty-detail {
  min-height: 230px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--muted);
  text-align: center;
}

.empty-state svg,
.empty-detail svg {
  width: 34px;
  height: 34px;
  color: var(--line-strong);
}

.detail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.detail-heading h2 {
  margin: 4px 0 0;
  font-size: 1.25rem;
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.detail-grid > div,
.description-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-raised);
  padding: 12px;
}

.detail-grid span,
.description-box span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-grid strong {
  display: block;
  margin: 4px 0;
}

.description-box {
  margin-top: 12px;
}

.description-box p {
  margin: 8px 0 0;
  white-space: pre-wrap;
}

.description-box .problem-tag-list span {
  min-height: 28px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: none;
}

.media-link {
  margin-top: 12px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 800;
}

.media-link svg {
  width: 17px;
  height: 17px;
}

.admin-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.admin-form small {
  display: block;
  margin-top: 5px;
  color: var(--green-dark);
  font-weight: 800;
}

.payment-method-box {
  min-height: 78px;
  border: 1px solid rgba(7, 155, 103, 0.22);
  border-radius: 8px;
  background: var(--green-soft);
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px 12px;
}

.payment-method-box span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.payment-method-box strong {
  color: var(--green-dark);
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 50;
  max-width: min(420px, calc(100% - 28px));
  min-height: 44px;
  transform: translate(-50%, 18px);
  border-radius: 8px;
  background: #12211b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  text-align: center;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(17, 33, 27, 0.2);
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

html[dir="rtl"] body {
  font-family:
    "Noto Kufi Arabic", "Segoe UI", Tahoma, Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html[dir="rtl"] .operation-step {
  grid-template-columns: minmax(0, 1fr) 28px;
}

html[dir="rtl"] .operation-step span {
  grid-column: 2;
  grid-row: 1;
}

html[dir="rtl"] .operation-step p {
  grid-column: 1;
  grid-row: 1;
}

@media (max-width: 960px) {
  .landing-hero,
  .landing-flow {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    min-height: auto;
    padding-top: 8px;
  }

  .landing-visual {
    min-height: 560px;
  }

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

  .landing-flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-layout,
  .confirmation-layout,
  .admin-layout,
  .worker-layout {
    grid-template-columns: 1fr;
  }

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

  .contact-grid,
  .location-grid,
  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .request-list {
    max-height: none;
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .topbar-inner {
    width: min(100% - 20px, 1180px);
    min-height: 62px;
  }

  .brand small {
    display: none;
  }

  .top-actions {
    gap: 6px;
  }

  .nav-button,
  .lang-button {
    width: 42px;
    min-width: 42px;
    padding: 0;
  }

  .nav-button span,
  .lang-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .main-shell {
    width: min(100% - 20px, 1180px);
    margin-top: 12px;
    margin-bottom: 24px;
  }

  .landing-page {
    gap: 14px;
  }

  .landing-hero {
    gap: 16px;
  }

  .landing-copy {
    gap: 14px;
  }

  .landing-copy h1 {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
    line-height: 1.04;
  }

  .landing-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-button,
  .secondary-link-button {
    width: 100%;
  }

  .landing-trust,
  .landing-stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .landing-visual {
    min-height: 500px;
    border-radius: 14px;
  }

  .desktop-mockup {
    width: 88%;
    left: 20px;
    top: 72px;
    transform: none;
  }

  .desktop-screen {
    min-height: 270px;
    padding: 24px;
  }

  .desktop-screen strong {
    margin-top: 52px;
    font-size: 1.6rem;
  }

  .phone-mockup {
    right: 20px;
    bottom: 46px;
    width: 132px;
  }

  .landing-badge {
    max-width: 210px;
    font-size: 0.76rem;
  }

  .badge-urgent {
    left: 18px;
    top: 18px;
  }

  .badge-devis {
    right: 18px;
    bottom: 18px;
  }

  .floating-loop {
    border-width: 12px;
  }

  .loop-one {
    width: 160px;
    height: 160px;
  }

  .loop-two {
    width: 220px;
    height: 220px;
  }

  .landing-section,
  .landing-flow {
    padding: 14px;
  }

  .landing-section-head {
    display: grid;
  }

  .landing-service-grid,
  .landing-flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-service-card {
    min-height: 124px;
  }

  .request-panel,
  .confirmation-panel,
  .admin-list-panel,
  .admin-detail-panel {
    padding: 14px;
  }

  h1 {
    font-size: 1.55rem;
  }

  .urgent-strip {
    gap: 10px;
    padding: 10px;
  }

  .problem-chip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .problem-chip {
    justify-content: center;
    padding: 0 9px;
  }

  .service-grid,
  .urgency-grid,
  .location-grid,
  .filter-grid,
  .detail-grid,
  .side-panel {
    grid-template-columns: 1fr;
  }

  .pre-submit-panel {
    padding: 12px;
  }

  .whatsapp-button {
    width: 100%;
  }

  .choice-card {
    min-height: 70px;
  }

  .request-form > .primary-button {
    position: sticky;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 12;
    min-height: 54px;
    box-shadow: 0 16px 32px rgba(7, 155, 103, 0.26);
  }

  .admin-head {
    display: grid;
  }

  .metric-row {
    justify-content: stretch;
  }

  .metric-row span {
    flex: 1 1 30%;
    min-width: 92px;
  }

  .request-item-top {
    display: grid;
  }

  .detail-heading {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-loop,
  .floating-tool,
  .phone-mockup {
    animation: none;
  }
}
