@charset "utf-8";
/* ============================================================================
   上海鸿之电气集团 (HONZ) · V4.0 全局毛玻璃导航栏 & Bento 超级菜单
   ============================================================================ */

body {
  padding-top: 80px;
}

@media (max-width: 1024px) {
  body {
    padding-top: 64px;
  }
}

.ty_head_pc {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 var(--sp-32);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 24px -6px rgba(15, 23, 42, 0.05);
  transition: background var(--dur-fast), box-shadow var(--dur-fast);
}

.ty_head_mobile {
  display: none;
}

.ty_head_navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  width: 100%;
  max-width: var(--container-max);
  height: 80px;
  gap: var(--sp-32);
}

/* 左侧 Logo */
.ty_head_logo_area {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* 首页的 logo 区是 h1（首页的一级标题，2026-11-11）：抵消标题默认的字号、行高、间距，外观与其他页面的 div 相同 */
h1.ty_head_logo_area {
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.ty_head_logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: opacity var(--dur-fast);
}

.ty_head_logo:hover {
  opacity: 0.9;
}

.ty_head_logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: none;
}

/* 中间主导航菜单 */
.ty_head_nav_menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
}

.ty_head_nav_item {
  position: relative;
  height: 100%;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #1e293b;
  letter-spacing: 0.01em;
  transition: color var(--dur-fast);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.ty_head_nav_item > a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
}

.ty_head_nav_item.has_dropdown > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  opacity: 0.65;
  transition: transform var(--dur-fast) var(--ease-apple);
}

.ty_head_nav_item.has_dropdown:hover > a::after {
  transform: rotate(-135deg);
  margin-top: 3px;
  opacity: 1;
}

.ty_head_nav_item:hover,
.ty_head_nav_item.ty_head_active {
  color: var(--color-primary);
}

/* 底部渐变指示条 */
.ty_head_nav_item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transition: transform var(--dur-fast) var(--ease-apple);
  transform-origin: center;
}

.ty_head_nav_item:hover::after,
.ty_head_nav_item.ty_head_active::after {
  transform: scaleX(1);
}

/* 右侧工具与 CTA 按钮区 */
.ty_head_tools {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ty_head_icon_btn {
  width: 40px;
  height: 40px;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.06);
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all var(--dur-fast) var(--ease-apple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.ty_head_icon_btn span {
  font-size: 1.15rem !important;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ty_head_icon_btn i {
  font-size: 1.15rem !important;
  line-height: 1;
}

.ty_head_icon_btn:hover {
  background-color: var(--color-primary-light);
  border-color: rgba(4, 84, 220, 0.25);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.ty_head_cta_btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  margin-left: 6px;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
  color: #ffffff !important;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 6px 16px -4px rgba(4, 84, 220, 0.4);
  transition: all var(--dur-fast) var(--ease-apple);
  white-space: nowrap;
}

.ty_head_cta_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(4, 84, 220, 0.55);
  filter: brightness(1.05);
}

/* ---------- 产品中心 Bento 超级下拉菜单 ---------- */
.ty_head_dropdown_panel {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 28px 64px -12px rgba(15, 23, 42, 0.16), 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease-apple), transform var(--dur) var(--ease-apple), visibility var(--dur);
  z-index: 999;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.ty_head_nav_item.has_dropdown:hover .ty_head_dropdown_panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ty_head_dropdown_container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 32px var(--sp-32);
  display: grid;
  grid-template-columns: 260px 1fr 240px;
  gap: 32px;
  align-items: stretch;
}

/* 左栏：品牌产品总览深色科技卡 */
.ty_head_cp_a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #071329 0%, #0d254c 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  position: relative;
  overflow: hidden;
}

.ty_head_cp_img {
  width: 150px;
  height: 150px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
}

.ty_head_cp_img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.ty_head_cp_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: var(--gradient-brand);
  color: #ffffff !important;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--dur-fast) var(--ease-apple);
  box-shadow: 0 6px 16px -4px rgba(4, 84, 220, 0.45);
}

