/* ==================================================
   娇特加固 - 联系我们页样式
   ================================================== */

:root {
  --navy-950: #0E1F4A;
  --navy-900: #1E3678;
  --navy-800: #2A4590;
  --navy-700: #3654A8;
  --accent: #FB923C;
  --accent-dark: #EA7A1E;
  --accent-soft: #FFF2E8;
  --paper: #F5F7F9;
  --line: #E3E8ED;
  --text: #1F2A37;
  --muted: #5C6B7A;
  --white: #FFFFFF;
  --wechat: #07C160;
  --wechat-soft: #E6F8EE;
  --shadow-sm: 0 2px 10px rgba(14, 31, 74, .08);
  --shadow-md: 0 10px 30px rgba(14, 31, 74, .12);
  --radius: 12px;
  --container: 1500px;
  --nav-h: 64px;
  --nav-pad: 1.25rem;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: #fff; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--accent); color: #fff; }
section[id], footer[id] { scroll-margin-top: 78px; }
img { max-width: 100%; }
.wrap { width: 92%; max-width: var(--container); margin-left: auto; margin-right: auto; }

.sec-head { max-width: 720px; margin-bottom: 2.6rem; }
.sec-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .82rem; font-weight: 700; letter-spacing: .16em; color: var(--accent-dark); text-transform: uppercase; margin-bottom: .7rem; }
.eyebrow::before { content: ""; width: 22px; height: 6px; background: var(--accent); transform: skewX(-30deg); }
.sec-title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 900; color: var(--navy-900); letter-spacing: .01em; line-height: 1.3; }
.sec-sub { color: var(--muted); margin-top: .7rem; font-size: 1.02rem; }

.btn-brand { --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent); --bs-btn-hover-bg: var(--accent-dark); --bs-btn-hover-border-color: var(--accent-dark); --bs-btn-color: #1E3678; --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--accent-dark); --bs-btn-active-border-color: var(--accent-dark); --bs-btn-active-color: #fff; font-weight: 700; border-radius: 6px; padding: .72rem 1.5rem; }
.btn-outline-brand { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.65); --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--navy-900); --bs-btn-hover-border-color: #fff; --bs-btn-active-bg: #fff; --bs-btn-active-color: var(--navy-900); font-weight: 600; border-radius: 6px; padding: .72rem 1.5rem; }

.section { padding-block: 4.6rem; }
.section.paper { background: var(--paper); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* 内页 banner */
.page-hero {
  position: relative;
  padding: 3.6rem 0 3.2rem;
  color: #fff;
  overflow: hidden;
  background: var(--navy-900);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(14,31,74,.88) 0%, rgba(30,54,120,.78) 48%, rgba(42,69,144,.62) 100%),
    url("/images/contact-banner.jpg") center/cover no-repeat;
}
.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent 0 15px, rgba(255,255,255,.025) 15px 16px);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 .65rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.32);
}
.page-hero p {
  color: rgba(255,255,255,.82);
  font-size: 1rem;
  margin: 0;
  max-width: 800px;
}

/* 面包屑 */
.breadcrumb-bar { background: #fff; border-bottom: 1px solid var(--line); padding: .85rem 0; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  font-size: .86rem;
  color: var(--muted);
  margin: 0;
  list-style: none;
  padding: 0;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: .4rem; }
