/* ==========================================================================
   视丰达 Camera - 官方质保服务体系页面 (warranty.css)
   ========================================================================== */

/* 1. 全局与通用变量配置 */
:root {
  --w-orange: #f96c05;
  --w-orange-hover: #e05e00;
  --w-orange-light: #fff7ed;
  --w-dark: #1f242d;
  --w-dark-card: #2b303b;
  --w-gray-bg: #f8fafc;
  --w-border: #e2e8f0;
  --w-text: #1e293b;
  --w-text-muted: #64748b;
}

.section-padding {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 768px) {
  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

/* 标题通用样式 */
.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--w-dark);
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  text-align: center;
  color: var(--w-text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

/* 2. Hero 区域：官方质保服务体系 (1:1 高保真还原) */
.warranty-hero-section {
  background: #ffffff;
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.hero-tag-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  margin-bottom: 0.25rem;
}

.bracket-quote {
  font-size: 3.5rem;
  font-weight: 900;
  color: #000000;
  line-height: 1;
  font-family: system-ui, -apple-system, sans-serif;
}

.highlight-text {
  font-size: 3.25rem;
  font-weight: 900;
  color: var(--w-orange);
  letter-spacing: 0.02em;
  line-height: 1;
}

.hero-main-title {
  font-size: 3rem;
  font-weight: 900;
  color: #111111;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  color: #666666;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 5rem;
}

.inspection-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.25rem;
  margin: 0 auto;
  padding-top: 1.5rem;
}

.inspection-card-v2 {
  background-color: #ededed;
  border-radius: 1.25rem;
  padding: 4.5rem 1rem 1.75rem 1rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.inspection-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.inspection-badge {
  position: absolute;
  top: -3.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 7rem;
}

.inspection-title-v2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #111111;
  line-height: 1.3;
  letter-spacing: 0.05em;
}

/* 3. 标准质保政策模块 & 退换货政策 (1:1 高保真还原) */
.standard-policy-section {
  background-color: #ffffff;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.policy-title-wrapper {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  margin-bottom: 3rem;
  /* max-width: 900px; */
  margin-left: auto;
  margin-right: auto;
}

.title-black-bar {
  width: 7px;
  background-color: #000000;
  border-radius: 4px;
  flex-shrink: 0;
}

.policy-title-text {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--w-orange);
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.policy-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  /* max-width: 900px; */
  margin: 0 auto;
}
@media (min-width: 768px) {
  .policy-grid-v2 {
    gap: 1rem;
  }
}
@media (min-width: 1024px) {
  .policy-grid-v2 {
    grid-template-columns: repeat(3, 1fr);
    gap: 10rem;
  }
}