.ty_head_cta_btn i.iconfont,
.ty_head_cp_btn i.iconfont {
  font-size: 0.75rem;
  line-height: 1;
}

.ty_head_cp_btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

/* 中栏：6 大产品系列 3×2 均衡矩阵（修复原版 5+1 孤行问题） */
.ty_head_cp_b {
  width: 100%;
  display: flex;
  align-items: center;
}

.ty_head_cp_grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ty_head_cp_item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all var(--dur-fast) var(--ease-apple);
  text-align: left;
}

.ty_head_cp_item:hover {
  background: #ffffff;
  border-color: rgba(4, 84, 220, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ty_head_cp_icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #eff6ff;
  color: #334155; /* 深灰（2026-11-11 用户要求，原为品牌蓝） */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  transition: all var(--dur-fast) var(--ease-apple);
}

.ty_head_cp_icon i {
  font-size: 2rem !important; /* 2026-11-11 用户要求，原 1.5rem */
  /* 线条 1 像素（2026-11-11 用户要求）：图标字体没有粗体，跟着导航文字的 600 加粗时浏览器会自己描粗约 1px（看起来约 1.4px）。
     所以先取消加粗（32px 时原线条约 0.4px），再描边 0.6px 补到约 1px */
  font-weight: 400;
  -webkit-text-stroke: 0.6px currentColor;
  line-height: 1;
}

/* 鼠标经过：底色不变，只把图标变成主题色（2026-11-11 用户要求，原为渐变底 + 白图标） */
.ty_head_cp_item:hover .ty_head_cp_icon {
  color: var(--color-primary);
}

.ty_head_cp_label {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #0f172a;
  transition: color var(--dur-fast);
}

.ty_head_cp_item:hover .ty_head_cp_label {
  color: var(--color-primary);
}

/* 右栏：快捷技术支持卡片 */
.ty_head_cp_c {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ty_head_cp_title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.ty_head_cp_links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ty_head_cp_links a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--dur-fast);
}

.ty_head_cp_links a i {
  font-size: 1.05rem;
  color: var(--color-primary);
}

.ty_head_cp_links a:hover {
  background: #eff6ff;
  color: var(--color-primary);
  transform: translateX(3px);
}

/* ---------- 搜索下拉栏（方案 01：与顶部导航栏等宽对齐的悬浮检索舱） ---------- */
.ty_head_search_overlay {
  position: fixed;
  top: 92px;
  left: 50%;
  width: calc(100% - (var(--sp-32) * 2));
  max-width: var(--container-max);
  background: #ffffff;
  border-radius: 20px;
  padding: 46px 24px 20px;
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.24), 0 0 0 1px rgba(4, 84, 220, 0.18);
  z-index: 998;
  transform: translateX(-50%) translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--dur) var(--ease-apple);
}

.ty_head_search_overlay.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.ty_head_search_overlay::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 193px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-top: 1px solid rgba(4, 84, 220, 0.18);
  border-left: 1px solid rgba(4, 84, 220, 0.18);
  transform: rotate(45deg);
}

.ty_head_search_overlay::after {
  content: "全站快速检索";
  position: absolute;
  top: 16px;
  left: 28px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0454dc;
  letter-spacing: 0.02em;
}

.ty_head_pc .ty_head_search_form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  background: #f8fafc;
  border: 2px solid #0454dc;
  border-radius: 9999px;
  padding: 4px 5px 4px 18px;
  box-shadow: 0 0 0 4px rgba(4, 84, 220, 0.1);
  transition: all var(--dur-fast) var(--ease-apple);
}

.ty_head_pc .ty_head_search_form:focus-within {
  background: #ffffff;
  box-shadow: 0 0 0 5px rgba(4, 84, 220, 0.15);
}

