:root {
  --gov-blue: #0b5cab;
  --gov-blue-2: #1b78d0;
  --gov-bg-soft: #f4f8ff;
  --gov-border: #dbe6f3;
}

.page-shell {
  padding: 2rem 0 3rem;
}

.page-hero {
  background: linear-gradient(135deg, #0b5cab 0%, #1b78d0 100%);
  color: #fff;
  border-radius: 14px;
  padding: 1.4rem 1.2rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 12px 28px rgba(11, 92, 171, 0.22);
}

.page-hero h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
}

.page-hero p {
  margin: 0;
  opacity: 0.95;
}

.journey-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #e8f2fc;
  color: #0a3f78;
  border-radius: 999px;
  padding: .35rem .8rem;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: .75rem;
}

.journey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1.25rem;
  align-items: start;
}

.journey-panel-sticky {
  position: sticky;
  top: 96px;
}

.journey-summary {
  display: grid;
  gap: .75rem;
  margin-top: .75rem;
}

.journey-summary .summary-item {
  background: #f7fbff;
  border: 1px solid #dbe6f3;
  border-radius: 10px;
  padding: .8rem .9rem;
}

.journey-summary .summary-item strong {
  display: block;
  color: #0a3f78;
  margin-bottom: .2rem;
}

.next-action-card {
  background: linear-gradient(135deg, #edf5ff 0%, #e3f0ff 100%);
  border: 1px solid #bfd9fb;
  border-left: 4px solid var(--gov-blue);
  border-radius: 10px;
  padding: .85rem .95rem;
  margin-bottom: .85rem;
}

.next-action-card h4 {
  margin: 0 0 .4rem;
  color: #0a3f78;
}

.next-action-card p {
  margin: 0;
  color: #1f2937;
  font-weight: 600;
}

.progress-wrap {
  margin-bottom: .95rem;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
  margin-bottom: .4rem;
  color: #334155;
  font-size: .88rem;
}

.progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #e6edf7;
  overflow: hidden;
}

.progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1b78d0 0%, #0b5cab 100%);
}

.roadmap-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .55rem;
}

.roadmap-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: .7rem;
  align-items: start;
  border: 1px solid var(--gov-border);
  border-radius: 10px;
  padding: .62rem .72rem;
  background: #fff;
}

.roadmap-step.current {
  border-color: #7fb1ea;
  background: #f3f8ff;
  box-shadow: 0 4px 14px rgba(11, 92, 171, 0.1);
}

.roadmap-step.pending {
  opacity: .95;
}

.step-index {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #e8f2fc;
  color: #0a3f78;
  font-weight: 700;
  font-size: .84rem;
}

.roadmap-step.current .step-index {
  background: var(--gov-blue);
  color: #fff;
}

.step-body a {
  display: block;
  font-weight: 700;
  text-decoration: none;
  color: #0a3f78;
}

.step-body small {
  display: block;
  margin-top: .15rem;
  color: #64748b;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.panel {
  background: #fff;
  border: 1px solid var(--gov-border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(11, 92, 171, 0.08);
}

.panel h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: var(--gov-blue);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field span {
  font-size: 0.9rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--gov-border);
  border-radius: 8px;
  padding: 0.62rem 0.72rem;
  font: inherit;
}

.result-box {
  background: var(--gov-bg-soft);
  border: 1px solid var(--gov-border);
  border-left: 4px solid var(--gov-blue);
  border-radius: 10px;
  padding: 0.9rem 0.95rem;
  margin-top: 0.9rem;
}

.result-box h4 {
  margin: 0 0 0.5rem;
  color: var(--gov-blue);
}

.kpi {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.kpi .tile {
  background: #fff;
  border: 1px solid var(--gov-border);
  border-radius: 10px;
  padding: 0.75rem;
}

.kpi .label {
  font-size: 0.82rem;
  color: #4b5563;
}

.kpi .value {
  font-weight: 700;
  color: var(--gov-blue);
  margin-top: 0.22rem;
}

.steps {
  margin: 0;
  padding-left: 1rem;
}

.steps li {
  margin-bottom: 0.45rem;
}

.steps li a {
  color: var(--gov-blue);
  text-decoration: none;
  font-weight: 600;
}

.steps li a:hover {
  text-decoration: underline;
}

.notice-info {
  background: #edf5ff;
  border: 1px solid #cfe3fb;
  color: #0a3f78;
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  margin-bottom: 1rem;
}

.lang-switch .lang-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 11-module service grid */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.module-card {
  display: block;
  background: #fff;
  border: 1px solid var(--gov-border);
  border-radius: 12px;
  padding: 1.1rem 1rem;
  text-decoration: none;
  color: var(--text, #1f2937);
  box-shadow: 0 4px 12px rgba(11, 92, 171, 0.07);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 92, 171, 0.15);
  border-color: var(--gov-blue);
}

.module-icon {
  font-size: 1.8rem;
  margin-bottom: 0.55rem;
}

.module-card h4 {
  margin: 0 0 0.35rem;
  font-size: 0.97rem;
  color: var(--gov-blue);
}

.module-card p {
  margin: 0;
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.5;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.9rem;
}

.video-card {
  border: 1px solid var(--gov-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(11, 92, 171, 0.1);
}

.video-card video,
.video-card iframe {
  width: 100%;
  height: 180px;
  display: block;
  background: #000;
  border: 0;
}

.video-card video {
  object-fit: cover;
}

.video-meta {
  padding: 0.7rem;
}

.video-meta strong {
  display: block;
  font-size: 0.9rem;
  color: var(--gov-blue);
  overflow-wrap: anywhere;
  margin-bottom: 0.55rem;
}

.video-actions {
  display: flex;
  gap: 0.5rem;
}

.video-actions .btn {
  font-size: 0.82rem;
  padding: 0.4rem 0.8rem;
}

@media (max-width: 860px) {
  .grid-2,
  .form-grid-2,
  .kpi {
    grid-template-columns: 1fr;
  }

  .journey-layout {
    grid-template-columns: 1fr;
  }

  .journey-panel-sticky {
    position: static;
  }
}
