:root {
  --driver-bg: #f5f3ef;
  --driver-card: #ffffff;
  --driver-line: rgba(23, 50, 56, .1);
  --driver-text: #173238;
  --driver-sub: #62767b;
  --driver-shadow: 0 24px 48px rgba(23, 50, 56, .08);
}

html, body {
  margin: 0;
  background: var(--driver-bg);
  color: var(--driver-text);
}

body.driver-profile-page {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
}

.driver-profile-page .wrap {
  width: min(1120px, calc(100% - 32px));
}

.driver-shell {
  padding: 28px 0 90px;
}

.driver-hero {
  padding: 42px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(242,199,138,.15), transparent 30%),
    linear-gradient(135deg, #173238 0%, #214349 58%, #2a555c 100%);
  color: #fff;
  box-shadow: var(--driver-shadow);
}

.driver-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 340px;
  gap: 28px;
  align-items: stretch;
}

.driver-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  font-size: 13px;
}

.driver-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -2px;
}

.driver-lead {
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 18px;
  line-height: 1.9;
}

.driver-service-tags,
.vehicle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.driver-service-tag,
.vehicle-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: 13px;
}

.driver-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.driver-btn,
.driver-btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .18s ease;
}

.driver-btn {
  background: #fff;
  color: var(--driver-text);
  box-shadow: 0 16px 30px rgba(0,0,0,.12);
}

.driver-btn-light {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
}

.driver-btn:hover,
.driver-btn-light:hover {
  transform: translateY(-1px);
}

.driver-identity-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 26px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

.driver-avatar {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(242,199,138,.95), rgba(233,173,82,.92));
  color: #173238;
  font-size: 32px;
  font-weight: 800;
}
.driver-avatar svg { width: 100%; height: 100%; display: block; }

.driver-identity-card h2 {
  margin: 0;
  font-size: 24px;
}

.driver-identity-card p {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 14px;
  line-height: 1.8;
}

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

.driver-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.driver-meta-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.driver-meta-row span:first-child {
  color: rgba(255,255,255,.68);
  font-size: 13px;
}

.driver-meta-row span:last-child {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.driver-sections {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.driver-card {
  background: var(--driver-card);
  border: 1px solid var(--driver-line);
  border-radius: 28px;
  box-shadow: var(--driver-shadow);
}

.driver-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}

.driver-section,
.driver-side-card,
.driver-vehicles {
  padding: 30px;
}

.driver-section h2,
.driver-side-card h2,
.driver-vehicles h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.driver-section p,
.driver-side-card p {
  margin: 0;
  color: var(--driver-sub);
  font-size: 15px;
  line-height: 1.9;
}

.service-grid,
.vehicle-grid {
  display: grid;
  gap: 16px;
}

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

.service-item {
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 20px;
  border-radius: 22px;
  background: #faf8f4;
  border: 1px solid rgba(23, 50, 56, .08);
}

.service-item strong {
  font-size: 17px;
}

.service-item span {
  color: var(--driver-sub);
  font-size: 14px;
  line-height: 1.7;
}

.driver-side-card {
  display: grid;
  gap: 18px;
}

.cta-note {
  color: var(--driver-sub);
  font-size: 13px;
  line-height: 1.8;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(23, 50, 56, .08);
}

.contact-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.contact-list span:first-child {
  color: var(--driver-sub);
  font-size: 13px;
}

.contact-list span:last-child {
  text-align: right;
  font-size: 14px;
  font-weight: 700;
}

.vehicle-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.vehicle-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f4 100%);
  border: 1px solid rgba(23, 50, 56, .08);
}

.vehicle-art {
  height: 120px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 20%, rgba(242,199,138,.44), transparent 26%),
    linear-gradient(135deg, #23444b 0%, #315f67 100%);
  position: relative;
  overflow: hidden;
}

.vehicle-art::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 26px;
  height: 36px;
  border-radius: 18px 18px 12px 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.68));
  box-shadow: 0 12px 22px rgba(0,0,0,.14);
}

.vehicle-art::after {
  content: "";
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 18px;
  height: 8px;
  border-radius: 8px;
  background: rgba(23, 50, 56, .16);
}

.vehicle-card h3 {
  margin: 0;
  font-size: 20px;
}

.vehicle-meta {
  display: grid;
  gap: 8px;
  color: var(--driver-sub);
  font-size: 14px;
}

.driver-footer {
  padding: 8px 0 24px;
}

.driver-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: var(--driver-sub);
  font-size: 13px;
}

.driver-footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.driver-footer-main,
.driver-footer-side {
  display: flex;
  align-items: center;
  gap: 14px;
}

.driver-footer-note {
  color: var(--driver-sub);
}

.profile-empty {
  padding: 120px 0 90px;
}

.profile-empty-card {
  max-width: 780px;
  margin: 0 auto;
  padding: 38px;
  text-align: center;
  background: #fff;
  border-radius: 30px;
  border: 1px solid var(--driver-line);
  box-shadow: var(--driver-shadow);
}

.profile-empty-card h1 {
  margin: 0 0 12px;
  font-size: 38px;
}

.profile-empty-card p {
  margin: 0 0 22px;
  color: var(--driver-sub);
  font-size: 16px;
  line-height: 1.85;
}

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

@media (max-width: 720px) {
  .driver-shell {
    padding-bottom: 72px;
  }

  .driver-hero,
  .driver-section,
  .driver-side-card,
  .driver-vehicles,
  .profile-empty-card {
    padding: 22px;
    border-radius: 22px;
  }

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

  .driver-footer .wrap,
  .contact-list li,
  .driver-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .driver-meta-row span:last-child,
  .contact-list span:last-child {
    text-align: left;
  }

  .driver-btn,
  .driver-btn-light {
    width: 100%;
  }
}
