:root {
  --white: #ffffff;
  --yellow: #f7b500;
  --black: #252424;
  --red: #ff0000;
  --soft-bg: #f7f8fa;
  --line: #e9e9e9;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

i[class*="fa-"] {
  display: inline-block;
  line-height: 1;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--black);
  background: linear-gradient(180deg, #fcfcfd 0%, #f6f7f9 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 40% 30%, #323232 0%, #171717 45%, #0b0b0b 100%);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.splash-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-inner {
  position: relative;
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  text-align: center;
}

.splash-ring {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  border: 4px solid rgba(247, 181, 0, 0.26);
  border-top-color: var(--yellow);
  border-right-color: var(--red);
  animation: spin 1.15s linear infinite;
}

.splash-logo {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: var(--white);
  padding: 0.45rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  animation: pulse 1.15s ease-in-out infinite;
}

.splash-road {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.14));
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}

.splash-road-line {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 34%;
  height: 3px;
  border-radius: 999px;
  background: rgba(247, 181, 0, 0.95);
  transform: translateY(-50%);
  animation: roadMove 0.85s linear infinite;
}

.splash-inner p {
  position: absolute;
  bottom: -5.1rem;
  margin: 0;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.04em;
}

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes roadMove {
  to {
    transform: translate(-420%, -50%);
  }
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--black);
  text-decoration: none;
  font-weight: 700;
}

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

nav {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid #ddd;
  background: var(--white);
  border-radius: 0.5rem;
  color: var(--black);
  cursor: pointer;
}

nav a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: var(--red);
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 5.3rem 0 3.8rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      100deg,
      rgba(0, 0, 0, 0.78) 20%,
      rgba(0, 0, 0, 0.35) 68%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    url("https://static.vecteezy.com/system/resources/thumbnails/070/636/765/small/winding-road-on-asphalt-highway-leading-to-the-horizon-symbolizing-journey-and-adventure-photo.jpeg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
  align-items: end;
}

.hero-content {
  color: var(--white);
  max-width: 650px;
}

