/* ============================================================
   sgscpa.com — 盛工财税建服  HOMEPAGE ONLY
   硬朗折线柔性分割 · 科技蓝 + 浅冰蓝 + 纯白
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 0px);
  padding-top: 140px;
  padding-bottom: 80px;
  background: linear-gradient(160deg, #0A2463 0%, #1E40AF 35%, #3B82F6 70%, #93C5FD 100%);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230, 244, 255, 0.28) 0%, rgba(240, 248, 255, 0.12) 40%, rgba(255, 255, 255, 0.04) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 36, 99, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-blob.b1 {
  width: 520px;
  height: 520px;
  top: -120px;
  right: -160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  filter: blur(8px);
}

.hero-blob.b2 {
  width: 380px;
  height: 380px;
  bottom: -100px;
  left: -80px;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.35) 0%, transparent 70%);
  filter: blur(6px);
}

.hero-blob.b3 {
  width: 260px;
  height: 260px;
  top: 40%;
  right: 22%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  filter: blur(10px);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-inner {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: var(--container);
  margin-inline: auto;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 28px;
  font-weight: 500;
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

.hero-text h1 {
  font-size: 52px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-text h1 .grad {
  background: linear-gradient(90deg, #FFFFFF 0%, #BFDBFE 60%, #DBEAFE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--blue-700);
  font-weight: 600;
  font-size: 14.5px;
  transition: all 0.3s var(--ease);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 14.5px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  flex-wrap: wrap;
}

.hero-stats .stat strong {
  display: block;
  font-size: 38px;
  font-weight: 700;
  color: var(--white);
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1;
  letter-spacing: 1px;
}

.hero-stats .stat span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 8px;
  letter-spacing: 1px;
}

.hero-visual {
  flex: 1;
  position: relative;
  min-width: 0;
}

.hero-mock-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  transform: perspective(1200px) rotateY(-6deg) rotateX(4deg);
  transition: transform 0.5s var(--ease);
}

.hero-mock-card:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(2deg);
}

.hero-mock-card .card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 20px;
}

.hero-mock-card .dot-red,
.hero-mock-card .dot-yellow,
.hero-mock-card .dot-green {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero-mock-card .dot-red { background: #FF5F57; }
.hero-mock-card .dot-yellow { background: #FEBC2E; }
.hero-mock-card .dot-green { background: #28C840; }

.hero-mock-card .mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.hero-mock-card .mock-row:last-child {
  border-bottom: none;
}

.hero-mock-card .mock-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.hero-mock-card .mock-val {
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  font-family: "Georgia", serif;
}

.hero-mock-card .mock-val.up { color: #86EFAC; }
.hero-mock-card .mock-val.down { color: #FCA5A5; }

.hero-mock-card .mock-chart {
  margin-top: 18px;
  height: 90px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.hero-mock-card .mock-chart::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%),
    linear-gradient(135deg, transparent 60%, rgba(255, 255, 255, 0.25) 70%, transparent 80%),
    linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.3) 40%, transparent 50%);
  background-size: 80px 80px, 60px 60px, 100px 100px;
  background-position: 0 60%, 20% 30%, 40% 80%;
  background-repeat: no-repeat;
}

.hero-float-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatY 4s ease-in-out infinite;
}

.hero-float-badge.fb1 {
  top: -30px;
  left: -50px;
  animation-delay: 0s;
}

.hero-float-badge.fb2 {
  bottom: -20px;
  right: -20px;
  animation-delay: 1.5s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-float-badge .fb-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-float-badge.fb1 .fb-ico {
  background: linear-gradient(135deg, #1677FF 0%, #4096FF 100%);
}

.hero-float-badge.fb2 .fb-ico {
  background: linear-gradient(135deg, #00B42A 0%, #34D399 100%);
}

.hero-float-badge .fb-ico svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

.hero-float-badge .fb-text strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  font-weight: 700;
}

.hero-float-badge .fb-text span {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Zigzag Divider ---------- */
.zigzag-divider {
  position: relative;
  width: 100%;
  height: 60px;
  background: var(--white);
  z-index: 5;
}

.zigzag-divider::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  clip-path: polygon(
    0% 100%,
    0% 30%,
    5% 15%,
    10% 35%,
    15% 15%,
    20% 38%,
    25% 15%,
    30% 40%,
    35% 15%,
    40% 38%,
    45% 15%,
    50% 42%,
    55% 15%,
    60% 38%,
    65% 15%,
    70% 40%,
    75% 15%,
    80% 38%,
    85% 15%,
    90% 35%,
    95% 15%,
    100% 30%,
    100% 100%
  );
}

