/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== Variables ===== */
:root {
  --color-primary: #FF8C28;
  --color-primary-dark: #e67a1a;
  --color-text: #333;
  --color-text-light: #666;
  --color-bg: #fff;
  --color-bg-gray: #f5f5f5;
  --section-margin-top: 60px;
  --section-padding-x: 3%;
  --header-padding-left: 4%;
  --title-gap: 10px;
  --header-content-gap: 25px;
  --gap: 10px;
  --radius: 10px;
  --font-title: calc(22 / 12 * 1rem);
  --font-subtitle: 1rem;
  --font-card-title: calc(16 / 12 * 1rem);
}

/* ===== Section Header ===== */
[class$="__header"] {
  padding-left: var(--header-padding-left);
  margin-bottom: var(--header-content-gap);
}

[class$="__title"] {
  font-size: var(--font-title);
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.2;
}

[class$="__subtitle"] {
  font-size: var(--font-subtitle);
  color: var(--color-text-light);
  margin-top: var(--title-gap);
  line-height: 1.4;
}

/* ===== Section 1: Banner ===== */
.dealer-banner {
  position: relative;
  width: 100%;
}

.dealer-banner__img {
  width: 100%;
  height: auto;
  display: block;
}

.dealer-banner__content {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  padding: 0 8%;
}

.dealer-banner__title {
  font-size: calc(24 / 12 * 1rem);
  color: #fff;
  font-weight: 700;
  margin-bottom: 8px;
}

.dealer-banner__desc {
  font-size: calc(14 / 12 * 1rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.dealer-banner__btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 999px;
  font-size: var(--font-subtitle);
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.2);
}

/* ===== Section 2: Form ===== */
.dealer-form {
  margin-top: var(--section-margin-top);
  padding: 0 var(--section-padding-x);
}

.dealer-form__panel {
  background: #f5f5f5;
  border-radius: 20px;
  padding: 24px 16px;
}

.dealer-form__form {
  display: block;
}

.dealer-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.dealer-form__row:first-child {
  margin-top: 0;
}

.dealer-form__row--single {
  grid-template-columns: 1fr;
}

.dealer-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.dealer-form__label {
  font-size: var(--font-subtitle);
  font-weight: 300;
  color: #332c2c;
  line-height: 1.2;
}

.dealer-form__required {
  color: #332c2c;
}

.dealer-form__input {
  width: 100%;
  height: 35px;
  background: #54545c;
  color: #333;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 5px 14px 5px 16px;
  font-size: 1rem;
  line-height: 1.35;
  font-family: inherit;
  box-sizing: border-box;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.dealer-form__input::placeholder {
  color: #999;
  opacity: 1;
}

.dealer-form__input:not([required]) {
  background: #d4d4d4;
}

.dealer-form__input:focus {
  outline: none;
  background: #f29035;
  color: #fff;
}

.dealer-form__input.is-filled {
  background: #f29035;
  color: #fff;
}

.dealer-form__input.is-error {
  border-color: #e53e3e;
}

.dealer-form__select {
  background-image: linear-gradient(45deg, transparent 50%, #717784 50%), linear-gradient(135deg, #717784 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 3px), calc(100% - 10px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.dealer-form__textarea {
  height: 100px;
  min-height: 100px;
  resize: none;
  padding: 12px 14px 10px 16px;
  background-color: #d4d4d4;
}

.dealer-form__textarea.is-filled {
  background-color: #f29035;
  color: #fff;
}

.dealer-form__error {
  font-size: calc(11 / 12 * 1rem);
  color: #e53e3e;
  min-height: 1em;
}

.dealer-form__actions {
  margin-top: 24px;
}

.dealer-form__submit {
  display: block;
  width: 60%;
  min-height: 40px;
  margin: 0 auto;
  border: none;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-size: var(--font-subtitle);
  font-weight: 300;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dealer-form__submit:active {
  background: var(--color-primary-dark);
}

.dealer-form__tip {
  font-size: calc(11 / 12 * 1rem);
  color: #999;
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
  font-weight: 300;
}

/* ===== Section 3: Brand Strength ===== */
.dealer-strength {
  margin-top: var(--section-margin-top);
  padding: 0 var(--section-padding-x);
  padding-bottom: 60px;
}

.dealer-strength__list {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.dealer-strength__card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.dealer-strength__card-bg {
  width: 100%;
  height: auto;
  display: block;
}

.dealer-strength__card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.dealer-strength__card-text {
  flex: 1;
}

.dealer-strength__card-title {
  font-size: var(--font-card-title);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.dealer-strength__card-desc {
  font-size: var(--font-subtitle);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

.dealer-strength__card-icon {
  flex-shrink: 0;
  align-self: flex-start;
  margin-left: 12px;
  padding-top: 10%;
}

.dealer-strength__card-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}