.ty_head_pc .ty_head_search_form::before {
  content: "\e848";
  font-family: "iconfont";
  font-size: 1.15rem;
  color: #0454dc;
  margin-right: 10px;
  line-height: 1;
  flex-shrink: 0;
}

.ty_head_pc .ty_head_search_form::after {
  content: "支持产品型号 / 文档 / 资讯";
  position: absolute;
  top: -30px;
  right: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  pointer-events: none;
}

.ty_head_pc .ty_head_search_input {
  flex: 1;
  font-size: 0.9375rem;
  padding: 8px 12px 8px 0;
  border: none !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: #0f172a;
}

.ty_head_pc .ty_head_search_form .ty_head_icon_btn {
  width: auto;
  height: 40px;
  padding: 0 26px;
  margin-left: 8px !important;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0454dc 0%, #0ea5e9 100%);
  border: none;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(4, 84, 220, 0.3);
  flex-shrink: 0;
}

.ty_head_pc .ty_head_search_form .ty_head_icon_btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(4, 84, 220, 0.42);
  filter: brightness(1.05);
}

.ty_head_pc .ty_head_search_form .ty_head_icon_btn i {
  display: none;
}

.ty_head_pc .ty_head_search_form .ty_head_icon_btn::after {
  content: "搜索";
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

/* ---------- 移动端/平板导航栏 ---------- */
.ty_head_mobile_nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.ty_head_mobile_menu_btn,
.ty_head_mobile_search_btn,
.ty_head_mobile_quote_btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: #1e293b;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ty_head_mobile_logo img {
  display: block;
  height: 30px;
  width: auto;
}

.ty_head_mobile_drawer {
  position: fixed;
  top: 64px;
  left: 0;
  width: 82%;
  max-width: 340px;
  height: calc(100vh - 64px);
  background: #ffffff;
  box-shadow: var(--shadow-xl);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform var(--dur) var(--ease-apple);
  padding: 20px;
  overflow-y: auto;
}

.ty_head_mobile_drawer.open {
  transform: translateX(0);
}

.ty_head_drawer_overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: var(--dur-fast);
}

.ty_head_drawer_overlay.show {
  opacity: 1;
  visibility: visible;
}

/* 移动端/平板端悬浮检索舱（方案 01） */
.ty_head_mobile_search_bar {
  position: fixed;
  top: 74px;
  left: 14px;
  right: 14px;
  width: auto;
  background: #ffffff;
  border-radius: 18px;
  padding: 40px 16px 16px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.26), 0 0 0 1px rgba(4, 84, 220, 0.18);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--dur-fast) var(--ease-apple);
  z-index: 9998;
}

.ty_head_mobile_search_bar.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.ty_head_mobile_search_bar::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-top: 1px solid rgba(4, 84, 220, 0.18);
  border-left: 1px solid rgba(4, 84, 220, 0.18);
  transform: rotate(45deg);
}

.ty_head_mobile_search_bar::after {
  content: "快速检索";
  position: absolute;
  top: 13px;
  left: 18px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0454dc;
}

.ty_head_mobile_search_bar .ty_head_search_form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  background: #f8fafc;
  border: 1px solid #0454dc;
  border-radius: 9999px;
  padding: 3px 4px 3px 14px;
  box-shadow: 0 0 0 3px rgba(4, 84, 220, 0.1);
}

.ty_head_mobile_search_bar .ty_head_search_form::before {
  content: "\e848";
  font-family: "iconfont";
  font-size: 1rem;
  color: #0454dc;
  margin-right: 8px;
  line-height: 1;
  flex-shrink: 0;
}

.ty_head_mobile_search_bar .ty_head_search_form::after {
  content: "点击空白处收起";
  position: absolute;
  top: -26px;
  right: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  pointer-events: none;
}

.ty_head_mobile_search_input {
  flex: 1;
  width: 100%;
  padding: 7px 8px 7px 0;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0.875rem;
  color: #0f172a;
}

