/* ============================================================
   第六页：Contact
   ============================================================ */

/* ---------- 左侧大标题块 ---------- */
.contact__head{
  position: relative;
  margin-bottom: clamp(20px, 3vh, 34px);
  isolation: isolate;
}
.contact__scrim{
  position: absolute;
  left: -14%;
  top: -18%;
  width: 156%;
  height: 142%;
  z-index: -1;
  transform: none;
  pointer-events: none;
  background:
    linear-gradient(100deg,
      rgba(2,1,9,.86) 0%,
      rgba(2,1,9,.74) 32%,
      rgba(2,1,9,.48) 54%,
      rgba(2,1,9,.18) 74%,
      rgba(2,1,9,0) 92%);
  filter: blur(24px);
}
.contact__title{
  margin: 0;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: clamp(42px, 5.35vw, 88px);
  line-height: 1.02;
  letter-spacing: .01em;
  color: #fff;
  text-shadow:
    0 1px 0 rgba(255,255,255,.5),
    0 3px 18px rgba(2,5,16,.62),
    0 18px 44px rgba(2,5,16,.55);
}
.contact__title-sub{
  display: block;
  margin-left: -.05em;
  font-weight: 600;
  font-size: .92em;
  color: rgba(255,255,255,.94);
}
.contact__intro{
  margin: clamp(14px, 2vh, 22px) 0 0;
  max-width: 21em;
  font-size: clamp(12.5px, 1vw, 15.5px);
  line-height: 1.78;
  letter-spacing: .02em;
  color: rgba(234,244,255,.94);
  text-shadow: 0 1px 2px rgba(2,4,14,.92), 0 2px 14px rgba(2,4,14,.85);
}

/* ---------- 整体栅格 ---------- */
.contact{
  position: absolute;
  left: 8.2vw;
  right: 8.4vw;
  top: 12.4vh;
  bottom: 9.5vh;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(22px, 2.6vw, 46px);
  align-items: start;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity .8s ease .12s,
    transform .95s cubic-bezier(.16,1,.3,1) .12s;
}
.page--contact.is-active .contact{
  opacity: 1;
  transform: none;
}

.contact__left{
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 22px);
}
.contact__pair{
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.6vw, 22px);
  height: clamp(136px, 17vh, 168px);
}

/* ---------- 左侧三块 ---------- */
.cc-card{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(18px, 1.7vw, 26px) clamp(20px, 2vw, 30px);
  border: 0;
  border-radius: clamp(16px, 1.4vw, 22px);
  text-align: left;
  text-decoration: none;
  color: inherit;
  font: inherit;
  cursor: default;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(70,110,200,.30) 0%, rgba(10,14,34,0) 62%),
    linear-gradient(160deg, rgba(17,23,48,.74), rgba(6,9,24,.84));
  -webkit-backdrop-filter: blur(16px) saturate(128%);
  backdrop-filter: blur(16px) saturate(128%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 0 0 1px rgba(160,225,255,.16),
    0 22px 48px rgba(0,0,0,.34);
  transition:
    transform .5s cubic-bezier(.16,1,.3,1),
    box-shadow .5s ease,
    background .5s ease;
}
.cc-card::after{
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 70%;
  height: 160%;
  background: linear-gradient(120deg, transparent 40%, rgba(180,235,255,.10) 50%, transparent 60%);
  opacity: 0;
  transition: opacity .5s ease, transform .8s ease;
  transform: translateX(-14px);
  pointer-events: none;
}
.cc-card:hover::after{
  opacity: 1;
  transform: translateX(14px);
}
.cc-card:hover{
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.2),
    inset 0 0 0 1px rgba(150,235,255,.4),
    0 28px 60px rgba(0,0,0,.4),
    0 0 40px rgba(80,190,255,.16);
}

.cc-card--mail{
  height: clamp(112px, 13.6vh, 132px);
  min-height: 0;
  cursor: pointer;
}
.cc-card--douyin{ cursor: pointer; }

.cc-card__label{
  margin-bottom: 0;
  font-family: var(--mono);
  font-size: clamp(9px, .68vw, 11px);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(172,214,255,.62);
}
.cc-card__value{
  margin-top: clamp(7px, 1vh, 11px);
  font-family: var(--heiti-font);
  font-weight: 800;
  font-size: clamp(17px, 1.66vw, 25px);
  line-height: 1.24;
  letter-spacing: .01em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  word-break: break-all;
}
.cc-card--mail .cc-card__value{
  font-size: clamp(18px, 1.86vw, 28px);
}
.cc-card--mail .cc-card__sub{
  margin-top: clamp(6px, .9vh, 10px);
}
.cc-card__value--sm{
  font-size: clamp(20px, 1.9vw, 28px);
}
.cc-card__mini{
  margin-top: 5px;
  font-family: var(--mono);
  font-size: clamp(9.5px, .72vw, 11.5px);
  letter-spacing: .04em;
  color: rgba(198,228,255,.66);
}
.cc-card__sub{
  margin-top: clamp(6px, .9vh, 9px);
  font-size: clamp(10.5px, .78vw, 12.5px);
  color: rgba(196,220,245,.52);
}
.cc-card__gap{
  display: block;
  height: 0;
  margin-top: clamp(9px, 1.3vh, 14px);
  margin-bottom: clamp(6px, .9vh, 9px);
  border-bottom: 1px dashed rgba(170,220,255,.26);
}

