:root {
  --bg: #eef3f9;
  --card: #ffffff;
  --text: #162033;
  --muted: #5c6d82;
  --line: #dbe5f0;
  --brand: #0f766e;
  --brand-strong: #115e59;
  --brand-soft: #d5f3ee;
  --gold: #b98a3e;
  --gold-soft: #f7f0e1;
  --bad: #b91c1c;
  --radius: 18px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SCC", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 12% -10%, #e3f1ee 0%, rgba(227, 241, 238, 0) 60%),
    radial-gradient(900px 500px at 100% 0%, #f7f0e1 0%, rgba(247, 240, 225, 0) 55%),
    var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
}

.wrap { width: 100%; max-width: 1000px; }

.panel {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: var(--card);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(19, 39, 66, .13);
  border: 1px solid #e6eef7;
}

/* 左侧品牌 */
.brandbox {
  padding: 38px 36px 30px;
  background: linear-gradient(160deg, #10141c 0%, #1b2430 58%, #22303c 100%);
  color: #f4f6f9;
  position: relative;
  overflow: hidden;
}
.brandbox::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  right: -130px; bottom: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 138, 62, .38), rgba(185, 138, 62, 0) 68%);
}
.brandbox .logo {
  height: 46px;
  width: auto;
  max-width: 240px;
  display: block;
  background: #fff;
  padding: 7px 12px;
  border-radius: 12px;
}
.bpoints { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.bpoints li { display: flex; gap: 9px; align-items: baseline; font-size: 14px; color: #c8d4e2; }
.bpoints li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; margin-top: 6px; }
.brandbox h1 { margin: 22px 0 8px; font-size: 26px; letter-spacing: .5px; }
.brandbox .sub { margin: 0; color: #b9c6d6; font-size: 15px; line-height: 1.7; }
.teacher {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  position: relative;
  z-index: 1;
}
.teacher img {
  width: 58px; height: 58px;
  border-radius: 14px;
  object-fit: cover;
  object-position: top center;
  border: 2px solid rgba(185, 138, 62, .55);
}
.teacher b { display: block; font-size: 15px; }
.teacher span { display: block; margin-top: 3px; color: #9fb0c3; font-size: 13px; }

/* 右侧表单 */
.formbox { padding: 44px 40px 28px; display: flex; flex-direction: column; }
.formbox h2 { margin: 0 0 8px; font-size: 22px; }
.tip { margin: 0 0 22px; color: var(--muted); font-size: 14px; line-height: 1.7; }
label { display: block; margin-bottom: 14px; font-size: 14px; color: var(--muted); font-weight: 600; }
input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 118, 110, .12); }
.btn {
  width: 100%;
  margin-top: 6px;
  padding: 13px 16px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--brand-strong); }
.btn:disabled { opacity: .6; cursor: default; }
.msg { min-height: 20px; margin: 12px 0 0; font-size: 14px; color: var(--bad); }
.msg.ok { color: var(--brand-strong); }

.foot {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #8496a9;
  font-size: 13px;
  flex-wrap: wrap;
}
.foot button {
  border: 1px solid var(--brand);
  color: var(--brand);
  background: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.foot button:hover { background: var(--brand-soft); }

/* 联系我们弹窗 */
.mask {
  position: fixed; inset: 0;
  background: rgba(14, 22, 34, .58);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; z-index: 50;
}
.mask[hidden] { display: none; }
.modal {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 26px 26px 22px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 60px rgba(10, 20, 35, .3);
}
.modal h3 { margin: 0 0 4px; font-size: 20px; }
.msub { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.close {
  position: absolute; top: 10px; right: 12px;
  border: none; background: none; font-size: 24px; line-height: 1;
  color: #7b8a9c; cursor: pointer; border-radius: 50%; width: 34px; height: 34px;
}
.close:hover { background: #f1f5f9; }
.mbody { display: flex; gap: 16px; align-items: flex-start; }
.mface { width: 96px; height: 120px; object-fit: cover; object-position: top center; border-radius: 14px; flex: none; }
.minfo { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.minfo b { font-size: 17px; }
.mrole { color: var(--muted); font-size: 13px; }
.mtel { margin-top: 6px; font-size: 20px; font-weight: 800; color: var(--brand-strong); text-decoration: none; letter-spacing: .5px; }
.mwx { color: var(--muted); font-size: 13px; }
.mqr { width: 150px; margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; }
.mcap { color: var(--muted); font-size: 12px; }

@media (max-width: 820px) {
  .panel { grid-template-columns: 1fr; }
  .brandbox { padding: 28px 24px 22px; }
  .brandbox h1 { font-size: 22px; }
  .formbox { padding: 30px 24px 22px; }
  .mbody { flex-direction: column; }
  .mface { width: 74px; height: 92px; }
}