.policy-card-v2 {
  background-color: #ededed;
  border-radius: 1.25rem;
  padding: 2.25rem 1.5rem 1.75rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.policy-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.policy-svg-icon {
  width: 5.5rem;
  height: 5.5rem;
  margin-bottom: 1rem;
}

.policy-card-title-v2 {
  font-size: 1.35rem;
  font-weight: 900;
  color: #111111;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

/* 4. OEM/ODM定制专属质保模块 (1:1 高保真还原) */
.oem-warranty-section {
  background-color: #ffffff;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.oem-title-v2 {
  font-size: 2.25rem;
  font-weight: 900;
  color: #111111;
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.oem-orange-line {
  width: 60px;
  height: 3px;
  background-color: var(--w-orange);
  margin: 0 auto 3rem auto;
  border-radius: 2px;
}

.oem-box-v2 {
  background-color: #3b3b3b;
  border-radius: 10px;
  padding: 3rem 1.5rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .oem-box-v2 {
    padding: 3.5rem 3rem;
  }
}

.oem-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.oem-item-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.oem-svg-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 0.85rem;
}

.oem-item-text-v2 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.03em;
}
@media (min-width: 768px) {
  .oem-item-text-v2 {
    font-size: 1.05rem;
  }
}

/* 5. 区域限制声明 (1:1 高保真还原) */
.region-notice-section {
  background-color: #ffffff;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.notice-capsule-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  /* max-width: 950px; */
  margin: 0 auto;
}

.notice-capsule-row {
  background-color: #ededed;
  border-radius: 9999px;
  padding: 0.6rem 1.75rem 0.6rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.notice-capsule-row:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.notice-pill-btn {
  min-width: 160px;
  padding: 0.85rem 1rem;
  border-radius: 9999px;
  text-align: center;
  color: #ffffff;
  font-weight: 800;
  background-color: #3b3b3b;
}
.notice-capsule-row:hover .notice-pill-btn{
  background: #ff6600;
  box-shadow: 0 4px 12px rgba(249, 72, 0, 0.25);
  transition: all .3s ease;
}

.notice-text-content {
  color: #222222;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.65;
  flex-grow: 1;
}

/* 6. 探鱼相机保养说明 (1:1 高保真还原) */
.maintenance-section {
  background-color: #ffffff;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.sub-title-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 900;
  color: #111111;
  margin-top: 2rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
  .sub-title-item {
    font-size: 1.35rem;
  }
}

.sub-title-bar {
  width: 5px;
  height: 1.2em;
  background-color: var(--w-orange);
  border-radius: 2px;
}

/* 镜头清洁表格卡片 */
.maintenance-table-card {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  margin-bottom: 0.75rem;
  background: #ffffff;
}

.table-top-bar {
  background-color: #f9fafb;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
}

.table-action-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: #9ca3af;
}
.table-action-icons i {
  cursor: pointer;
  transition: color 0.2s ease;
}
.table-action-icons i:hover {
  color: var(--w-orange);
}

.clean-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.clean-table th {
  background-color: #ffffff;
  color: #111827;
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #f3f4f6;
}

.clean-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f9fafb;
  color: #374151;
  line-height: 1.5;
}

.clean-table tr:last-child td {
  border-bottom: none;
}

.table-bold-step {
  font-weight: 700;
  color: #111827;
}

.table-bottom-notice {
  text-align: center;
  color: #9ca3af;
  font-size: 0.825rem;
  margin-top: 0.75rem;
  margin-bottom: 2rem;
}

/* 说明文字列表 */
.notice-text-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: #4b5563;
  font-size: 0.925rem;
  line-height: 1.6;
  padding-left: 0.25rem;
}
.notice-text-list span.prefix-bold {
  font-weight: 700;
  color: #1f2937;
}

/* 可收起/展开面板 */
.maintenance-expandable-content {
  max-height: 2000px;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, opacity 0.4s ease;
  opacity: 1;
}

