/* ============================================================
   style-contact.css — 联系我们（独立布局：左圆叠环 + 渠道圆钮）
   OMICA 网站建设 · 极简卫浴风
   ============================================================ */

/* ---------- Hero：左圆叠双环 + 右侧信息卡 ---------- */
.ct-hero {
  position: relative;
  background: var(--white);
  padding: 178px 0 92px;
  overflow: hidden;
}
.ct-hero::before {
  content: "";
  position: absolute;
  left: -220px; bottom: -220px;
  width: 680px; height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(27,27,27,.06), transparent 62%);
  pointer-events: none;
}
.ct-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 2; }
.ct-hero-media { position: relative; justify-self: center; }
.ct-orb {
  position: relative;
  width: min(420px, 40vw);
  height: min(420px, 40vw);
}
.ct-orb-disc {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}
.ct-orb-disc img { width: 100%; height: 100%; object-fit: cover; }
.ct-orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  animation: ctOrbit 42s linear infinite;
}
.ct-orb-ring::before {
  content: "";
  position: absolute;
  top: -5px; left: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ink);
}
.ct-orb-ring.outer {
  inset: -7%;
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 60s;
}
@keyframes ctOrbit { to { transform: rotate(360deg); } }
.ct-hero-badge {
  position: absolute;
  right: -6px; top: 8%;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  width: 128px; height: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.ct-hero-badge b { font-size: 22px; font-weight: 800; }
.ct-hero-badge span { font-size: 11.5px; color: #CFCFCA; margin-top: 2px; letter-spacing: .1em; }
.ct-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .34em;
  color: var(--gray-600);
  margin-bottom: 24px;
}
.ct-hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--ink); }
.ct-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--ink); line-height: 1.28; }
.ct-hero-desc { margin: 24px 0 32px; font-size: 16px; line-height: 2; color: var(--ink-mute); max-width: 520px; }
.ct-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.ct-tel-strip {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.ct-tel-strip .lbl { font-size: 13px; color: var(--gray-500); letter-spacing: .12em; }
.ct-tel-strip a.tel { font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: .02em; }
.ct-tel-strip .tip { font-size: 13px; color: var(--gray-500); }

/* ---------- 三大联系渠道：圆钮大卡 ---------- */
.ct-channel { background: var(--gray-50); overflow: hidden; position: relative; }
.ct-channel::after {
  content: "";
  position: absolute;
  right: -140px; bottom: -140px;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1px dashed var(--gray-300);
  pointer-events: none;
}
.ct-channel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; z-index: 2; }
.ct-channel-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.ct-channel-card:nth-child(2) { transform: translateY(28px); }
.ct-channel-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-6px); }
.ct-channel-card:nth-child(2):hover { transform: translateY(-6px); }
.ct-channel-card::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,27,27,.05), transparent 64%);
  transition: transform var(--transition);
}
.ct-channel-card:hover::before { transform: scale(1.5); }
.ct-channel-circle {
  width: 86px; height: 86px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--transition);
}
.ct-channel-card:hover .ct-channel-circle { transform: scale(1.08) rotate(6deg); }
.ct-channel-circle::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
}
.ct-channel-card h3 { font-size: 19px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.ct-channel-card .main { display: block; font-size: 24px; font-weight: 800; color: var(--ink); margin: 12px 0 6px; }
.ct-channel-card .main:hover { text-decoration: underline; text-underline-offset: 5px; }
.ct-channel-card p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.8; }
.ct-channel-card .sub { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--gray-600); background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 999px; padding: 6px 18px; }

