/* ============================================================
   style-enterprise.css — 企业官网定制（独立布局：圆图左右 + 模块圆阵）
   OMICA 网站建设 · 极简卫浴风
   ============================================================ */

/* ---------- Hero：左圆图右文 ---------- */
.en-hero {
  position: relative;
  background: var(--white);
  padding: 178px 0 84px;
  overflow: hidden;
}
.en-hero::before {
  content: "";
  position: absolute;
  right: -220px; top: -220px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(27,27,27,.06), transparent 62%);
  pointer-events: none;
}
.en-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: center; }
.en-hero-media { position: relative; justify-self: center; }
.en-photo-ring {
  width: min(400px, 40vw);
  height: min(400px, 40vw);
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  position: relative;
  box-shadow: var(--shadow-md);
}
.en-photo-ring img { width: 100%; height: 100%; object-fit: cover; }
.en-photo-ring::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
}
.en-photo-tag {
  position: absolute;
  right: -14px; bottom: 20px;
  width: 130px; height: 130px;
  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);
}
.en-photo-tag b { font-size: 26px; font-weight: 800; }
.en-photo-tag span { font-size: 11.5px; color: #CFCFCA; margin-top: 2px; letter-spacing: .12em; }
.en-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .34em;
  color: var(--gray-600);
  margin-bottom: 24px;
}
.en-hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--ink); }
.en-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--ink); line-height: 1.28; }
.en-hero-desc { margin: 24px 0 34px; font-size: 16px; line-height: 2; color: var(--ink-mute); max-width: 540px; }

/* ---------- 适合谁 ---------- */
.en-who { background: var(--gray-50); overflow: hidden; position: relative; }
.en-who::before {
  content: "";
  position: absolute;
  left: -160px; bottom: -160px;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,27,27,.05), transparent 62%);
  pointer-events: none;
}
.en-who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; z-index: 2; }
.en-who-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 34px 28px; transition: all var(--transition); }
.en-who-card:nth-child(2) { transform: translateY(28px); }
.en-who-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.en-who-card:nth-child(2):hover { transform: translateY(-4px); }
.en-who-ico {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gray-50);
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-bottom: 20px;
  position: relative;
  transition: all var(--transition);
}
.en-who-card:hover .en-who-ico { background: var(--ink); color: #fff; }
.en-who-card h3 { font-size: 17px; color: var(--ink); font-weight: 700; margin-bottom: 10px; }
.en-who-card p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.85; }

/* ---------- 标准模块 ---------- */
.en-mod { background: var(--white); position: relative; overflow: hidden; }
.en-mod::after {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1px dashed var(--gray-300);
  pointer-events: none;
}
.en-mod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 2; }
.en-mod-card { text-align: center; padding: 30px 22px; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); background: var(--gray-50); transition: all var(--transition); }
.en-mod-card:nth-child(2), .en-mod-card:nth-child(4) { transform: translateY(24px); }
.en-mod-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.en-mod-card:nth-child(2):hover, .en-mod-card:nth-child(4):hover { transform: translateY(-4px); }
.en-mod-circle {
  width: 84px; height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  position: relative;
}
.en-mod-circle::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed var(--gray-300);
  animation: enSpin 40s linear infinite;
}
@keyframes enSpin { to { transform: rotate(360deg); } }
.en-mod-card h3 { font-size: 16px; color: var(--ink); font-weight: 700; margin-bottom: 10px; }
.en-mod-card p { font-size: 13px; color: var(--ink-mute); line-height: 1.8; }

/* ---------- 区别 ---------- */
.en-diff { background: var(--gray-50); position: relative; overflow: hidden; }
.en-diff::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,27,27,.05), transparent 64%);
  pointer-events: none;
}
.en-diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; position: relative; z-index: 2; }
.en-diff-col { border-radius: var(--radius-lg); padding: 38px 34px; }
.en-diff-col.a { background: #fff; border: 1px solid var(--gray-200); }
.en-diff-col.b { background: var(--ink); }
.en-diff-col.b::before { content: ""; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.en-diff-col h3 { font-size: 19px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; position: relative; }
.en-diff-col.a h3 { color: var(--ink); }
.en-diff-col.b h3 { color: #fff; }
.en-diff-col p { font-size: 14px; line-height: 1.95; position: relative; }
.en-diff-col.a p { color: var(--ink-mute); }
.en-diff-col.b p { color: #E4E4DF; }
.en-diff-col a { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 700; position: relative; }
.en-diff-col.a a { color: var(--ink); border-bottom: 1px solid var(--gray-400); }
.en-diff-col.b a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); }

/* ---------- 案例入口 ---------- */
.en-case { background: var(--white); position: relative; overflow: hidden; }
.en-case::after {
  content: "";
  position: absolute;
  left: -120px; top: 40px;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px dashed var(--gray-300);
  pointer-events: none;
}
.en-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 2; }
.en-case-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); aspect-ratio: 3/2; display: block; }
.en-case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.en-case-card:hover img { transform: scale(1.06); }
.en-case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(27,27,27,.45));
}
.en-case-card figcaption { position: absolute; left: 20px; bottom: 16px; color: #fff; z-index: 2; font-size: 15px; font-weight: 700; }

/* ---------- CTA（本页专属） ---------- */
.en-sec-cta { background: var(--ink); color: #fff; overflow: hidden; }
.en-sec-cta::before {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 64%);
  pointer-events: none;
}
.en-sec-cta::after {
  content: "";
  position: absolute;
  left: 8%; bottom: -160px;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.15);
  pointer-events: none;
}
.en-sec-cta .cta-inner p { color: rgba(255,255,255,.72); }
.en-sec-cta .cta-contact { color: rgba(255,255,255,.85); }
.en-sec-cta .cta-contact a { color: #fff; }
.en-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) {
  .en-hero { padding-top: 148px; }
  .en-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .en-photo-ring { width: min(340px, 72vw); height: min(340px, 72vw); }
  .en-who-grid { grid-template-columns: 1fr; }
  .en-who-card:nth-child(2) { transform: none; }
  .en-mod-grid { grid-template-columns: repeat(2, 1fr); }
  .en-mod-card:nth-child(2), .en-mod-card:nth-child(4) { transform: none; }
  .en-diff-grid { grid-template-columns: 1fr; }
  .en-case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .en-hero { padding: 132px 0 56px; }
  .en-mod-grid { grid-template-columns: 1fr; }
}
