/* =========================================================
   OMICA 网站建设 · 首页独有样式 style-index.css
   圆形渐变嵌套布局 · 极简卫浴风
   ========================================================= */

/* ---------- Hero：全屏 Banner + 文字动画 + 圆形嵌套 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
  background: var(--white);
}
/* 背景大圆形渐变层（明度渐变，黑灰白） */
.hero::before {
  content: "";
  position: absolute;
  width: 920px; height: 920px;
  left: -360px; top: -280px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(27,27,27,.07), rgba(27,27,27,.02) 45%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  right: -260px; bottom: -300px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(27,27,27,.05), transparent 65%);
  pointer-events: none;
}
/* 嵌套圆环装饰组（缓慢自转） */
.hero-rings { position: absolute; right: -80px; top: 90px; width: 660px; height: 660px; pointer-events: none; }
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.hero-ring.r1 { width: 660px; height: 660px; animation: spin 60s linear infinite; border-color: var(--gray-200); }
.hero-ring.r2 { width: 500px; height: 500px; border-style: dashed; animation: spin 46s linear infinite reverse; }
.hero-ring.r3 { width: 340px; height: 340px; animation: spin 34s linear infinite; border-color: var(--gray-300); }
.hero-ring.r4 { width: 120px; height: 120px; border: 1px solid var(--ink); animation: breath 5s ease-in-out infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes breath { 0%,100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.12); } }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

/* 左侧文案 */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: .22em;
  color: var(--gray-600);
  margin-bottom: 26px;
}
.hero-kicker::before { content: ""; width: 44px; height: 1px; background: var(--ink); }
.hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--ink);
}
.hero h1 .hl { display: block; }
.hero h1 .hl-sub { display: block; color: var(--gray-600); font-weight: 500; font-size: clamp(22px, 2.6vw, 32px); margin-top: 14px; }
/* 文字动画：逐行上浮 */
.anim-line { opacity: 0; transform: translateY(34px); animation: lineUp .9s cubic-bezier(.22,.61,.36,1) forwards; }
.anim-line.d1 { animation-delay: .15s; }
.anim-line.d2 { animation-delay: .38s; }
.anim-line.d3 { animation-delay: .6s; }
.anim-line.d4 { animation-delay: .8s; }
@keyframes lineUp { to { opacity: 1; transform: none; } }

.hero-desc {
  margin: 26px 0 34px;
  font-size: 17px;
  color: var(--ink-mute);
  max-width: 30em;
  line-height: 1.9;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
.hero-contact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-contact .tel-label { font-size: 13px; color: var(--gray-500); letter-spacing: .1em; }
.hero-contact a.tel { font-size: 30px; font-weight: 700; letter-spacing: .02em; color: var(--ink); }
.hero-contact .tel-tip { font-size: 13px; color: var(--gray-500); }

/* 右侧：大圆图 + 嵌套环 */
.hero-media { position: relative; display: flex; justify-content: center; }
.hero-circle {
  position: relative;
  width: min(480px, 44vw);
  height: min(480px, 44vw);
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
}
.hero-circle img { width: 100%; height: 100%; object-fit: cover; }
.hero-circle::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55);
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: floatY 5s ease-in-out infinite;
  z-index: 3;
}
.hero-badge.b1 { left: -34px; bottom: 26px; }
.hero-badge.b2 { right: -26px; top: 40px; width: 118px; height: 118px; background: #fff; color: var(--ink); border: 1px solid var(--gray-300); animation-delay: -2.2s; }
.hero-badge b { font-size: 34px; font-weight: 800; line-height: 1; }
.hero-badge span { font-size: 12px; letter-spacing: .18em; margin-top: 6px; opacity: .82; }
.hero-badge em { font-style: normal; font-size: 13px; margin-top: 3px; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- 数据条 ---------- */
.stats-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--gray-50); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  padding: 34px 28px;
  text-align: center;
  position: relative;
}
.stat-item + .stat-item::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.stat-item b { display: block; font-size: 40px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.stat-item b i { font-style: normal; font-size: 20px; margin-left: 3px; }
.stat-item span { display: block; margin-top: 8px; font-size: 14px; color: var(--gray-600); letter-spacing: .08em; }

/* ---------- 通用小节头 ---------- */
.sec { padding: 96px 0; position: relative; }
.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .26em;
  color: var(--gray-600);
  margin-bottom: 16px;
}
.sec-tag::before { content: ""; width: 26px; height: 1px; background: var(--ink); }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: var(--ink); line-height: 1.25; }
.sec-head p { margin-top: 16px; font-size: 16px; color: var(--ink-mute); line-height: 1.9; }

