/* =========================================
   liuyan.css (V2.0 叮格蓝 · 留言墙 + 访客留言)
   ========================================= */
:root {
  --brand-blue: #0f3b82;
  --brand-blue-soft: #eaf1ff;
  --apple-bg: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(17, 17, 17, 0.08);
  --shadow: 0 20px 60px rgba(15, 59, 130, 0.06);
  --shadow-lg: 0 40px 100px rgba(15, 59, 130, 0.12);
  --max: 1400px;
}

* { box-sizing: border-box; }

.feedback-page {
  background: var(--apple-bg);
  padding-bottom: 100px;
}

.feedback-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

.feedback-hero {
  padding: 120px 0 48px;
}

.hero-box {
  background: linear-gradient(135deg, #0f3b82 0%, #184893 100%);
  border-radius: 60px;
  padding: 90px 80px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.hero-eyebrow {
  color: rgba(255,255,255,0.68);
  font-weight: 700;
  display: block;
  margin-bottom: 20px;
  letter-spacing: 0.12em;
}

.hero-box h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 800;
  margin: 0 0 26px;
  color: #fff;
}

.hero-box p {
  font-size: 20px;
  color: rgba(255,255,255,0.84);
  max-width: 920px;
  margin: 0 auto;
  line-height: 1.9;
}

.feedback-intro {
  margin-top: 10px;
}

.feedback-intro-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.feedback-intro-card > div,
.feedback-intro-quote {
  background: #fff;
  border-radius: 36px;
  padding: 38px 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.03);
}

.feedback-intro-card h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.feedback-intro-card p,
.feedback-intro-quote p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.feedback-intro-quote {
  display: grid;
  align-content: center;
  background: linear-gradient(180deg, rgba(234, 241, 255, 0.9), #fff);
  border: 1px solid rgba(15, 59, 130, 0.08);
}

.feedback-intro-quote span {
  display: inline-block;
  width: fit-content;
  padding: 6px 14px;
  background: #fff;
  color: var(--brand-blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.feedback-intro-quote strong {
  display: block;
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--text);
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 42px;
}

.fb-card {
  background: #fff;
  border-radius: 40px;
  padding: 34px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  transition: all 0.35s ease;
  border: 1px solid rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
}

.fb-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.fb-tag {
  display: inline-block;
  width: fit-content;
  padding: 6px 14px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.fb-photo {
  width: 100%;
  border-radius: 24px;
  margin-bottom: 22px;
  overflow: hidden;
  background: #eee;
  border: 1px solid #f0f0f0;
}

.fb-photo-portrait img {
  aspect-ratio: 3 / 4;
}

.fb-photo-landscape img {
  aspect-ratio: 16 / 9;
}

.fb-photo img {
  width: 100%;
  display: block;
  object-fit: cover;
  background: #eee;
}

.fb-text {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  margin: 0 0 20px;
  flex: 1;
}

.fb-meta {
  border-top: 1px solid #eee;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #86868b;
  font-size: 14px;
}

.fb-meta strong {
  color: var(--text);
}

.post-form-card {
  background: #fff;
  border-radius: 48px;
  padding: 72px 72px 64px;
  margin-top: 80px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.04);
}

.form-head {
  text-align: center;
  margin-bottom: 34px;
}

.form-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--brand-blue-soft);
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.form-head h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.form-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.form-value-box {
  max-width: 980px;
  margin: 0 auto 40px;
  padding: 24px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(234, 241, 255, 0.75), #fff);
  border: 1px solid rgba(15, 59, 130, 0.08);
}

.form-value-box strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--text);
}

.form-value-box p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.visitor-form {
  max-width: 1040px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}

.form-item {
  display: grid;
  gap: 12px;
}

.form-item-wide {
  grid-column: 1 / -1;
}

.form-item label {
  font-weight: 700;
  color: var(--text);
  font-size: 15px;
}

.form-item input[type="text"],
.form-item select,
.form-item textarea {
  width: 100%;
  border: 1.5px solid #ececec;
  border-radius: 20px;
  padding: 18px 22px;
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.form-item input[type="text"]:focus,
.form-item select:focus,
.form-item textarea:focus {
  border-color: rgba(15, 59, 130, 0.35);
  box-shadow: 0 0 0 4px rgba(15, 59, 130, 0.08);
}

.form-item input[type="file"] {
  font-size: 14px;
  color: var(--muted);
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.radio-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border: 1px solid #ececec;
  border-radius: 999px;
  font-size: 15px;
  color: var(--text);
  background: #fff;
}

.radio-chip input {
  accent-color: var(--brand-blue);
}

.form-actions {
  margin-top: 44px;
  text-align: center;
}

.form-actions button {
  background: var(--brand-blue);
  color: #fff;
  border: none;
  padding: 20px 60px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(15, 59, 130, 0.20);
  transition: transform .22s ease, box-shadow .22s ease;
}

.form-actions button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 59, 130, 0.24);
}

.form-actions p {
  margin: 18px auto 0;
  max-width: 760px;
  color: #86868b;
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 1100px) {
  .feedback-shell {
    padding: 0 24px;
  }

  .feedback-intro-card,
  .feedback-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .post-form-card {
    padding: 56px 28px;
  }

  .hero-box {
    padding: 70px 34px;
  }
}

@media (max-width: 820px) {
  .feedback-hero {
    padding: 92px 0 36px;
  }

  .hero-box {
    border-radius: 36px;
  }

  .hero-box p,
  .form-head p {
    font-size: 16px;
  }

  .feedback-intro-card > div,
  .feedback-intro-quote,
  .fb-card {
    padding: 26px 22px;
    border-radius: 28px;
  }

  .post-form-card {
    border-radius: 32px;
  }

  .form-actions button {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .radio-row {
    flex-direction: column;
  }
}