.maintenance-expandable-content.collapsed {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

/* 查看更多按钮区 */
.view-more-wrapper {
  text-align: center;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
}


.view-more-btn-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #374151;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}
/* .view-more-wrapper:hover .view-more-btn-text {
  color: var(--w-orange);
} */

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* 7. 常见问题 FAQ (1:1 高保真还原 + 0 Gap 留白 Slide 下滑) */
.faq-section {
  background-color: #ffffff;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.faq-grid-v2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 2.5rem;
  /* max-width: 1050px; */
  /* margin: 0 auto; */
}
@media (min-width: 768px) {
  .faq-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq-item-v2 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* 默认收起状态：强行脱离 Grid 流，彻底消除 Grid 的 row-gap 空白留白 */
.faq-grid-v2:not(.is-expanded) .faq-item-v2:nth-child(n+7) {
  display: none !important;
}

/* 展开状态：恢复 Flex 布局并执行顺畅的 SlideDown 下拉滑出 */
.faq-grid-v2.is-expanded .faq-item-v2:nth-child(n+7) {
  display: flex !important;
  animation: slideDownFaq 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideDownFaq {
  0% {
    max-height: 0;
    opacity: 0;
    transform: translateY(-20px);
    margin-top: -1.5rem;
  }
  100% {
    max-height: 600px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 0;
  }
}

.faq-header-v2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-q-badge-v2 {
  background: linear-gradient(135deg, #ff6600 0%, #f94800 100%);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 900;
  padding: 0.25rem 0.65rem;
  border-radius: 0.35rem;
  border-bottom-right-radius: 0;
  line-height: 1.25;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(249, 72, 0, 0.25);
  position: relative;
  
}
.faq-q-badge-v2::after{
  content: "";
  position: absolute;
  bottom: 0;
  right: -6px;
  border-left: 6px solid #f94800;
  border-top: 5px solid transparent;
}

.faq-question-v2 {
  font-size: 1.2rem;
  font-weight: 900;
  color: #111111;
  letter-spacing: -0.01em;
}

.faq-answer-box-v2 {
  height: 100%;
  background-color: #ededed;
  border-radius: 0.85rem;
  padding: 1.25rem 1.35rem;
  color: #2b2b2b;
  font-size: 0.9rem;
  line-height: 1.65;
  font-weight: 500;
  text-align: justify;
}

.faq-orange-dot {
  color: var(--w-orange);
  font-size: 0.85rem;
  margin-right: 0.35rem;
  vertical-align: 1px;
}

/* 8. 客服咨询区 (1:1 高保真还原) */
.service-contact-section {
  background-color: #ffffff;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.contact-header-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 6rem auto;
}

.contact-title-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.title-big-hello {
  font-size: 3.5rem;
  font-weight: 900;
  color: #000000;
  line-height: 1;
}

.title-sub-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.title-question-text {
  font-size: 1.35rem;
  font-weight: 900;
  color: #111111;
  letter-spacing: -0.01em;
}

.title-desc-text {
  font-size: 0.95rem;
  color: #666666;
}

/* 右侧联系我们按钮 */
.contact-btn-wrapper {
  position: relative;
  display: inline-block;
}

.btn-contact-capsule {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #ff6600 0%, #f94800 100%);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 0.85rem 2.25rem;
  border-radius: 9999px;
  box-shadow: 0 6px 20px rgba(249, 72, 0, 0.35);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-contact-capsule:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(249, 72, 0, 0.45);
  color: #ffffff;
}

.hand-pointer-icon {
  position: absolute;
  bottom: -2.5rem;
  right: 4rem;
  font-size: 1.85rem;
  color: #222222;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  animation: pointerTap 1.5s infinite;
}

@keyframes pointerTap {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(0.95); }
}

/* 5位客服人员大圆角浅灰胶囊卡片 */
.avatars-capsule-box {
  background-color: #ededed;
  border-radius: 9999px;
  padding: 2.5rem 2rem;
  /* max-width: 950px; */
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  /* gap: 1.5rem; */
}
@media (max-width: 768px) {
  .avatars-capsule-box {
    border-radius: 2rem;
    padding: 2rem 1rem;
    row-gap: 2rem;
  }
}

.avatar-person-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.25s ease;
  margin-top: -4.5rem;
}
.avatar-person-card:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .avatar-person-card {
    margin-top:0;
  }
}

.avatar-circle-img {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 0.35rem;
}

.avatar-person-name {
  /* font-size: 1rem; */
  /* font-weight: 800; */
  color: #111111;
}

.chat-icon-orange {
  color: var(--w-orange);
  font-size: 1rem;
}

.chat-now-pill {
  background-color: #ffffff;
  color: #222222;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: all 0.2s ease;
}
.chat-now-pill:hover {
  background-color: var(--w-orange);
  color: #ffffff;
}

/* 9. 右侧常驻悬浮侧边栏 (1:1 高保真还原) */
.side-float-bar-v2 {
  position: fixed;
  right: 0;
  top: 55%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: end;
}

@media (max-width: 768px) {
  .side-float-bar-v2 {
    display: none;
  }
}

.float-top-kefu {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: 0.6rem;
}

.kefu-circle-box {
  width: 100px;
}

.kefu-circle-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-online-badge {
  background: linear-gradient(135deg, #ff6600 0%, #FFA768 100%);
  color: #ffffff;
  border-radius: 6px;
  margin-top: -18px;
  text-align: center;
  z-index: 1;
  position: relative;
}
.btn-online-badge:hover {
  color: #ffffff;
}

/* 下方紧密连接的橙色长方体菜单 */
.orange-float-menu {
  background: linear-gradient(180deg, #FE6A00 0%, #FFA768 100%);
  width: 100%;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}

.orange-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0.35rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: background-color 0.2s ease;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
}
.orange-menu-item:hover {
  background-color: rgba(0, 0, 0, 0.12);
  color: #ffffff;
}

.orange-menu-item i {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.orange-menu-item:last-child {
  border-bottom: none;
  padding: 0.6rem 0.35rem;
}

.arrow-icon-down {
  font-size: 1.2rem !important;
  margin-bottom: 0 !important;
}


@media (max-width: 768px) {
  .title-big-hello {
    font-size: 1.5rem;
    width: 1.6rem;
  }
  .title-question-text{
    font-size: 1.1rem;
  }
  .contact-title-left{
    gap: .5rem;
  }
  .btn-contact-capsule{
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    font-size: 1rem;
  }
  .hand-pointer-icon{
    display: none;
  }
  .contact-header-flex{
    margin: 0 auto 2rem auto;
  }
  .avatar-person-card{
    width: 33%;
  }
  .avatar-circle-img{
    width: 5rem;
    height: 5rem;
  }
  .notice-pill-btn{
    padding: 5px 0;
    font-size: .9rem;
    line-height: 1.5;
  }
  .notice-capsule-row{
    border-radius: 10px;
    gap: 0.6rem;
    padding: 0.6rem;
    flex-direction: column;
  }
  .inspection-badge{
    width: 5rem;
  }
  .hero-main-title {
    font-size: 2rem;
  }
  .highlight-text {
    font-size: 2.25rem;
  }
  .bracket-quote {
    font-size: 3rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 3rem;
  }
  .inspection-grid-v2 {
    /* grid-template-columns: repeat(4, 1fr); */
    gap: .5rem;
  }
  .inspection-card-v2{
    border-radius: 0.25rem;
    padding: 2rem 0rem 1.25rem 0rem;
  }
  .inspection-title-v2{
    font-size: 1.2rem;
  }
  .policy-title-text {
    font-size: 1.75rem;
  }
  .standard-policy-section,.oem-warranty-section,.region-notice-section,.maintenance-section,.faq-section{
    padding-top: 0;
  }
  .policy-grid-v2{
    gap: 0.5rem;
  }
  .policy-card-v2{
    padding: .5rem;
    min-height: 8rem;
  }
  .policy-svg-icon{
    width: 4rem;
    height: 4rem;
  }
  .policy-card-title-v2{
    font-size: 1rem;
  }
  .oem-title-v2 {
    font-size: 1.75rem;
  }
  .oem-box-v2{
    padding: 1rem 0.5rem;
  }
  .oem-grid-v2{
    gap: .5rem;
  }
  .oem-svg-icon{
    width: 3rem;
    height: 3rem;
  }
  .oem-item-text-v2{
    font-size: .8rem;
  }
  .notice-text-content{
    font-size: .8rem;
  }
  .sub-title-item{
    margin-top: 0;
  }
  .oem-orange-line{
    margin-bottom: 1.5rem;
  }
  .faq-answer-box-v2{
    padding: 1rem;
  }
  .service-contact-section{
    padding-top: 0;
    padding-bottom: 3rem;
  }
  .inspection-badge{
    width: 90%;
  }
  .clean-table th,.clean-table td{
    padding: .5rem;
  }
  .view-more-wrapper{
    margin-top: 1rem;
  }
  .view-more-wrapper img{
    width: 25%;
  }
}