.zigzag-divider.flip::after {
  clip-path: polygon(
    0% 0%,
    0% 70%,
    5% 85%,
    10% 65%,
    15% 85%,
    20% 62%,
    25% 85%,
    30% 60%,
    35% 85%,
    40% 62%,
    45% 85%,
    50% 58%,
    55% 85%,
    60% 62%,
    65% 85%,
    70% 60%,
    75% 85%,
    80% 62%,
    85% 85%,
    90% 65%,
    95% 85%,
    100% 70%,
    100% 0%
  );
}

/* ---------- Decorative Blur Orbs ---------- */
.blur-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.blur-deco.b1 {
  width: 420px;
  height: 420px;
  top: -100px;
  left: -120px;
  background: radial-gradient(circle, rgba(22, 119, 255, 0.08) 0%, transparent 70%);
}

.blur-deco.b2 {
  width: 360px;
  height: 360px;
  bottom: -80px;
  right: -100px;
  background: radial-gradient(circle, rgba(64, 150, 255, 0.08) 0%, transparent 70%);
}

.blur-deco.b3 {
  width: 280px;
  height: 280px;
  top: 40%;
  right: 10%;
  background: radial-gradient(circle, rgba(179, 212, 255, 0.12) 0%, transparent 70%);
}

/* ---------- Adv Grid ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.adv-card {
  background: var(--white);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--line);
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}

.adv-no {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 28px;
  font-weight: 700;
  color: var(--blue-100);
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1;
  letter-spacing: 1px;
}

.adv-ico {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--ice-100) 0%, var(--ice-50) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--ice-200);
}

.adv-ico svg {
  width: 26px;
  height: 26px;
  color: var(--blue-500);
}

.adv-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.adv-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

/* ---------- Service Hero Row ---------- */
.service-hero-row {
  display: flex;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.service-hero-row.flip {
  flex-direction: row-reverse;
}

.svc-media {
  flex: 1;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  box-shadow: var(--shadow-md);
}

.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-hero-row:hover .svc-media img {
  transform: scale(1.05);
}

.svc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22, 119, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.svc-body {
  flex: 1;
  min-width: 0;
}

.svc-step {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-600);
  font-weight: 600;
  margin-bottom: 14px;
  padding: 4px 14px;
  background: var(--ice-100);
  border-radius: var(--r-pill);
}

.svc-body h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.3;
}

.svc-body p {
  color: var(--body);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 24px;
}

.svc-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.svc-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--body);
}

.svc-points li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--blue-500);
}

.btn-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--blue-600);
  font-weight: 600;
  font-size: 14px;
  border: 1.5px solid var(--blue-400);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.btn-soft:hover {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
  transform: translateY(-2px);
}

/* ---------- Cat Grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.cat-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  border: 1px solid var(--line);
  transition: all 0.35s var(--ease);
  text-align: center;
  cursor: pointer;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-300);
}

.cat-ico {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--ice-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border: 1px solid var(--ice-200);
}

.cat-ico svg {
  width: 30px;
  height: 30px;
  color: var(--blue-500);
}

.cat-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.cat-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ---------- News List Wrap ---------- */
.news-list-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.news-item {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.news-item .n-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}

.news-item .n-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.news-item:hover .n-thumb img {
  transform: scale(1.06);
}

.news-item .n-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  background: rgba(22, 119, 255, 0.9);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 1px;
  border-radius: var(--r-pill);
  font-weight: 600;
}

.news-item .n-body {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-item .n-body h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.5;
  transition: color 0.3s var(--ease);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item:hover .n-body h4 {
  color: var(--blue-600);
}

.news-item .n-body .n-excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item .n-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--light);
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.news-item .n-foot .date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-item .n-foot .more {
  color: var(--blue-500);
  font-weight: 600;
}

/* ---------- CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-500) 100%);
  color: var(--white);
  border-radius: 20px;
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}

.cta-band::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.25) 0%, transparent 70%);
}

.cta-band h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  margin: 0;
  position: relative;
  z-index: 2;
}

.cta-band .cta-text {
  position: relative;
  z-index: 2;
}

.cta-band .cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1.5px solid var(--white);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.btn-ghost-white:hover {
  background: var(--white);
  color: var(--blue-600);
  transform: translateY(-2px);
}

/* ---------- Process Row ---------- */
.process-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
  position: relative;
  z-index: 1;
}