.ty_head_mobile_search_icon_btn {
  position: static;
  transform: none;
  height: 34px;
  padding: 0 18px;
  background: linear-gradient(135deg, #0454dc 0%, #0ea5e9 100%);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(4, 84, 220, 0.25);
  flex-shrink: 0;
}

/* 移动端抽屉多级菜单 */
.ty_head_nav_drawer_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
}

.ty_head_nav_drawer_title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.ty_head_nav_drawer_close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
}

.ty_head_nav_close_icon {
  position: relative;
  width: 16px;
  height: 16px;
}

.ty_head_nav_close_icon::before,
.ty_head_nav_close_icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background-color: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.ty_head_nav_close_icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.ty_head_nav_menu_list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ty_head_nav_l1_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.ty_head_nav_l1_link_active,
.ty_head_nav_l1_link:hover {
  color: var(--color-primary);
  background: #eff6ff;
}

.ty_head_nav_l1 .ty_head_nav_arrow,
.ty_head_nav_l2 .ty_head_nav_arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: transform var(--dur-fast);
}

.ty_head_nav_l1 .ty_head_nav_arrow::before,
.ty_head_nav_l2 .ty_head_nav_arrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -2px;
}

.ty_head_nav_l1.ty_head_nav_has_sub.open > .ty_head_nav_l1_link .ty_head_nav_arrow,
.ty_head_nav_l2.ty_head_nav_has_sub.open > .ty_head_nav_l2_link .ty_head_nav_arrow {
  transform: rotate(180deg);
}

.ty_head_nav_l2_container,
.ty_head_nav_l3_container {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height var(--dur) var(--ease-apple), opacity var(--dur-fast);
}

.ty_head_nav_l2_container.open,
.ty_head_nav_l3_container.open {
  max-height: 1200px;
  opacity: 1;
  margin: 4px 0 8px;
}

.ty_head_nav_l2_inner,
.ty_head_nav_l3_inner {
  padding-left: 16px;
  border-left: 2px solid #e2e8f0;
  margin-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ty_head_nav_l2_overview,
.ty_head_nav_l2_link,
.ty_head_nav_l3_overview,
.ty_head_nav_l3_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
  border-radius: var(--radius-sm);
}

.ty_head_nav_l2_overview:hover,
.ty_head_nav_l2_link:hover,
.ty_head_nav_l3_overview:hover,
.ty_head_nav_l3_link:hover {
  color: var(--color-primary);
  background: #f8fafc;
}

@media (max-width: 1024px) {
  .ty_head_pc {
    display: none;
  }
  .ty_head_mobile {
    display: block;
  }
}

/* ==========================================================================
   获取方案&报价 弹窗（2026-11-10 新增，用户确认样式）
   顶部"获取方案"按钮点击后在屏幕正中弹出；HTML 在 partial/quote_modal.html
   输入框外观与"联系我们"留言表单（ty_msg.css）一致
   ========================================================================== */
