/* ============================================================
   liuyan.css — 在线留言页样式（牛仔裤复古风 · 登记台式布局）
   ============================================================ */

/* ---------- 模块1：页头 Hero ---------- */
.ly-hero {
  padding: 140px 0 80px;
  position: relative; overflow: hidden;
}
.ly-hero::before {
  content: ""; position: absolute; right: -90px; bottom: -130px;
  width: 400px; height: 400px; border-radius: 50%;
  border: 2px dashed rgba(233,220,195,.22);
  pointer-events: none;
}
.ly-hero-num { right: 40px; top: 120px; font-size: 130px; }
.ly-hero-inner { position: relative; z-index: 2; max-width: 760px; }
.ly-hero .crumbs { margin-bottom: 18px; }
.ly-hero .crumbs a { color: rgba(250,246,238,.8); }
.ly-hero .crumbs .sep { color: rgba(250,246,238,.45); }
.ly-hero .crumbs span { color: var(--stitch); }
.ly-hero-tag { margin-bottom: 18px; }
.ly-hero h1 {
  font-size: clamp(30px, 4.6vw, 48px); line-height: 1.3;
  color: var(--paper-100); letter-spacing: 2px;
}
.ly-hero h1 em { font-style: normal; color: var(--stitch); }
.ly-hero-sub {
  margin-top: 18px; color: rgba(250,246,238,.85);
  max-width: 640px; line-height: 2;
}

/* ---------- 模块2：表单 + 侧栏 ---------- */
.ly-form-grid {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: start;
}
.ly-form-card {
  background: var(--paper-100); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 36px 34px;
  box-shadow: var(--shadow-md); position: relative;
}
.ly-form-head h2 { font-size: clamp(23px, 2.6vw, 30px); margin: 8px 0 6px; }
.ly-form-head h2 em { font-style: normal; color: var(--denim-600); }
.ly-form-head .lead { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 24px; }
.ly-form-head .lead i { font-style: normal; color: var(--rust); }

.ly-form-card form { margin-top: 8px; }
.ly-form-foot {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 6px;
}
.ly-submit { min-width: 168px; }
.ly-submit svg { width: 16px; height: 16px; }
.ly-form-note { font-size: 13px; color: var(--brown-600); }

.ly-side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 96px; }
.ly-side-contact {
  background: var(--denim-800); color: var(--paper-100);
  border-radius: var(--r-md); padding: 22px 24px;
}
.ly-side-contact h3 { color: var(--paper-100); font-size: 16px; margin-bottom: 14px; }
.ly-side-contact ul { display: flex; flex-direction: column; gap: 12px; }
.ly-side-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(250,246,238,.9); }
.ly-side-contact svg { width: 18px; height: 18px; flex: none; color: var(--stitch); margin-top: 3px; }
.ly-side-contact a { color: var(--stitch); }
.ly-side-contact a:hover { color: #fff; }

.ly-side-tip {
  background: var(--paper-300); border: 1px dashed var(--brown-400);
  border-radius: var(--r-md); padding: 20px 22px;
}
.ly-side-tip h3 { font-size: 15.5px; margin-bottom: 8px; }
.ly-side-tip p { font-size: 13.5px; color: var(--brown-800); line-height: 1.9; }

/* ---------- 模块3：服务承诺 ---------- */
.ly-promise-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.ly-p-card {
  background: var(--paper-100); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 26px 22px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.ly-p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ly-p-ico {
  display: inline-flex; width: 48px; height: 48px; border-radius: 50%;
  align-items: center; justify-content: center;
  background: var(--denim-100); color: var(--denim-700); margin-bottom: 14px;
}
.ly-p-ico svg { width: 24px; height: 24px; }
.ly-p-card h3 { font-size: 16px; margin-bottom: 8px; }
.ly-p-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; }
.ly-p-card p a { color: var(--denim-700); font-weight: 600; }

/* ---------- 模块4：留言须知 ---------- */
.ly-notice-wrap { position: relative; }
.ly-notice-list { display: flex; flex-direction: column; gap: 16px; max-width: 860px; }
.ly-notice-list li {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--paper-100); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px 22px;
  border-left: 4px solid var(--brown-600);
  transition: transform .3s var(--ease);
}
.ly-notice-list li:hover { transform: translateX(6px); }
.ly-n-num {
  font-family: var(--font-serif); font-size: 26px; font-weight: 900;
  color: var(--denim-100); line-height: 1.1; flex: none;
}
.ly-notice-list h3 { font-size: 16px; margin-bottom: 5px; }
.ly-notice-list p { font-size: 14px; color: var(--ink-soft); line-height: 1.85; }

/* ---------- 模块5：相关推荐 ---------- */
.ly-relate-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.ly-r-card {
  display: block; background: var(--paper-100);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.ly-r-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ly-r-card--brown { background: var(--brown-800); border-color: var(--brown-900); }
.ly-r-card--brown h3 { color: var(--paper-100); }
.ly-r-card--brown p { color: rgba(233,220,195,.85); }
.ly-r-card--brown .ly-r-more { color: var(--stitch); }
.ly-r-num {
  display: inline-flex; width: 40px; height: 40px; border-radius: 50%;
  background: var(--denim-100); color: var(--denim-800);
  align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 900; margin-bottom: 14px;
}
.ly-r-card--brown .ly-r-num { background: rgba(233,220,195,.16); color: var(--stitch); }
.ly-r-card h3 { font-size: 18px; margin-bottom: 8px; }
.ly-r-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.85; margin-bottom: 14px; }
.ly-r-more { font-size: 13.5px; font-weight: 600; color: var(--denim-700); }
.ly-r-card:hover .ly-r-more { color: var(--rust); }

/* ---------- 模块6：底部提示条 ---------- */
.ly-foot-strip { padding: 30px 0; }
.ly-foot-inner { text-align: center; }
.ly-foot-inner p { color: rgba(250,246,238,.9); font-size: 15px; letter-spacing: 1px; }
.ly-foot-inner a { color: var(--stitch); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ly-foot-inner a:hover { color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .ly-form-grid { grid-template-columns: 1fr; gap: 30px; }
  .ly-side { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .ly-promise-grid { grid-template-columns: 1fr 1fr; }
  .ly-relate-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .ly-hero { padding: 120px 0 60px; }
  .ly-form-card { padding: 26px 22px; }
  .ly-side { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .ly-promise-grid { grid-template-columns: 1fr; }
  .ly-hero-num { font-size: 80px; top: 100px; }
  .ly-form-foot { flex-direction: column; align-items: stretch; }
  .ly-submit { width: 100%; }
}