.process-row::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--blue-200) 10%,
    var(--blue-300) 25%,
    var(--blue-200) 40%,
    var(--blue-300) 55%,
    var(--blue-200) 70%,
    var(--blue-300) 85%,
    transparent 100%
  );
  z-index: 0;
}

.process-row::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 10px;
  background:
    linear-gradient(135deg, transparent 40%, var(--blue-200) 50%, transparent 60%) 0 0 / 40px 10px repeat-x;
  z-index: 0;
  opacity: 0.5;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 12px;
}

.process-step .step-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 22px;
  font-weight: 700;
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--blue-600);
  position: relative;
  z-index: 2;
  transition: all 0.4s var(--ease);
}

.process-step:hover .step-circle {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-500) 100%);
  color: var(--white);
  border-color: var(--blue-600);
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(22, 119, 255, 0.3);
}

.process-step h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.process-step p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
  padding: 0 6px;
}

/* ---------- Case Strip ---------- */
.case-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.case-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.35s var(--ease);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.case-card .case-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.case-card .case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.case-card:hover .case-media img {
  transform: scale(1.06);
}

.case-card .case-body {
  padding: 18px 20px;
}

.case-card .case-body h5 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-card .case-body span {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Dual CTA ---------- */
.dual-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.dual-cta .cta-card {
  border-radius: 20px;
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);
}

.dual-cta .cta-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.dual-cta .cta-card.services {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 100%);
  color: var(--white);
}

.dual-cta .cta-card.consult {
  background: var(--white);
  border: 1px solid var(--line);
}

.dual-cta .cta-card::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  top: -60px;
  right: -60px;
}

.dual-cta .cta-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.dual-cta .cta-card.services h3 {
  color: var(--white);
}

.dual-cta .cta-card.consult h3 {
  color: var(--ink);
}

.dual-cta .cta-card p {
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.dual-cta .cta-card.services p {
  color: rgba(255, 255, 255, 0.85);
}

.dual-cta .cta-card.consult p {
  color: var(--muted);
}

.dual-cta .cta-card .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.dual-cta .cta-card.services .cta-btn {
  background: var(--white);
  color: var(--blue-700);
}

.dual-cta .cta-card.services .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.dual-cta .cta-card.consult .cta-btn {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-500) 100%);
  color: var(--white);
}

.dual-cta .cta-card.consult .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 119, 255, 0.3);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .hero-text h1 { font-size: 42px; }
  .hero-stats { gap: 36px; }
  .hero-stats .stat strong { font-size: 32px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .news-list-wrap { grid-template-columns: repeat(2, 1fr); }
  .case-strip { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 30px; }
  .cta-band .cta-actions { justify-content: center; }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 110px;
    padding-bottom: 60px;
    min-height: auto;
  }
  .hero-inner {
    flex-direction: column;
    gap: 40px;
  }
  .hero-visual {
    width: 100%;
    max-width: 440px;
  }
  .hero-mock-card {
    transform: none;
  }
  .hero-text h1 { font-size: 36px; }
  .hero-sub { font-size: 15px; }
  .service-hero-row {
    flex-direction: column;
    gap: 36px;
  }
  .service-hero-row.flip {
    flex-direction: column;
  }
  .svc-media { width: 100%; }
  .svc-body h2 { font-size: 26px; }
  .process-row {
    flex-wrap: wrap;
    gap: 30px;
  }
  .process-row::before,
  .process-row::after {
    display: none;
  }
  .process-step {
    flex: 0 0 50%;
  }
  .dual-cta { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-text h1 { font-size: 30px; letter-spacing: 0.5px; }
  .hero-stats { gap: 24px; }
  .hero-stats .stat strong { font-size: 26px; }
  .adv-grid { grid-template-columns: 1fr; gap: 16px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .news-list-wrap { grid-template-columns: 1fr; }
  .case-strip { grid-template-columns: 1fr; }
  .process-step { flex: 0 0 100%; }
  .cta-band h3 { font-size: 22px; }
  .dual-cta .cta-card { padding: 34px 26px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 90px; padding-bottom: 50px; }
  .hero-text h1 { font-size: 26px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline-white { width: 100%; justify-content: center; }
  .hero-float-badge.fb1 { left: -20px; }
  .hero-float-badge.fb2 { right: 0; }
  .cat-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; }
}