.breadcrumb .bc-icon { width: 15px; height: 15px; color: var(--navy-800); flex: 0 0 15px; }
.breadcrumb a { color: var(--navy-800); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { color: var(--accent-dark); }
.breadcrumb .sep { color: #C7D0DA; }
.breadcrumb .cur { color: var(--accent-dark); font-weight: 700; }

.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.contact-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.8rem 1.25rem 1.6rem; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.contact-card::before { content: ""; position: absolute; top: 0; left: 50%; width: 40px; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--accent), var(--accent-dark)); transform: translateX(-50%); opacity: .5; transition: width .3s ease, opacity .3s ease; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(251,146,60,.45); }
.contact-card:hover::before { width: 70px; opacity: 1; }
.cc-icon { width: 56px; height: 56px; margin-bottom: 1rem; border-radius: 14px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; transition: background .3s ease, color .3s ease, transform .3s ease; }
.contact-card:hover .cc-icon { background: var(--accent); color: #fff; transform: scale(1.05); }
.cc-label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.cc-value { display: block; margin-top: .4rem; font-size: 1.05rem; font-weight: 900; color: var(--navy-900); text-decoration: none; line-height: 1.5; word-break: break-word; transition: color .2s ease; }
.cc-value.tel { font-size: 1.4rem; color: var(--accent-dark); }
.cc-value:hover { color: var(--accent-dark); }
.cc-note { display: block; margin-top: .5rem; font-size: .8rem; color: var(--muted); line-height: 1.65; }
.cc-qr { width: 108px; height: 108px; margin-top: .5rem; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.cc-qr img { display: block; width: 100%; height: 100%; object-fit: cover; }

.contact-panel { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: stretch; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.9rem 1.9rem 1.7rem; box-shadow: var(--shadow-sm); }
.form-card h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.3rem; font-weight: 800; color: var(--navy-900); margin: 0 0 .5rem; flex-wrap: wrap; }
.form-card h3::before { content: ""; width: 6px; height: 20px; background: var(--accent); transform: skewX(-20deg); border-radius: 2px; }
.form-card .form-desc { font-size: 1rem; color: var(--muted); margin: 0 0 1.4rem; line-height: 1.75; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-field { margin-bottom: 1rem; }
.cf-field label { display: block; font-size: .95rem; font-weight: 700; color: var(--navy-900); margin-bottom: .45rem; }
.cf-field .req { color: #E63946; }
.cf-field input, .cf-field select, .cf-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: .78rem .95rem; font-size: 1rem; font-family: inherit; color: var(--text); background: #fff; transition: border-color .2s, box-shadow .2s, background .2s; display: block; }
.cf-field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8798A8 50%), linear-gradient(135deg, #8798A8 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.cf-field textarea { min-height: 160px; resize: vertical; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 .18rem rgba(251,146,60,.14); }

.cf-field.is-error input,
.cf-field.is-error select,
.cf-field.is-error textarea {
  border-color: #dc2626 !important;
  background-color: #fef2f2 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,.10) !important;
}
.cf-err {
  display: none;
  color: #dc2626;
  font-size: 13px;
  font-weight: 500;
  margin-top: 6px;
  align-items: center;
  gap: 4px;
  line-height: 1.5;
}
.cf-err.show { display: flex; }
.cf-err::before { content: "⚠"; font-size: 13px; flex: 0 0 auto; }

.form-success-badge {
  display: none;
  margin-left: 10px;
  padding: 4px 12px;
  background: #ecfdf3;
  color: #059669;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  animation: formBadgeIn .5s cubic-bezier(.34,1.56,.64,1);
}
.form-success-badge.show { display: inline-flex; align-items: center; gap: 4px; }
.form-success-badge::before { content: "✓"; font-weight: 800; font-size: 12px; }
@keyframes formBadgeIn {
  0% { opacity: 0; transform: scale(.6); }
  60% { transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

.cf-submit { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; background: var(--accent); color: #1E3678; border: 0; border-radius: 8px; padding: 1rem; font-size: 1.12rem; font-weight: 800; letter-spacing: .08em; cursor: pointer; font-family: inherit; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.cf-submit:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 10px 24px rgba(251,146,60,.32); }
.cf-submit:disabled { opacity: .6; cursor: not-allowed; }
.cf-note { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: .9rem 0 0; font-size: .88rem; color: var(--muted); text-align: center; line-height: 1.6; }
.cf-note svg { flex: 0 0 auto; color: #9AA7B4; }

.info-col { display: flex; flex-direction: column; gap: 1.2rem; min-height: 100%; }
.map-card { position: relative; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.map-canvas { position: relative; width: 100%; height: 208px; overflow: hidden; background: #E9EFF5; }
.map-canvas img { display: block; width: 100%; height: 100%; object-fit: cover; }
.map-caption { display: flex; align-items: flex-start; gap: .7rem; padding: 1rem 1.15rem 1.15rem; border-top: 1px solid var(--line); }
.map-caption .mc-ic { flex: 0 0 auto; width: 24px; height: 24px; margin-top: .16em; color: var(--accent-dark); display: grid; place-items: center; }
.map-caption b { display: block; font-size: 1.02rem; font-weight: 800; color: var(--navy-900); line-height: 1.5; }
.map-caption span { display: block; font-size: .95rem; color: var(--muted); line-height: 1.65; margin-top: .15rem; }

.info-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem 1.5rem 1.35rem; box-shadow: var(--shadow-sm); }
.info-card h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.15rem; font-weight: 800; color: var(--navy-900); margin: 0 0 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.info-card h3::before { content: ""; width: 6px; height: 18px; background: var(--accent); transform: skewX(-20deg); border-radius: 2px; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; align-items: flex-start; gap: .6rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); font-size: .98rem; line-height: 1.65; color: var(--text); }
.info-list li:last-child { border-bottom: 0; }
.info-list .il-ic { flex: 0 0 auto; width: 20px; height: 20px; margin-top: .2em; color: var(--accent-dark); display: grid; place-items: center; }
.info-list li strong { flex: 0 0 4.6em; color: var(--navy-900); font-weight: 700; }
.info-list li a { color: var(--accent-dark); font-weight: 800; text-decoration: none; }
.info-list li a:hover { color: var(--navy-900); }

@media (min-width: 992px) {
  .form-card { display: flex; flex-direction: column; height: 100%; }
  .form-card form { display: flex; flex-direction: column; flex: 1 1 auto; }
  .cf-field-textarea { flex: 1 1 auto; display: flex; flex-direction: column; }
  .cf-field-textarea textarea { flex: 1 1 auto; }
  .info-card { flex: 1 1 auto; }
}

.contact-faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.contact-faq-item { padding: 1.25rem 1.4rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.contact-faq-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(251,146,60,.45); }
.contact-faq-q { display: flex; align-items: flex-start; gap: .65rem; font-size: 1rem; font-weight: 800; color: var(--navy-900); margin: 0 0 .55rem; line-height: 1.5; }
.contact-faq-q .qmark { flex: 0 0 auto; width: 26px; height: 26px; margin-top: .08em; background: var(--accent-soft); color: var(--accent-dark); font-weight: 900; border-radius: 6px; display: grid; place-items: center; font-size: .88rem; }
.contact-faq-a { padding-left: 2.05rem; font-size: .9rem; color: var(--muted); line-height: 1.75; margin: 0; }
.contact-faq-a a { color: var(--accent-dark); font-weight: 700; text-decoration: none; }

.cta-band { position: relative; background: var(--navy-900); color: #fff; padding-block: 3.2rem; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(-45deg, transparent 0 26px, rgba(255,255,255,.03) 26px 28px); }
.cta-band .wrap { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.6rem; }
.cta-band h2 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 900; margin: 0 0 .4rem; line-height: 1.35; }
.cta-band h2 .hl { color: var(--accent); }
.cta-band p { margin: 0; color: rgba(255,255,255,.76); font-size: .96rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

@media (max-width: 1199.98px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 991.98px) { .contact-panel { grid-template-columns: 1fr; gap: 1.6rem; } .cta-band .wrap { flex-direction: column; align-items: flex-start; } }
@media (max-width: 767.98px) {
  .contact-faq-grid { grid-template-columns: 1fr; gap: .9rem; }
  .contact-faq-item { padding: 1rem 1.1rem 1.05rem; }
  .contact-faq-q { font-size: .92rem; gap: .5rem; }
  .contact-faq-q .qmark { width: 22px; height: 22px; font-size: .8rem; }
  .contact-faq-a { padding-left: 1.75rem; font-size: .85rem; }
}
@media (max-width: 575.98px) {
  .page-hero { padding: 2.4rem 0 2.2rem; }
  .page-hero h1 { font-size: 1.5rem; }
  .page-hero p { font-size: .88rem; }
  .contact-grid { gap: .7rem; }
  .contact-card { padding: 1.2rem .85rem 1.1rem; border-radius: 10px; }
  .cc-icon { width: 44px; height: 44px; border-radius: 11px; margin-bottom: .7rem; }
  .cc-icon svg { width: 22px; height: 22px; }
  .cc-label { font-size: .68rem; letter-spacing: .06em; }
  .cc-value { font-size: .92rem; }
  .cc-value.tel { font-size: 1.15rem; }
  .cc-note { font-size: .72rem; line-height: 1.55; }
  .cc-qr { width: 92px; height: 92px; }
  .cf-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 1.25rem 1.1rem 1.2rem; border-radius: 12px; }
  .form-card h3 { font-size: 1.15rem; }
  .form-card .form-desc { font-size: .92rem; }
  .cf-field label { font-size: .9rem; }
  .cf-field input, .cf-field select, .cf-field textarea { font-size: .95rem; padding: .72rem .85rem; }
  .cf-field textarea { min-height: 150px; }
  .cf-submit { font-size: 1.05rem; padding: .92rem; }
  .cf-note { font-size: .82rem; }
  .map-canvas { height: 168px; }
  .form-success-badge { margin-left: 6px; padding: 3px 9px; font-size: 11px; }
  .cta-band { padding-block: 2.4rem; }
  .cta-band .cta-actions { width: 100%; }
  .cta-band .cta-actions .btn { flex: 1 1 auto; font-size: .88rem; padding: .62rem 1.05rem; }
}