
:root {
  --maxw: 1200px;
  --text: #333333;
  --heading: #1a1a1a;
  --muted: #404145;
  --input-border: #d5d9e2;
  --input-bg: #f8f9fb;
  --btn: #55c9f8;
  --footer-bg: #0b132b;
  --footer-text: rgba(255, 255, 255, .78);
}

.img100 {
  width: 100%;
  display: block;
}

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

html {
  scroll-behavior: smooth
}

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

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

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

.wrap {
  width: var(--maxw);
  max-width: var(--maxw);
  margin: 0 auto
}

/* ---------- 占位 ---------- */
.ph {
  background: url("../../assets/img/survey-bg.png") no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a8bb0;
  font-size: 12px;
  font-weight: 500;
  border: 1px dashed #aab8d8;
  overflow: hidden;

}

.ph::before {
  content: attr(data-ph)
}

/* ---------- Hero + Nav ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  background: linear-gradient(180deg, #f0f7ff 0%, #e1ecfa 100%);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0
}

.hero__bg .ph {
  position: absolute;
  inset: 0;
  border: 0;

}

.nav {
  position: relative;
  z-index: 2;
  padding-top: 18px
}

.nav__in {
  display: flex;
  align-items: center;
  gap: 38px;
  height: 40px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #00A6E0
}

.brand .logo-ph {
  width: 29px;
  height: 29px;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
  margin-left: auto
}

.nav__links a {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading);
  padding: 8px 18px;
  border-radius: 20px;
  transition: .2s
}

.nav__links a.on {
  background: #2F75FD;
  color: #fff
}

.nav__burger {
  display: none;
  background: none;
  border: 0;
  flex-direction: column;
  gap: 5px;
  cursor: pointer
}

.nav__burger span {
  width: 24px;
  height: 2px;
  background: var(--heading);
  border-radius: 2px
}

.hero__text {
  position: relative;
  z-index: 1;
  padding: 130px 0 140px;
  max-width: 540px
}

.hero__text h1 {
  font-size: 52px;
  font-weight: 500;
  line-height: 1.05;
  color: var(--heading);
  margin-bottom: 28px
}

.hero__text p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text)
}

/* ---------- 表单区 ---------- */
.form-sec {
  padding: 70px 0 90px
}

.form-sec h2 {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  color: var(--heading);
  margin-bottom: 55px
}

.form {
  max-width: 1106px
}

.form__row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted)
}

.required {
  color: #e0414b;
  margin-right: 2px
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  padding: 18px 14px;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  background: var(--input-bg);
  font-size: 14px;
  color: var(--muted);
  font-family: inherit;
}

.field select {
  height: 56px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23666' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 18px) center;
  background-size: 10px 6px;
  padding-right: 36px
}

.field textarea {
  height: 160px;
  resize: vertical
}

.field--full {
  grid-column: 1 / -1
}

/* ---------- 校验报错 ---------- */
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #e0414b;
  background: #fff5f6
}

.field__err {
  font-size: 12px;
  font-weight: 500;
  color: #e0414b;
  line-height: 1.3
}

.uploads {
  display: flex;
  gap: 20px;
  margin: 25px 0 18px
}

.upload {
  position: relative;
  overflow: hidden;
  width: 167px;
  height: 167px;
  border-radius: 8px;
  background: #fff;
  border: 1px dashed var(--input-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .2s;
}

.upload:hover {
  border-color: #2F75FD;
  background: #f5f8ff
}

.upload svg {
  width: 47px;
  height: 47px;
  color: #b9c4e8
}

.upload-hint {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 43px
}

.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--btn);
  color: #000;
  font-size: 15px;
  font-weight: 700;
  padding: 0 36px;
  height: 58px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  transition: .2s;
}

.submit:hover {
  filter: brightness(.95);
  transform: translateY(-1px)
}

.submit svg {
  width: 22px;
  height: 22px
}

/* ---------- 上传预览 / 提交状态 ---------- */
.upload__img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.upload__rm {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center
}

.upload__rm:hover {
  background: rgba(0, 0, 0, .8)
}

.status {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  min-height: 20px
}

.status.ok {
  color: #1a9c5b
}

.status.err {
  color: #e0414b
}

.submit[disabled] {
  opacity: .6;
  cursor: not-allowed
}

/* ---------- Footer ---------- */
footer {
  background: var(--footer-bg);
  padding: 62px 0 0;
  color: #fff
}

.ft__grid {
  display: grid;
  grid-template-columns:1.3fr .9fr .9fr 1.4fr;
  gap: 48px;
  padding-bottom: 58px;
}

.ft__brand .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px
}

.ft__brand .brand .logo-ph {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-bg);
  font-size: 16px
}

.ft__brand p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--footer-text);
  max-width: 260px
}

.ft__col h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff
}

.ft__col ul {
  list-style: none
}

.ft__col li {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 14px;
  color: var(--footer-text)
}

.ft__col a:hover {
  color: #fff;
  text-decoration: underline
}

.ft__contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px
}

.ft__contact .icon-ph {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, .15);
  margin-top: 2px
}

.ft__bot {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .5)
}

/* ---------- 响应式（内容区块专属；容器/导航/页脚的折叠由 responsive.css 统一提供） ---------- */
@media (max-width: 768px) {
  .hero__text {
    padding: 80px 0 100px;
    max-width: 100%
  }

  .hero__text h1 {
    font-size: 36px
  }

  .form__row {
    grid-template-columns:1fr
  }

  .uploads {
    gap: 12px;
    flex-wrap: wrap
  }

  .upload {
    width: calc(33.33% - 8px);
    min-width: 100px;
    height: 100px
  }
}

@media (max-width: 480px) {
  .hero__text h1 {
    font-size: 30px
  }

  .form-sec h2 {
    font-size: 24px
  }

  /*.upload {*/
  /*  width: 100%;*/
  /*  height: 140px*/
  /*}*/
}
