:root {
  --teal: #00938d;
  --teal-strong: #007d78;
  --teal-soft: #e7f7f5;
  --wine: #7a1f3d;
  --ink: #1f2b33;
  --muted: #5f6c74;
  --surface: #ffffff;
  --line: #d9e2e6;
  --bg: #f3f7f8;
  --shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #f7fbfc 0%, #eef5f6 100%);
  color: var(--ink);
  line-height: 1.5;
}

.top-ribbon {
  background: var(--wine);
  color: #fff;
  padding: 0 1rem;
}

.top-ribbon-content {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 60px;
}

.gov-logo {
  height: 46px;
  width: auto;
  display: block;
  background: transparent;
  border: 0;
  box-shadow: none;
}

header {
  background: var(--teal);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.header-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.brand h1 {
  font-size: 1.1rem;
  line-height: 1.2;
}

nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.58rem 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.92rem;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #fff;
  color: var(--teal-strong);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
}

.hero {
  max-width: 1120px;
  margin: 1.6rem auto 0;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: stretch;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.welcome-title {
  color: #0f9a94;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 0.7rem;
}

.hero h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--teal-strong);
  line-height: 1.2;
  margin-bottom: 0.7rem;
}

.hero p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.chip {
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-strong);
  border: 1px solid #c7e7e5;
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.3rem;
}

.hero-actions .btn-primary {
  background: var(--teal);
  color: #fff;
}

.hero-actions .btn-outline {
  border-color: var(--teal);
  color: var(--teal);
  background: transparent;
}

.panel {
  background: linear-gradient(155deg, #0f9a94 0%, #01716c 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel h3 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.panel ul {
  list-style: none;
  color: #ffffff;
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.panel li {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem;
  display: grid;
  gap: 1.2rem;
}

.section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.section h3 {
  color: var(--teal);
  font-size: 1.28rem;
}

.grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  background: #fbfdfd;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.card h4 {
  color: #244046;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.tag {
  display: inline-block;
  margin-top: 0.55rem;
  padding: 0.3rem 0.58rem;
  border-radius: 8px;
  background: #def4f2;
  color: var(--teal-strong);
  font-size: 0.78rem;
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
}

.stat {
  background: linear-gradient(180deg, #f7fcfc 0%, #eef8f7 100%);
  border: 1px solid #cde6e3;
  border-radius: 12px;
  text-align: center;
  padding: 0.85rem 0.6rem;
}

.stat .value {
  display: block;
  color: var(--teal-strong);
  font-size: 1.38rem;
  font-weight: 800;
}

.stat .label {
  color: #55656f;
  font-size: 0.84rem;
  font-weight: 600;
}

footer {
  margin-top: 1.2rem;
  background: #073c3a;
  color: #e8f5f4;
  border-top: 4px solid var(--wine);
}

.footer-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .brand h1 {
    font-size: 1rem;
  }

  .gov-logo {
    height: 38px;
  }
}
