:root {
  --white: #ffffff;
  --charcoal: #24262a;
  --charcoal-soft: #34373c;
  --gray: #f6f6f6;
  --gray-2: #eeeeee;
  --gray-3: #e2e2e2;
  --ink: #24262a;
  --slate: #555555;
  --line: #e5e5e5;
  --blue: #276ef1;
  --blue-bg: #f6f7fb;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 14px 44px rgba(0, 0, 0, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: inherit;
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  border: 0;
  background: none;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--charcoal-soft);
}

.btn-light {
  background: var(--white);
  color: var(--charcoal);
}

.btn-light:hover {
  background: #f0f0f0;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--charcoal);
}

.btn-outline:hover {
  background: #f2f2f2;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.btn-blue:hover {
  background: #1f5fd8;
}

.btn-block {
  width: 100%;
}

.tlink {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  cursor: pointer;
  background: none;
  border: 0;
  font-size: 1rem;
}

.tlink:hover {
  text-decoration-thickness: 2.5px;
}

.link-on-dark {
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  cursor: pointer;
  background: none;
  border: 0;
  font-size: 1rem;
}

.link-on-dark:hover {
  text-decoration-thickness: 2.5px;
}

/* ---------- Top bar / navigation ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand em {
  font-style: normal;
}

.brand .brand-word {
  position: absolute;
  bottom: -15px;
  right: -3px;
  white-space: nowrap;
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.brand:hover .brand-word,
.brand:focus-visible .brand-word {
  opacity: 1;
  transform: translateY(0);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-links a.active {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-login {
  background: none;
  border: 0;
  padding: 8px 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  border-radius: 6px;
}

.nav-login:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.user-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--charcoal);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ---------- Hero ---------- */

.hero {
  background: var(--white);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 76px;
}

.ride-card {
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.ride-card h1 {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.ride-sub {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.ride-fields {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.ride-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.9);
}

.field-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 8px;
  padding: 0 14px;
  height: 52px;
}

.field-box svg {
  color: var(--slate);
  flex-shrink: 0;
}

.field-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}

.field-box input::placeholder {
  color: #9a9a9a;
  font-weight: 400;
}

.ride-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  background: none;
  border: 0;
  padding: 4px 0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ride-loc:hover {
  text-decoration-thickness: 2px;
}

.ride-loc-icon {
  width: 18px;
  height: auto;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-block;
}

.ride-actions {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.ride-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.loc-status {
  margin-top: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  min-height: 1.2em;
}

.hero-art {
  position: relative;
}

.hero-art-img {
  height: 460px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.hero-art-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.hero-chip small {
  font-weight: 400;
  color: var(--slate);
}

.chip-rate {
  top: 28px;
  left: 28px;
}

.chip-check {
  bottom: 28px;
  right: 28px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--slate);
  font-size: 0.9rem;
  margin-top: 28px;
}

.avatars {
  display: flex;
}

.avatars span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-2);
  border: 2px solid #fff;
  color: var(--charcoal);
  font-size: 0.7rem;
  font-weight: 700;
}

.avatars span + span {
  margin-left: -10px;
}