/* ---------- 核心优势（错位圆卡） ---------- */
.adv-sec { background: var(--white); overflow: hidden; }
.adv-sec::before {
  content: "";
  position: absolute;
  right: -300px; top: 60px;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(27,27,27,.06), transparent 62%);
  pointer-events: none;
}
.adv-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}
.adv-card:nth-child(even) { transform: translateY(26px); }
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: #fff; }
.adv-card:hover:nth-child(even) { transform: translateY(20px); }
.adv-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.adv-card h3 { font-size: 19px; color: var(--ink); font-weight: 700; margin-bottom: 12px; }
.adv-card p { font-size: 14.5px; color: var(--ink-mute); line-height: 1.85; }
.adv-card .adv-num {
  position: absolute;
  right: 18px; top: 14px;
  font-size: 46px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--gray-300);
}

/* ---------- 服务预览（图片大卡） ---------- */
.svc-sec { background: var(--gray-50); }
.svc-sec::after {
  content: "";
  position: absolute;
  left: -240px; bottom: -200px;
  width: 560px; height: 560px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  pointer-events: none;
}
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.svc-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.svc-img { position: relative; height: 216px; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.svc-card:hover .svc-img img { transform: scale(1.06); }
.svc-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(27,27,27,.28));
}
.svc-no {
  position: absolute;
  left: 20px; bottom: 16px;
  z-index: 2;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .04em;
}
.svc-body { padding: 24px 26px 26px; }
.svc-body h3 { font-size: 19px; color: var(--ink); font-weight: 700; margin-bottom: 10px; }
.svc-body p { font-size: 14px; color: var(--ink-mute); line-height: 1.8; margin-bottom: 16px; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink); font-weight: 600; }
.svc-more svg { transition: transform var(--transition); }
.svc-more:hover svg { transform: translateX(4px); }
.sec-foot-link { text-align: center; margin-top: 44px; }

/* ---------- 行业入口（圆形图阵） ---------- */
.ind-sec { background: var(--white); overflow: hidden; }
.ind-sec::before {
  content: "";
  position: absolute;
  left: 50%; top: -340px;
  width: 760px; height: 760px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,27,27,.05), transparent 60%);
  pointer-events: none;
}
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; position: relative; }
.ind-item { text-align: center; }
.ind-circle {
  width: 132px; height: 132px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.ind-circle img { width: 100%; height: 100%; object-fit: cover; }
.ind-circle::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6);
  transition: inset var(--transition);
}
.ind-item:hover .ind-circle { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ind-item:hover .ind-circle::after { inset: 11px; }
.ind-item h3 { font-size: 16px; color: var(--ink); font-weight: 600; }
.ind-item p { font-size: 12.5px; color: var(--gray-500); margin-top: 4px; }

/* ---------- 快速入口 ---------- */
.quick-sec { background: var(--gray-50); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quick-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 24px 26px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.quick-tile::before {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,27,27,.05), transparent 70%);
  transition: transform var(--transition);
}
.quick-tile:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.quick-tile:hover::before { transform: scale(1.6); }
.quick-tile .qt-info h3 { font-size: 17px; color: var(--ink); font-weight: 700; }
.quick-tile .qt-info p { font-size: 13px; color: var(--gray-500); margin-top: 3px; }
.quick-tile .qt-arrow { color: var(--ink); flex-shrink: 0; }