/* ---------- 联系表单区 ---------- */
.ct-form-sec { background: var(--white); overflow: hidden; position: relative; }
.ct-form-sec::before {
  content: "";
  position: absolute;
  left: -180px; top: 80px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,27,27,.045), transparent 62%);
  pointer-events: none;
}
.ct-form-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 60px; align-items: stretch; }
.ct-form-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  position: relative;
  overflow: hidden;
}
.ct-form-card::before {
  content: "";
  position: absolute;
  left: -70px; top: -70px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
}
.ct-form-card h3 { font-size: 22px; color: var(--ink); font-weight: 800; margin-bottom: 6px; }
.ct-form-card > p { font-size: 14px; color: var(--ink-mute); margin-bottom: 26px; }
.ct-field { margin-bottom: 18px; position: relative; z-index: 2; }
.ct-field label { display: block; font-size: 13.5px; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.ct-field input, .ct-field textarea {
  width: 100%;
  border: 1px solid var(--gray-300);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--ink);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.ct-field input:focus, .ct-field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(27,27,27,.06); }
.ct-field textarea { min-height: 118px; resize: vertical; }
.ct-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ct-submit { width: 100%; margin-top: 6px; }
.ct-privacy-note { font-size: 12.5px; color: var(--gray-500); margin-top: 14px; text-align: center; }
.ct-form-media { position: relative; display: flex; flex-direction: column; gap: 22px; }
.ct-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  flex: 1;
  min-height: 300px;
}
.ct-media-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ct-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(27,27,27,.42));
}
.ct-media-card figcaption { position: absolute; left: 26px; bottom: 22px; color: #fff; font-size: 15px; z-index: 2; }
.ct-media-card figcaption b { display: block; font-size: 20px; font-weight: 800; }
.ct-hours {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 18px 24px;
}
.ct-hours b { font-size: 15px; }
.ct-hours span { font-size: 13px; color: #CFCFCA; }

/* ---------- 到访路线 ---------- */
.ct-route { background: var(--gray-50); position: relative; overflow: hidden; }
.ct-route::after {
  content: "";
  position: absolute;
  left: 50%; top: -240px;
  width: 560px; height: 560px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,27,27,.05), transparent 64%);
  pointer-events: none;
}
.ct-route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; z-index: 2; margin-top: 40px; }
.ct-route-step { position: relative; padding: 30px 26px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); text-align: center; }
.ct-route-step::before {
  content: "";
  position: absolute;
  left: 50%; top: -16px;
  transform: translateX(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct-route-step:nth-child(1)::before { content: "1"; }
.ct-route-step:nth-child(2)::before { content: "2"; }
.ct-route-step:nth-child(3)::before { content: "3"; }
.ct-route-step h3 { font-size: 16.5px; color: var(--ink); font-weight: 700; margin-bottom: 10px; }
.ct-route-step p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.85; }

/* ---------- CTA（本页专属） ---------- */
.ct-sec-cta { background: var(--ink); color: #fff; overflow: hidden; }
.ct-sec-cta::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 64%);
  pointer-events: none;
}
.ct-sec-cta::after {
  content: "";
  position: absolute;
  left: 10%; bottom: -180px;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.15);
  pointer-events: none;
}
.ct-sec-cta .cta-inner p { color: rgba(255,255,255,.72); }
.ct-sec-cta .cta-contact { color: rgba(255,255,255,.85); }
.ct-sec-cta .cta-contact a { color: #fff; }
.ct-sec-cta .cta-contact a:hover { text-decoration: underline; text-underline-offset: 5px; }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255,255,255,.6); background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); box-shadow: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .ct-hero { padding-top: 148px; }
  .ct-hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .ct-orb { width: min(360px, 72vw); height: min(360px, 72vw); }
  .ct-channel-grid, .ct-route-grid { grid-template-columns: 1fr; }
  .ct-channel-card:nth-child(2) { transform: none; }
  .ct-form-grid { grid-template-columns: 1fr; }
  .ct-media-card { min-height: 260px; }
}
@media (max-width: 640px) {
  .ct-hero { padding: 132px 0 60px; }
  .ct-hero-badge { width: 102px; height: 102px; right: 0; }
  .ct-form-row { grid-template-columns: 1fr; }
  .ct-form-card { padding: 30px 22px; }
  .ct-tel-strip a.tel { font-size: 25px; }
}