/* ---------- Sections ---------- */

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--gray);
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head p {
  margin-top: 10px;
  color: var(--slate);
  font-size: 1.05rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Explore cards ---------- */

.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.explore-card {
  display: block;
}

.explore-img {
  height: 170px;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.explore-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.explore-img svg {
  width: 56px;
  height: 56px;
  color: #fff;
}

.g1 { background: linear-gradient(135deg, #c9c9c9 0%, #a0a0a0 100%); }
.g2 { background: linear-gradient(135deg, #b9b9b9 0%, #8f8f8f 100%); }
.g3 { background: linear-gradient(135deg, #d4d4d4 0%, #ababab 100%); }
.g4 { background: linear-gradient(135deg, #bfbfbf 0%, #979797 100%); }

.explore-card h3 {
  margin-top: 16px;
  font-size: 1.1rem;
  font-weight: 700;
}

.explore-card p {
  margin-top: 6px;
  color: var(--slate);
  font-size: 0.95rem;
}

.explore-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-weight: 500;
  color: var(--ink);
}

.explore-more svg {
  transition: transform 0.15s ease;
}

.explore-card:hover .explore-more {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.explore-card:hover .explore-more svg {
  transform: translateX(3px);
}

/* ---------- Banner ---------- */

.banner {
  background: var(--gray);
}

.banner-inner {
  padding: 64px 0;
  max-width: 660px;
}

.banner-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.banner-inner p {
  margin-top: 12px;
  color: var(--slate);
  font-size: 1.05rem;
}

.banner-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- Artisan cards ---------- */

.rate-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.rate-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--charcoal);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.rate-btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
}

.rate-btn.active {
  color: #fff;
  background: var(--charcoal);
}

.rate-btn.active svg {
  fill: currentColor;
}

.rating-count {
  color: var(--slate);
  font-size: 0.92rem;
}

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

.loc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.loc-pill svg {
  color: var(--charcoal);
}

.technician-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.technician-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.technician-img {
  position: relative;
  height: 190px;
  display: grid;
  place-items: center;
}

.technician-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.technician-img svg {
  width: 52px;
  height: 52px;
  color: #fff;
}

.technician-img .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.pg1 { background: linear-gradient(135deg, #c2c2c2 0%, #9a9a9a 100%); }
.pg2 { background: linear-gradient(135deg, #d0d0d0 0%, #a8a8a8 100%); }
.pg3 { background: linear-gradient(135deg, #bdbdbd 0%, #929292 100%); }

.technician-body {
  padding: 20px;
}

.technician-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.technician-body .trade {
  color: var(--slate);
  font-size: 0.9rem;
  margin-top: 2px;
}

.technician-meta {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  color: var(--slate);
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.technician-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.technician-meta svg {
  color: var(--ink);
}

.technician-body .price {
  margin-top: 14px;
  font-size: 1.15rem;
  font-weight: 700;
}

.technician-body .price span {
  color: var(--slate);
  font-weight: 400;
  font-size: 0.85rem;
}

.technician-body .btn {
  margin-top: 16px;
}

/* ---------- Dark / blue split sections ---------- */

.section-dark {
  background: var(--charcoal);
  color: #fff;
}

.section-dark h2 {
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.section-blue {
  background: var(--blue-bg);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.split p {
  margin-top: 12px;
  font-size: 1.05rem;
  color: var(--slate);
}

.section-dark .split p {
  color: rgba(255, 255, 255, 0.78);
}

.split-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.split-img {
  height: 380px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-img svg {
  width: 120px;
  height: 120px;
  color: #fff;
}

.split-img.dark {
  background: linear-gradient(135deg, #3a3d42 0%, #24262a 100%);
}

.split-img.light {
  background: linear-gradient(135deg, #e6e6e6 0%, #cfcfcf 100%);
}

.split-img.light svg {
  color: #fff;
}

/* ---------- Apps ---------- */

.apps-inner {
  text-align: center;
  padding: 80px 0;
}

.apps-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.apps-inner p {
  margin-top: 10px;
  color: var(--slate);
}

.apps-grid {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--charcoal);
  color: #fff;
  border-radius: 10px;
  padding: 12px 22px;
  text-align: left;
}

.store-btn:hover {
  background: var(--charcoal-soft);
}

.store-btn svg {
  color: #fff;
}

.store-btn small {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}

.store-btn strong {
  font-size: 1rem;
  font-weight: 600;
}

/* ---------- Stats ---------- */

.stats-band {
  background: var(--gray);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 56px 0;
}

.stat .num {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat .label {
  color: var(--slate);
  font-size: 0.95rem;
  margin-top: 4px;
}

/* ---------- Features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--charcoal);
  color: #fff;
}

.feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 14px;
}

.feature p {
  color: var(--slate);
  margin-top: 8px;
  font-size: 0.95rem;
}

/* ---------- Page hero ---------- */

.page-hero {
  padding: 72px 0 56px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.page-hero p {
  margin-top: 14px;
  max-width: 56ch;
  color: var(--slate);
  font-size: 1.1rem;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 80px;
}

.contact-info {
  display: grid;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-item svg {
  color: var(--ink);
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-item p {
  color: var(--slate);
  margin-top: 2px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-form h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.contact-form > p {
  color: var(--slate);
  margin-top: 6px;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}

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

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  border: 1px solid var(--gray-3);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  outline: none;
  background: #fff;
  color: var(--ink);
}

input:focus,
textarea:focus {
  border-color: var(--charcoal);
}

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

/* ---------- Modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
}

.modal-overlay.open {
  display: flex;
}

.modal {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow: auto;
}

.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 24px 8px;
}

.modal-top h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.modal-top p {
  color: var(--slate);
  font-size: 0.92rem;
  margin-top: 4px;
}

.modal-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--gray);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.modal-close:hover {
  background: var(--gray-2);
}

.modal-close svg {
  display: block;
}

body.modal-open {
  overflow: hidden;
}

/* ---------- Auth ---------- */

.auth-tabs {
  display: flex;
  gap: 6px;
  padding: 12px 24px 0;
}

.auth-tab {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--slate);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.auth-tab.active {
  color: #fff;
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.auth-tab:not(.active):hover {
  color: var(--ink);
  background: var(--gray);
}

.auth-pane {
  display: none;
}

.auth-pane.active {
  display: block;
}

.login-form {
  padding: 20px 24px 28px;
}

.login-note {
  margin-top: 14px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--slate);
}

.login-note a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-warning {
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--charcoal-soft);
  border: 1px solid var(--charcoal);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-success {
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #f4f4f4;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- Agent modal ---------- */

.agent-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 24px 0;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--gray);
}

.agent-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--charcoal);
}

.agent-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.agent-card p {
  color: var(--slate);
  font-size: 0.9rem;
}

.agent-details {
  padding: 8px 24px 0;
}

.agent-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.agent-detail:last-of-type {
  border-bottom: 0;
}

.agent-detail svg {
  flex-shrink: 0;
  color: var(--ink);
}

.agent-detail strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
}

.agent-detail span {
  display: block;
  margin-top: 2px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.modal-foot {
  padding: 0 24px 24px;
}

/* ---------- Footer ---------- */

footer {
  background: var(--charcoal);
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 64px 0 40px;
}

.footer-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand .brand-mark {
  width: 30px;
  height: 30px;
}

.footer-brand em {
  font-style: normal;
}

.footer-brand .brand-word {
  position: absolute;
  bottom: -15px;
  right: -3px;
  white-space: nowrap;
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.footer-brand:hover .brand-word,
.footer-brand:focus-visible .brand-word {
  opacity: 1;
  transform: translateY(0);
}

.footer-brand + p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  color: #fff;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.footer-social svg {
  display: block;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal a:hover {
  color: #fff;
}

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .hero-inner,
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-art-img {
    height: 320px;
  }

  .explore-grid,
  .technician-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .nav {
    gap: 14px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 12px;
  }

  .ride-card {
    padding: 28px 24px;
  }

  .explore-grid,
  .technician-grid {
    grid-template-columns: 1fr;
  }

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

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

  .ride-fields {
    gap: 12px;
  }
}