/* ---------- 右侧反馈表单 ---------- */
.fb-card{
  align-self: stretch;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(22px, 2.2vw, 34px) clamp(24px, 2.4vw, 38px);
  border-radius: clamp(18px, 1.6vw, 26px);
  background:
    radial-gradient(ellipse at 12% 4%, rgba(64,104,196,.26) 0%, rgba(8,11,28,0) 58%),
    linear-gradient(165deg, rgba(15,20,44,.80), rgba(5,7,20,.88));
  -webkit-backdrop-filter: blur(18px) saturate(126%);
  backdrop-filter: blur(18px) saturate(126%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 0 0 1px rgba(160,225,255,.18),
    0 28px 64px rgba(0,0,0,.4);
}
.fb-card__label{
  font-family: var(--mono);
  font-size: clamp(9px, .68vw, 11px);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(172,214,255,.62);
}
.fb-card__title{
  margin: clamp(6px, .8vh, 10px) 0 clamp(16px, 2.2vh, 26px);
  font-family: var(--heiti-font);
  font-weight: 800;
  font-size: clamp(21px, 2.05vw, 32px);
  letter-spacing: .04em;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.5);
}

.fb-field{
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: clamp(11px, 1.5vh, 17px);
}
.fb-field__label{
  font-size: clamp(10.5px, .78vw, 12.5px);
  letter-spacing: .05em;
  color: rgba(206,230,252,.72);
}
.fb-field__input{
  width: 100%;
  padding: clamp(10px, 1.2vh, 13px) clamp(14px, 1.2vw, 18px);
  border: 1px solid rgba(160,220,255,.2);
  border-radius: 12px;
  background: rgba(6,10,26,.55);
  color: #eaf6ff;
  font-family: var(--ui-font);
  font-size: clamp(12.5px, .95vw, 14.5px);
  outline: none;
  transition:
    border-color .3s ease,
    box-shadow .3s ease,
    background .3s ease;
}
.fb-field__input::placeholder{ color: rgba(170,200,230,.38); }
.fb-field__input:focus{
  border-color: rgba(150,240,255,.55);
  background: rgba(8,14,34,.72);
  box-shadow: 0 0 0 3px rgba(90,200,255,.13);
}
.fb-field--area{
  flex: 1;
  min-height: 0;
}
.fb-field--area .fb-field__input{
  flex: 1;
  min-height: clamp(84px, 11vh, 124px);
  resize: vertical;
  line-height: 1.62;
}

.fb-card__foot{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(4px, .8vh, 10px);
}
.fb-submit{
  padding: clamp(11px, 1.3vh, 15px) clamp(26px, 2.4vw, 38px);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--ui-font);
  font-size: clamp(12.5px, .9vw, 14px);
  letter-spacing: .08em;
  color: #05131f;
  background: linear-gradient(135deg, #a9f1ff, #7cc8ff 55%, #bda8ff);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.62),
    0 10px 26px rgba(70,180,255,.3);
  transition:
    transform .3s cubic-bezier(.16,1,.3,1),
    box-shadow .3s ease,
    filter .3s ease,
    opacity .3s ease;
}
.fb-submit:hover{
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 16px 36px rgba(70,180,255,.44);
}
.fb-submit:active{ transform: translateY(0) scale(.985); }
.fb-submit[disabled]{
  opacity: .5;
  cursor: default;
  transform: none;
  filter: none;
}
.fb-note{
  font-size: clamp(10.5px, .78vw, 12px);
  color: rgba(180,225,255,.75);
  min-height: 1.2em;
}
.fb-note.is-err{ color: rgba(255,152,172,.92); }
.fb-note.is-ok{ color: rgba(158,255,206,.9); }

/* ---------- 窄屏 ---------- */
@media (max-width: 760px){
  .page--contact{ overflow-y: auto; }
  .contact{
    position: static;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 118px 5vw 96px;
    opacity: 1;
    transform: none;
  }
  .contact__pair{ grid-template-columns: 1fr; height: auto; }
  .contact__head{ margin-bottom: 4px; }
  .contact__title{ font-size: clamp(38px, 11vw, 54px); }
  .contact__intro{ font-size: 13px; }
  .cc-card{ border-radius: 18px; height: auto; min-height: 104px; padding: 16px 18px 18px; }
  .cc-card--mail{ min-height: 0; height: auto; }
  .fb-card{ border-radius: 20px; }
  .fb-card__title{ font-size: 22px; }
}