.ty_quote_mask {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.ty_quote_mask.is_open { opacity: 1; visibility: visible; }

.ty_quote_panel {
  position: relative;
  width: 100%; max-width: 520px;
  max-height: calc(100vh - 32px); overflow-y: auto; overflow-x: hidden;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  transform: translateY(12px) scale(.97); transition: transform .25s ease;
}
.ty_quote_mask.is_open .ty_quote_panel { transform: none; }

.ty_quote_close {
  position: absolute; top: 14px; right: 14px; z-index: 1;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #f1f5f9; border: 0; color: #64748b; cursor: pointer;
  transition: all .2s ease;
}
.ty_quote_close:hover { background: #e2e8f0; color: #0f172a; transform: rotate(90deg); }
.ty_quote_close svg { width: 16px; height: 16px; }

/* 顶部：标题 + 两个电话 */
.ty_quote_head {
  padding: 28px 32px 16px;
  background: linear-gradient(180deg, #eef5ff 0%, #ffffff 100%);
}
.ty_quote_title { margin: 0 0 20px; text-align: center; font-size: 22px; font-weight: 700; color: #0f172a; letter-spacing: .5px; }

.ty_quote_call_label { font-size: 13px; color: #334155; font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.ty_quote_call_label::before { content: ""; width: 4px; height: 14px; border-radius: 2px; background: linear-gradient(180deg, #0454dc, #0ea5e9); }

.ty_quote_calls { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ty_quote_call {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: #fff; border: 1px solid #dbe6f7; border-radius: 14px;
  text-decoration: none; transition: all .2s ease;
}
.ty_quote_call:hover { border-color: #0454dc; box-shadow: 0 6px 18px rgba(4, 84, 220, .12); transform: translateY(-1px); }
.ty_quote_call_ico {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0454dc 0%, #0ea5e9 100%); color: #fff;
}
.ty_quote_call_ico i { font-size: 18px; }
.ty_quote_call_txt { display: flex; flex-direction: column; min-width: 0; }
.ty_quote_call_type { font-size: 12px; color: #64748b; line-height: 1.4; }
.ty_quote_call_num { font-size: 17px; font-weight: 700; color: #0454dc; line-height: 1.35; font-variant-numeric: tabular-nums; white-space: nowrap; }

.ty_quote_or { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 13px; color: #94a3b8; }
.ty_quote_or::before, .ty_quote_or::after { content: ""; flex: 1; height: 1px; background: #e2e8f0; }

/* 表单 */
.ty_quote_body { padding: 8px 32px 28px; }
.ty_quote_form { display: grid; gap: 16px; margin: 0; }
.ty_quote_row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ty_quote_group { display: flex; flex-direction: column; gap: 7px; }
.ty_quote_label { font-size: 14px; font-weight: 600; color: #1e293b; }
.ty_quote_label em { font-style: normal; color: #ef4444; margin-left: 2px; }
.ty_quote_label small { font-weight: 400; color: #94a3b8; font-size: 12px; margin-left: 4px; }
.ty_quote_field {
  display: flex; align-items: center;
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px;
  transition: all .2s ease;
}
.ty_quote_field:focus-within { background: #fff; border-color: #0454dc; box-shadow: 0 0 0 4px rgba(4, 84, 220, .1); }
.ty_quote_field .ty_quote_fico { padding: 0 10px 0 14px; color: #64748b; display: flex; }
.ty_quote_field:focus-within .ty_quote_fico { color: #0454dc; }
/* 输入框默认有最小宽度，窄屏会把面板撑宽出现横向滑块；允许它们缩小 */
.ty_quote_row > *, .ty_quote_calls > *, .ty_quote_field { min-width: 0; }
.ty_quote_field input, .ty_quote_field textarea {
  min-width: 0; width: 100%; border: 0; background: transparent; outline: none; box-shadow: none;
  font: inherit; font-size: 15px; color: #0f172a;
  padding: 12px 14px 12px 2px;
}
.ty_quote_field textarea { padding: 12px 14px; min-height: 84px; resize: vertical; line-height: 1.6; }
.ty_quote_field.is_bad { border-color: #ef4444; background: #fff; box-shadow: 0 0 0 4px rgba(239, 68, 68, .1); }
.ty_quote_field.is_bad .ty_quote_fico { color: #ef4444; }

.ty_quote_captcha { display: flex; gap: 10px; align-items: stretch; }
.ty_quote_captcha .ty_quote_field { flex: 1; }
.ty_quote_captcha img { flex: none; height: 46px; border-radius: 10px; border: 1px solid #e2e8f0; cursor: pointer; background: #f8fafc; min-width: 110px; }
.ty_quote_refresh {
  flex: none; width: 46px; border-radius: 10px; border: 1px solid #e2e8f0; background: #fff; color: #334155; cursor: pointer; transition: all .2s ease;
}
.ty_quote_refresh:hover { border-color: #0454dc; color: #0454dc; background: #f0f6ff; }

.ty_quote_submit {
  margin-top: 4px; width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #0454dc 0%, #0ea5e9 100%); color: #fff;
  font: inherit; font-size: 16px; font-weight: 700;
  padding: 14px 24px; border: 0; border-radius: 9999px; cursor: pointer;
  box-shadow: 0 8px 20px rgba(4, 84, 220, .25); transition: all .25s ease;
}
.ty_quote_submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(4, 84, 220, .35); }
.ty_quote_submit[disabled] { opacity: .7; cursor: not-allowed; transform: none; }

.ty_quote_msg { display: none; padding: 10px 14px; border-radius: 10px; font-size: 14px; background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; text-align: center; }
.ty_quote_msg.is_show { display: block; }

/* 提交成功 */
.ty_quote_done { display: none; padding: 44px 32px 40px; text-align: center; }
.ty_quote_done_ico { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #ecfdf5; color: #10b981; }
.ty_quote_done_ico i { font-size: 30px; }
.ty_quote_done_title { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: #0f172a; }
.ty_quote_done_text { margin: 0 0 24px; font-size: 14px; color: #64748b; line-height: 1.7; }
.ty_quote_done .ty_quote_submit { width: auto; padding: 12px 36px; }
.ty_quote_panel.is_done .ty_quote_body, .ty_quote_panel.is_done .ty_quote_head { display: none; }
.ty_quote_panel.is_done .ty_quote_done { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; }

/* 手机：面板上下各留 5% 屏幕高度，多出来的高度给"简要描述"框；
   屏幕太矮时面板按内容高度，再矮才允许面板内部滚动 */
@media (max-width: 560px) {
  .ty_quote_mask { padding: 12px; }
  .ty_quote_panel {
    display: flex; flex-direction: column;
    min-height: min(90vh, 640px); min-height: min(90dvh, 640px);
    max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
    border-radius: 18px;
  }
  .ty_quote_close { top: 12px; right: 12px; width: 32px; height: 32px; }
  .ty_quote_head { flex: none; padding: clamp(20px, 4vh, 32px) 16px 10px; }
  .ty_quote_title { font-size: 22px; line-height: 1.5; letter-spacing: 1px; margin-bottom: clamp(14px, 3vh, 24px); }
  .ty_quote_call_label { font-size: 12px; margin-bottom: 8px; }
  .ty_quote_calls { gap: 8px; }
  /* 电话卡片：小图标 + "手机" 一行，号码一行，两张并排 */
  .ty_quote_call { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 6px; row-gap: 2px; padding: 8px 12px; border-radius: 12px; }
  .ty_quote_call_txt { display: contents; }
  .ty_quote_call_ico { width: 20px; height: 20px; }
  .ty_quote_call_ico i { font-size: 12px; }
  .ty_quote_call_num { grid-column: 1 / -1; font-size: 16px; }
  .ty_quote_body { flex: 1; display: flex; flex-direction: column; padding: 6px 16px 18px; }
  .ty_quote_or { margin-bottom: 12px; font-size: 12px; }
  .ty_quote_form { flex: 1; display: flex; flex-direction: column; gap: 12px; }
  .ty_quote_row { gap: 10px; }
  .ty_quote_group { gap: 6px; }
  .ty_quote_group.is_area { flex: 1; }
  .ty_quote_group.is_area .ty_quote_field { flex: 1; flex-direction: column; align-items: stretch; }
  .ty_quote_label { font-size: 13px; }
  .ty_quote_field .ty_quote_fico { padding: 0 8px 0 12px; }
  .ty_quote_field input { padding: 10px 10px 10px 2px; }
  .ty_quote_field textarea { flex: 1; min-height: 64px; padding: 10px 12px; resize: none; }
  .ty_quote_captcha { gap: 8px; }
  .ty_quote_captcha img { height: 44px; min-width: 100px; }
  .ty_quote_refresh { width: 44px; }
  .ty_quote_submit { margin-top: 0; padding: 12px 20px; font-size: 15px; }
}
