/* other-services-hub.css
   Page-specific layout for /germany-services/other/ hub pages (zh/en/de).
*/

.other-hub {
  display: grid;
  gap: var(--space-section);
}

.other-hub-hero {
  position: relative;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3.2vw, 32px);
  overflow: hidden;
  background:
    radial-gradient(860px 380px at 80% -8%, rgba(31, 111, 235, 0.18), rgba(31, 111, 235, 0) 65%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(224, 242, 255, 0.75));
  box-shadow: var(--shadow-md);
}

.other-hub-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(31, 111, 235, 0.20), rgba(31, 111, 235, 0.02) 70%);
  pointer-events: none;
}

.other-hub-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.58);
}

.other-hub-hero h1 {
  margin: 0;
  line-height: 1.15;
  font-size: clamp(28px, 4.6vw, 42px);
}

.other-hub-lead {
  margin: 14px 0 0;
  color: rgba(15, 23, 42, 0.78);
  max-width: 760px;
  line-height: 1.75;
}

.other-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.other-hub-meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.other-hub-meta span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.74);
  color: rgba(15, 23, 42, 0.84);
  font-size: 12px;
  font-weight: 650;
}

.service-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.service-card {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 16px;
  display: grid;
  gap: 10px;
  transition: transform var(--motion-fast) var(--ease-out), box-shadow var(--motion-fast) var(--ease-out), border-color var(--motion-fast) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 111, 235, 0.30);
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  border: 1px solid rgba(31, 111, 235, 0.22);
  background: rgba(31, 111, 235, 0.10);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  flex-shrink: 0;
}

.service-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.service-card p {
  margin: 0;
  color: rgba(15, 23, 42, 0.76);
  line-height: 1.7;
}

.service-card .btn {
  width: fit-content;
}

.hub-flow {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(224, 242, 255, 0.45));
  box-shadow: var(--shadow-sm);
  padding: clamp(16px, 2.8vw, 24px);
}

.hub-flow-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-top: 12px;
}

.hub-flow-card {
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  padding: 14px;
}

.hub-flow-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  margin-bottom: 8px;
  background: rgba(31, 111, 235, 0.14);
  border: 1px solid rgba(31, 111, 235, 0.22);
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
}

.hub-flow-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.hub-flow-card p {
  margin: 0;
  color: rgba(15, 23, 42, 0.72);
  line-height: 1.7;
}

.hub-faq {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: clamp(16px, 2.6vw, 22px);
}

.hub-faq-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.hub-faq-item {
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: var(--radius-md);
  background: rgba(248, 251, 255, 0.9);
  padding: 12px 14px;
}

.hub-faq-item h3 {
  margin: 0;
  font-weight: 760;
  color: rgba(15, 23, 42, 0.92);
}

.hub-faq-item p {
  margin-top: 8px;
  margin-bottom: 0;
  color: rgba(15, 23, 42, 0.74);
  line-height: 1.7;
}

@media (min-width: 860px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-flow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1160px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