/* ---------- 建站流程（圆环节点时间线） ---------- */
.flow-sec { background: var(--white); overflow: hidden; }
.flow-sec::before {
  content: "";
  position: absolute;
  left: -220px; top: 120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(27,27,27,.05), transparent 62%);
  pointer-events: none;
}
.flow-line { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; margin-top: 20px; }
.flow-line::before {
  content: "";
  position: absolute;
  left: 6%; right: 6%; top: 34px;
  height: 1px;
  background: var(--gray-300);
}
.flow-step { text-align: center; position: relative; z-index: 1; }
.flow-dot {
  width: 68px; height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-600);
  position: relative;
  transition: all var(--transition);
}
.flow-step:hover .flow-dot { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-4px); box-shadow: var(--shadow-md); }
.flow-step h3 { font-size: 15px; color: var(--ink); font-weight: 600; }
.flow-step p { font-size: 12.5px; color: var(--gray-500); margin-top: 6px; line-height: 1.6; }

/* ---------- 资讯列表（CMS 四组标签，无小标题） ---------- */
.news-sec { background: var(--gray-50); overflow: hidden; }
.news-sec::after {
  content: "";
  position: absolute;
  right: -180px; bottom: -180px;
  width: 460px; height: 460px;
  border-radius: 50%;
  border: 1px dashed var(--gray-300);
  pointer-events: none;
}
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.news-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card-img { display: block; height: 178px; overflow: hidden; position: relative; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(27,27,27,.2));
}
.news-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.news-card-body h3 { font-size: 16.5px; color: var(--ink); font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.news-card-body h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-card-body p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.news-card-body time { display: block; margin-top: 14px; font-size: 12.5px; color: var(--gray-500); letter-spacing: .06em; }

/* ---------- 客户评价 ---------- */
.quote-sec { background: var(--white); overflow: hidden; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  position: relative;
  background: var(--gray-50);
}
.quote-card::before {
  content: "“";
  position: absolute;
  left: 26px; top: 8px;
  font-size: 74px;
  font-weight: 800;
  color: var(--gray-300);
  line-height: 1;
}
.quote-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.95; margin: 18px 0 22px; }
.quote-who { display: flex; align-items: center; gap: 12px; }
.quote-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}
.quote-who b { display: block; font-size: 14px; color: var(--ink); }
.quote-who span { font-size: 12.5px; color: var(--gray-500); }

/* ---------- CTA ---------- */
.cta-sec { background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.cta-sec::before {
  content: "";
  position: absolute;
  right: -180px; top: -180px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.07), transparent 65%);
}
.cta-sec::after {
  content: "";
  position: absolute;
  left: -120px; bottom: -220px;
  width: 460px; height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
}
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 760px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; line-height: 1.3; }
.cta-inner p { margin: 20px 0 34px; font-size: 16px; color: rgba(255,255,255,.72); line-height: 1.9; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.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; }
.cta-contact { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 40px; font-size: 15px; color: rgba(255,255,255,.85); }
.cta-contact a { color: #fff; font-weight: 700; font-size: 19px; }
.cta-contact a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero { padding-top: 130px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { order: -1; }
  .hero-circle { width: min(380px, 72vw); height: min(380px, 72vw); }
  .hero-rings { display: none; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-card:nth-child(even) { transform: none; }
  .adv-card:hover:nth-child(even) { transform: translateY(-6px); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-line { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .flow-line::before { display: none; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding-top: 116px; padding-bottom: 60px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3)::before { display: none; }
  .stat-item { padding: 24px 16px; }
  .stat-item b { font-size: 30px; }
  .adv-grid, .svc-grid, .ind-grid, .quick-grid, .news-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .sec { padding: 64px 0; }
  .hero-badge.b1 { left: -10px; width: 120px; height: 120px; }
  .hero-badge.b2 { right: -8px; }
}