.tag {
  display: inline-block;
  margin: 0 0 1rem;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

h1 {
  margin: 0;
  line-height: 1.2;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  color: var(--black);
}

.hero h1,
.hero-content h1 {
  color: var(--white);
}

.lead {
  font-size: 1.02rem;
  max-width: 560px;
  color: #4a4a4a;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.92);
}

.cta-group {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn i {
  font-size: 0.95rem;
}

.label-short {
  display: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(255, 0, 0, 0.3);
}

.btn-outline {
  border-color: #d4dae4;
  color: #1f2229;
  background: #fff;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: #c41e3a;
  color: #8d1313;
  background: #fff7f7;
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero .btn-outline:hover,
.hero .btn-outline:focus-visible {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.hero-card {
  background: linear-gradient(155deg, rgba(255, 0, 0, 0.18) 0%, rgba(255, 255, 255, 0.95) 75%);
  color: var(--black);
  border-radius: 1rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 0, 0, 0.32);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
  transform: translateY(-70%);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff0000, #ff5e5e);
}

.hero-card-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #b11010;
}

.hero-card h2 {
  margin-top: 0;
  color: var(--black);
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.hero-card p {
  margin: 0 0 0.65rem;
  font-size: 0.94rem;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  background: var(--red);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
}

.hero-link:hover {
  filter: brightness(1.05);
}

.section {
  padding: 4.2rem 0;
}

.section h2 {
  margin-top: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  margin-bottom: 0.8rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #8e8e8e;
  margin: 0 0 0.25rem;
}

.section-alt {
  background: transparent;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-body {
  padding: 0.65rem;
  cursor: pointer;
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.card-media {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 5%, rgba(0, 0, 0, 0) 50%);
  pointer-events: none;
}

.card-icon {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  color: var(--white);
  font-size: 1rem;
  z-index: 1;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.card-title {
  margin: 0.75rem 0 0.35rem;
  padding: 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.estimate-btn {
  border: 1px solid #ffd6d6;
  background: #fff7f7;
  color: #8d1313;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0 0.25rem 0.35rem;
}

.service-estimate {
  margin: 0 0.25rem 0.1rem;
  font-size: 0.84rem;
  color: #5f5f5f;
}

.estimate-btn {
  display: none !important;
}

.service-estimate[hidden] {
  display: none !important;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(20, 20, 20, 0.08);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chips span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  background: var(--white);
}

.area-layout {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: 1rem;
  align-items: start;
}

.map-shell {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
  min-height: 360px;
  background: #f2f2f2;
}

.map-shell iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.area-pins {
  display: grid;
  gap: 0.55rem;
}

.area-pin {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #ffd2d2;
  background: #fff7f7;
  color: #9d1010;
  border-radius: 999px;
  padding: 0.62rem 0.85rem;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.area-pin:hover {
  transform: translateX(2px);
}

.area-pin.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.25);
}

.area-pin i {
  width: 0.9rem;
}

.steps {
  margin: 0;
  padding-left: 1.25rem;
}

.steps li {
  margin: 0.55rem 0;
}

.trust-grid,
.request-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.checklist {
  padding-left: 1.25rem;
  margin: 0;
}

.contact-box {
  border: 1px solid #ffe2a0;
  border-radius: 1rem;
  padding: 1.1rem;
  background: linear-gradient(165deg, #fffdf6 0%, #ffffff 70%);
  box-shadow: 0 12px 28px rgba(20, 20, 20, 0.07);
}

.contact-box h3 {
  margin: 0 0 0.9rem;
}

.contact-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a7a4b;
  font-weight: 700;
}

.contact-list {
  display: grid;
  gap: 0.6rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-item:hover {
  border-color: #ffcc47;
  transform: translateY(-1px);
}

.contact-item.static {
  cursor: default;
}

.contact-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #fff4cf;
  color: #9d1010;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.92rem;
}

.contact-item small {
  display: block;
  color: #666;
  font-size: 0.82rem;
}

select {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 0.55rem;
  padding: 0.7rem;
  font: inherit;
  background: #fbfbfc;
  color: #1f2229;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.review-list {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.review-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.9rem;
}

.review-head {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.review-service {
  margin: 0.2rem 0 0.45rem;
  font-size: 0.84rem;
  color: #777;
}

.empty-note {
  margin: 0;
  color: #777;
  font-size: 0.9rem;
}

.admin-grid {
  display: grid;
  gap: 1rem;
}

.admin-grid--dashboard {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.admin-dashboard {
  padding-top: 2.2rem;
  padding-bottom: 2.2rem;
  background: radial-gradient(circle at top right, #fff8e6 0%, #f7f8fa 40%, #f4f6fb 100%);
}

.dashboard-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: linear-gradient(120deg, #1f2229 0%, #2d3240 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(16, 16, 16, 0.22);
}

.dashboard-hero h1 {
  margin: 0.15rem 0;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.dashboard-hero .section-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.dashboard-hero .empty-note {
  color: rgba(255, 255, 255, 0.8);
}

.admin-back-link {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.stat-card {
  border: 1px solid #eceef3;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
  padding: 0.85rem;
  box-shadow: 0 12px 22px rgba(14, 18, 28, 0.06);
}

.stat-card.clickable {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.stat-card.clickable:hover,
.stat-card.clickable:focus-visible {
  transform: translateY(-2px);
  border-color: #ffd2d2;
  box-shadow: 0 14px 26px rgba(20, 20, 20, 0.08);
  outline: none;
}

.stat-card p {
  margin: 0;
  font-size: 0.8rem;
  color: #787878;
}

.stat-card h3 {
  margin: 0.25rem 0 0;
  color: #121212;
}

.admin-panel {
  border: 1px solid #eceef3;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border-radius: 1rem;
  box-shadow: 0 14px 28px rgba(18, 24, 35, 0.07);
  padding: 1rem;
}

.admin-panel--half {
  grid-column: span 6;
}

.admin-panel--full {
  grid-column: 1 / -1;
}

.panel-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 0;
  cursor: pointer;
}

.panel-toggle h2 {
  margin: 0;
}

.panel-toggle .contact-kicker {
  margin-bottom: 0.2rem;
}

.panel-toggle i {
  color: #666;
  transition: transform 0.2s ease;
}

.panel-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.panel-body {
  margin-top: 0.8rem;
  padding-top: 0.55rem;
  border-top: 1px solid #eff1f6;
}

.admin-form {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto auto;
  gap: 0.6rem;
  align-items: end;
  padding: 0.55rem 0.35rem;
  border-radius: 0.65rem;
}

.price-row:nth-child(odd) {
  background: #fafbfd;
}

.price-row label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1f2229;
}

.price-row .svc-name {
  font-weight: 500;
}

.price-save-btn {
  padding: 0.55rem 0.8rem;
  border-radius: 0.65rem;
}

.reports-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.reports-content {
  display: grid;
  gap: 1rem;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.65rem;
}

.report-card {
  border: 1px solid #eceff5;
  border-radius: 0.75rem;
  padding: 0.75rem 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.report-card.clickable {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.report-card.clickable:hover,
.report-card.clickable:focus-visible {
  transform: translateY(-2px);
  border-color: #ffd2d2;
  box-shadow: 0 10px 20px rgba(20, 20, 20, 0.07);
  outline: none;
}

.request-filter-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
}

.request-assignment-status--pending {
  color: #7a5d00;
}

.request-assignment-status--accepted {
  color: #0d6b32;
}

.request-assignment-status--declined {
  color: #9d1010;
}

.report-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
}

.report-card p {
  margin: 0;
  font-size: 0.82rem;
  color: #687181;
  font-weight: 600;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.report-table th,
.report-table td {
  text-align: left;
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid #eceff5;
}

.report-table th {
  color: #687181;
  font-weight: 600;
  font-size: 0.78rem;
}

.request-list {
  display: grid;
  gap: 0.6rem;
}

.request-item {
  background: var(--white);
  border: 1px solid #eceff5;
  border-radius: 0.8rem;
  padding: 0.8rem;
  box-shadow: 0 8px 16px rgba(16, 16, 16, 0.03);
}

.request-item.is-completed {
  border-color: #b7e6c8;
  background: #f6fff9;
}

.request-item p {
  margin: 0.15rem 0;
}

.request-item small {
  color: #7e7e7e;
}

.request-actions {
  margin-top: 0.5rem;
}

.request-complete-btn {
  padding: 0.4rem 0.7rem;
  border-radius: 0.6rem;
}

.panel-pagination {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border-top: 1px solid #eff1f6;
  padding-top: 0.75rem;
}

.page-btn {
  padding: 0.5rem 0.75rem;
}

.admin-map-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.9fr);
  gap: 0.85rem;
}

.admin-map-shell {
  min-height: 320px;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid #eceff5;
  background: #f3f5f8;
}

.admin-map-shell iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.mechanic-list {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.mechanic-card {
  border: 1px solid #eceff5;
  border-radius: 0.8rem;
  padding: 0.7rem;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.mechanic-card p {
  margin: 0 0 0.15rem;
}

.mechanic-card small {
  display: block;
  color: #687181;
}

.mechanic-status {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  vertical-align: middle;
}

.mechanic-status--active {
  background: #e4f7eb;
  color: #0d6b32;
}

.mechanic-status--inactive {
  background: #eceff5;
  color: #555;
}

.mechanic-card--selectable {
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mechanic-card--selectable:hover {
  border-color: #c5d4f5;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.mechanic-card--selected {
  border-color: #3b6fd8;
  box-shadow: 0 0 0 2px rgba(59, 111, 216, 0.2);
}

.mechanic-detail-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.mechanic-picker-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #3a4250;
}

.mechanic-detail-content {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eceff5;
}

.mechanic-detail-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.mechanic-detail-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 0.75rem;
}

.mechanic-detail-col .contact-kicker {
  margin-top: 0;
}

.mechanic-job-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.mechanic-job-item {
  border: 1px solid #eceff5;
  border-radius: 0.65rem;
  padding: 0.6rem 0.7rem;
  background: #fff;
}

.mechanic-job-item.is-completed {
  opacity: 0.88;
  background: #f6f8fc;
}

.mechanic-job-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.mechanic-job-status {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #3b6fd8;
}

.mechanic-job-item.is-completed .mechanic-job-status {
  color: #0d6b32;
}

.mechanic-job-meta {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: #687181;
}

.mechanic-job-problem {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  line-height: 1.35;
}

.mechanic-ratings-summary {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.mechanic-ratings-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.mechanic-rating-card {
  border: 1px solid #eceff5;
  border-radius: 0.65rem;
  padding: 0.55rem 0.65rem;
  background: #fff;
}

.mechanic-rating-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  margin: 0 0 0.25rem;
}

.mechanic-rating-when {
  font-size: 0.78rem;
  color: #687181;
}

.mechanic-rating-service {
  margin: 0 0 0.25rem;
  font-size: 0.82rem;
  color: #4a5568;
}

.review-stars {
  color: #c9a227;
  letter-spacing: 0.02em;
}

.track-page-body {
  background: #f3f5f8;
  color: var(--black);
}

.track-customer-page h1 {
  color: #777;
}

.track-page-header {
  position: sticky;
  top: 0;
  z-index: 10;
}

.track-page-inner {
  max-width: 640px;
}

.track-map-shell {
  margin: 1rem 0;
  min-height: 280px;
}

.request-track-row {
  margin: 0.5rem 0;
  display: grid;
  gap: 0.35rem;
}

.request-track-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #3a4250;
}

.request-track-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.request-track-input {
  flex: 1 1 12rem;
  min-width: 0;
  font-size: 0.78rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid #dce1ea;
  border-radius: 0.5rem;
  background: #fff;
  color: #333;
}

.btn-sm {
  padding: 0.4rem 0.65rem;
  font-size: 0.82rem;
}

.request-assign-row {
  margin: 0.35rem 0 0.25rem;
}

.request-assign-label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.request-assign-select {
  max-width: 100%;
  padding: 0.35rem 0.45rem;
  border-radius: 0.45rem;
  border: 1px solid #d8dee9;
  font: inherit;
}

.mechanic-availability-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eceff5;
}

.mechanic-add-form {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: end;
  margin-bottom: 0.75rem;
}

.mechanic-roster-list {
  display: grid;
  gap: 0.55rem;
}

.mechanic-roster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.45rem 0 0;
}

.mechanic-registry-status {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.mechanic-registry-status--pending {
  background: #fff4cf;
  color: #7a5d00;
}

.mechanic-registry-status--approved {
  background: #e3f6ea;
  color: #0d6b32;
}

.mechanic-registry-status--declined {
  background: #ffe8e8;
  color: #9d1010;
}

.mechanic-registry-banner {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.65rem;
  border: 1px solid #dce1ea;
  background: #f7f8fa;
  color: #333;
}

.mechanic-registry-banner--pending {
  border-color: #ffcc47;
  background: #fff8e6;
  color: #5c4a00;
}

.mechanic-registry-banner--approved {
  border-color: #b7e6c8;
  background: #eefaf2;
  color: #0d5a2c;
}

.mechanic-registry-banner--declined {
  border-color: #ffb4b4;
  background: #fff1f1;
  color: #8d1313;
}

.mechanic-availability-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
}

.mechanic-availability-actions .btn.is-selected {
  box-shadow: inset 0 0 0 2px rgba(37, 36, 36, 0.35);
}

.mechanic-job-history {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eceff5;
}

.mechanic-job-history-body {
  margin-top: 0.65rem;
}

.mechanic-job-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: start;
}

@media (max-width: 900px) {
  .mechanic-job-grid {
    grid-template-columns: 1fr;
  }
}

.mechanic-job-column h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.mechanic-job-card {
  border: 1px solid #eceff5;
  border-radius: 0.65rem;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.45rem;
  background: #fafbff;
  font-size: 0.88rem;
}

.mechanic-job-card p {
  margin: 0.15rem 0;
}

.mechanic-job-card small {
  display: block;
  color: #687181;
  margin-top: 0.25rem;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.modal-dialog {
  position: relative;
  width: min(460px, 92%);
  margin: 12vh auto 0;
  background: var(--white);
  border-radius: 1rem;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  padding: 1rem;
}

.modal-dialog h3 {
  margin: 0 0 0.35rem;
}

.modal-dialog p {
  margin: 0;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: #444;
  cursor: pointer;
}

.request-map-field {
  display: grid;
  gap: 0.45rem;
}

.request-map-label {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2a3140;
}

.request-map-hint {
  margin: 0;
}

.request-geo-status {
  margin: 0;
  color: #3b6fd8;
  font-weight: 500;
}

.request-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.request-place-search-wrap {
  position: relative;
}

.request-place-search-wrap input[type="search"] {
  width: 100%;
}

.request-place-results {
  position: absolute;
  z-index: 1200;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  padding: 0.25rem 0;
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.request-place-results__status {
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  color: #5c6578;
}

.request-place-option {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 0.86rem;
  color: #1a1f2e;
  cursor: pointer;
}

.request-place-option:hover,
.request-place-option:focus {
  background: #f3f5f8;
}

.request-map-picker {
  position: relative;
  width: 100%;
  height: 280px;
  min-height: 280px;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #e8ecf2;
  z-index: 1;
}

.request-map-picker .leaflet-container {
  width: 100%;
  height: 100%;
  font-family: inherit;
}

.request-map-error {
  color: #9a3412;
  margin: 0;
}

.requests-customer-map {
  width: 100%;
  height: 320px;
  border-radius: 0.85rem;
  border: 1px solid #eceff5;
  margin: 0.65rem 0 1rem;
  overflow: hidden;
  z-index: 0;
}

.customer-map-pin-wrap {
  background: transparent;
  border: none;
}

.customer-map-pin {
  display: inline-block;
  transform: translate(-50%, -100%);
  background: #c41e3a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.28rem 0.5rem;
  border-radius: 0.45rem;
  white-space: nowrap;
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  position: relative;
}

.customer-map-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #c41e3a;
}

.customer-map-pin-wrap.customer-map-pin--done .customer-map-pin {
  background: #0d6b32;
}

.customer-map-pin-wrap.customer-map-pin--done .customer-map-pin::after {
  border-top-color: #0d6b32;
}

.request-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem;
  display: grid;
  gap: 0.8rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.request-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 500;
  color: #1f2229;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 0.55rem;
  padding: 0.7rem;
  font: inherit;
  background: #fbfbfc;
  color: #1f2229;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #ffc93f;
  box-shadow: 0 0 0 4px rgba(247, 181, 0, 0.2);
}

.addons {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.35rem;
}

.site-footer {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 1.1rem 0;
}

.toast-container {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 300;
  display: grid;
  gap: 0.55rem;
}

.toast {
  min-width: 240px;
  max-width: min(92vw, 380px);
  border-radius: 0.7rem;
  padding: 0.7rem 0.85rem;
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
  transform: translateY(0);
  opacity: 1;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.is-leaving {
  opacity: 0;
  transform: translateY(8px);
}

.toast-info {
  background: #2f4f8d;
}

.toast-success {
  background: #1f8f45;
}

.toast-error {
  background: #b41414;
}

@media (max-width: 1024px) {
  .container {
    width: min(1100px, 94%);
  }

  .hero {
    padding: 4.5rem 0 3.2rem;
  }
}

@media (max-width: 840px) {
  .nav {
    align-items: center;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    padding: 0.45rem 0.3rem 0.15rem 0;
  }

  nav.is-open {
    display: flex;
  }

  nav a {
    display: block;
    width: 100%;
    text-align: right;
    padding: 0.45rem 0.6rem;
    border-radius: 0.65rem;
  }

  .hero-grid,
  .trust-grid,
  .request-grid,
  .area-layout,
  .review-grid,
  .admin-map-grid,
  .mechanic-detail-columns {
    grid-template-columns: 1fr;
  }

  .price-row {
    grid-template-columns: 1fr;
  }

  .admin-grid--dashboard {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3.8rem 0 2.8rem;
  }

  .section {
    padding: 3rem 0;
  }

  .cta-group {
    flex-direction: row;
    align-items: stretch;
  }

  .cta-group .btn,
  .request-form .btn,
  .request-grid .btn-primary,
  .btn-outline {
    width: 100%;
  }

  #ctaCallNow,
  #ctaWhatsAppTop {
    width: calc(50% - 0.4rem);
    padding: 0.72rem 0.65rem;
    gap: 0.35rem;
  }

  #ctaCallNow .label-full,
  #ctaWhatsAppTop .label-full {
    display: none;
  }

  #ctaCallNow .label-short,
  #ctaWhatsAppTop .label-short {
    display: inline;
  }

  .hero-card {
    max-width: 520px;
    transform: none;
  }

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

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

  .dashboard-hero {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1100px, 95%);
  }

  .brand span {
    font-size: 0.98rem;
  }

  h1 {
    font-size: clamp(1.55rem, 8vw, 2.05rem);
  }

  .lead {
    font-size: 0.98rem;
  }

  .tag {
    font-size: 0.85rem;
  }

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

  .card,
  .contact-box,
  .request-form,
  .hero-card {
    padding: 0.9rem;
  }

  .chips span {
    width: 100%;
    text-align: center;
  }

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

  nav a {
    font-size: 0.92rem;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }
}
