:root {
  --ink: #16324F;
  --ink-2: #0E2238;
  --accent: #FF6B35;
  --accent-2: #F7B32B;
  --mint: #2EC4B6;
  --paper: #F4F7FB;
  --card: #FFFFFF;
  --text: #1D2630;
  --muted: #566275;
  --line: #D8E0EC;
  --shadow: 0 16px 42px rgba(12, 28, 47, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito Sans", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 0% 0%, #e9f0ff 0, #f4f7fb 40%), var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 9999;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip-link:focus {
  left: 12px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(244, 247, 251, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(22, 50, 79, 0.18), rgba(46, 196, 182, 0.14));
}

.brand-logo svg {
  width: 28px;
  height: 28px;
  stroke: var(--ink);
  stroke-width: 2;
  fill: none;
}

.brand-copy strong {
  display: block;
  font-family: "Archivo", sans-serif;
  letter-spacing: 0.02em;
}

.brand-copy small {
  color: var(--muted);
}

.menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu a {
  color: var(--muted);
  font-weight: 700;
}

.menu a:hover {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--ink);
}

.btn {
  border: 0;
  cursor: pointer;
  padding: 11px 16px;
  border-radius: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff865a);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(22, 50, 79, 0.3);
  color: var(--ink);
}

.kicker {
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 10px;
}

h1,
h2 {
  margin: 0 0 10px;
  font-family: "Merriweather", serif;
  line-height: 1.2;
}

h3,
h4 {
  margin: 0 0 8px;
  font-family: "Archivo", sans-serif;
}

.section {
  padding: 88px 0;
}

.section-light {
  background: #fff;
}

.section-dark {
  background: linear-gradient(145deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #e9f3ff;
}

.hero-block {
  padding: 110px 0 72px;
  position: relative;
}

.hero-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(46, 196, 182, 0.15) 0%, rgba(255, 107, 53, 0.11) 45%, transparent 80%),
    radial-gradient(circle at 84% 20%, rgba(22, 50, 79, 0.1) 0%, transparent 55%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: start;
}

.hero-left p {
  max-width: 700px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 18px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px;
}

.hero-stats article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  box-shadow: var(--shadow);
}

.hero-stats strong {
  display: block;
  color: var(--ink);
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-right {
  display: grid;
  gap: 12px;
}

.status-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 20px;
  box-shadow: var(--shadow);
}

.status-card ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}

.status-card li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-card i {
  color: var(--mint);
}

.status-card.accent {
  background: linear-gradient(160deg, rgba(255, 107, 53, 0.15), rgba(247, 179, 43, 0.18));
  border-color: rgba(255, 107, 53, 0.26);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.section-head.split {
  max-width: unset;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: end;
}

.section-head.inverse p,
.section-head.inverse .kicker {
  color: #afc6df;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.tile i {
  font-size: 1.6rem;
  color: var(--ink);
}

.tile.timeline {
  grid-column: span 2;
  background: linear-gradient(140deg, rgba(22, 50, 79, 0.06), rgba(46, 196, 182, 0.1));
}

.tile.timeline ol {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.tile.timeline li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tile.timeline span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.74rem;
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.pathway {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.pathway-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.tag {
  font-size: 0.73rem;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(46, 196, 182, 0.18);
  color: #0f6f67;
  padding: 4px 10px;
}

.pathway p {
  color: var(--muted);
}

.expand-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.expand-panel.open {
  max-height: 180px;
  margin-top: 10px;
}

.expand-panel ul {
  margin: 0;
  padding-left: 18px;
}

.simulator-shell {
  position: relative;
}

.sim-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 16px;
}

.sim-core,
.sim-side {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(184, 203, 224, 0.2);
  border-radius: var(--radius);
  padding: 16px;
}

.track {
  height: 8px;
  border-radius: 999px;
  background: rgba(190, 210, 232, 0.24);
  overflow: hidden;
}

.track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  transition: width 0.25s ease;
}

.dots {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.dot {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  position: relative;
}

.dot span {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(190, 210, 232, 0.24);
  font-weight: 700;
}

.dot i {
  position: absolute;
  right: 8px;
  top: 8px;
  opacity: 0;
  color: #8cffcf;
}

.dot.done i {
  opacity: 1;
}

.dot.done span {
  background: var(--mint);
  color: #fff;
}

.sim-form {
  margin-top: 16px;
}

.sim-step {
  display: none;
}

.sim-step.active {
  display: block;
}

.sim-step label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 700;
}

.sim-step input,
.sim-step select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(176, 201, 228, 0.42);
  background: rgba(255, 255, 255, 0.96);
  padding: 10px 12px;
}

.choice-group,
.check-group {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.choice-group label,
.check-group label {
  display: flex;
  align-items: center;
  gap: 7px;
}

.summary-box {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 12px;
  margin-bottom: 12px;
}

.form-actions {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.sim-side p,
.sim-side li {
  color: #bfd5ea;
}

.mini-card {
  border-radius: 12px;
  border: 1px solid rgba(190, 210, 232, 0.2);
  padding: 12px;
  margin-top: 10px;
}

.office-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 14px;
}

.map-wrap,
.calc-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}

.map {
  height: 360px;
  border-radius: 12px;
}

.map-caption {
  margin: 10px 0 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}

.calc-wrap label {
  display: block;
  margin-top: 10px;
  font-weight: 700;
}

.calc-wrap select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.calc-result {
  margin-top: 12px;
  border-radius: 10px;
  background: linear-gradient(130deg, rgba(22, 50, 79, 0.08), rgba(46, 196, 182, 0.14));
  padding: 12px;
}

.calc-note {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.official-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 10px;
}

.official-link {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: var(--shadow);
}

.official-link i {
  color: var(--accent);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.resource-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.download-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.link-btn {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 9px;
  padding: 9px 11px;
  cursor: pointer;
  font-weight: 700;
}

.link-btn:hover {
  border-color: var(--accent);
}

.chatbot-card .chat-log {
  max-height: 180px;
  min-height: 150px;
  overflow-y: auto;
  display: grid;
  gap: 8px;
}

.chat-msg {
  max-width: 92%;
  padding: 9px 11px;
  border-radius: 10px;
}

.chat-msg.bot {
  background: rgba(22, 50, 79, 0.1);
}

.chat-msg.user {
  margin-left: auto;
  background: rgba(255, 107, 53, 0.2);
}

.quick-row {
  margin-top: 10px;
  display: grid;
  gap: 7px;
}

.quick-question {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  padding: 9px;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.quick-question:hover {
  border-color: var(--mint);
}

.news-item {
  border-left: 3px solid var(--accent);
  padding-left: 10px;
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 180px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
}

.app-card .qr {
  width: 130px;
  height: 130px;
  border-radius: 12px;
  border: 2px dashed rgba(22, 50, 79, 0.3);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--ink);
  margin: 10px 0;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.diff-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.diff-card i {
  color: var(--ink);
  font-size: 1.5rem;
}

.reminder-box {
  display: grid;
  gap: 8px;
}

.reminder-box input {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
}

.accordion {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.acc-item + .acc-item {
  border-top: 1px solid var(--line);
}

.accordion-toggle {
  width: 100%;
  text-align: left;
  border: 0;
  background: #fff;
  font-weight: 700;
  padding: 14px 16px;
  cursor: pointer;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.26s ease;
  padding: 0 16px;
}

.accordion-content p {
  margin: 0 0 14px;
  color: var(--muted);
}

.end-cta {
  margin-top: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(130deg, rgba(46, 196, 182, 0.16), rgba(255, 107, 53, 0.12));
  padding: 16px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer {
  background: #0B1724;
  color: #d8e7f8;
  padding: 50px 0 22px;
}

.footer-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.footer-link {
  display: block;
  margin-bottom: 7px;
  color: #b8cde4;
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 22px;
  border-top: 1px solid rgba(216, 231, 248, 0.2);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  color: #a3bdd8;
  font-size: 0.87rem;
}

.whatsapp-pill {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.4);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .sim-layout,
  .office-grid,
  .resource-grid,
  .diff-grid,
  .section-head.split,
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .official-grid {
    grid-template-columns: 1fr;
  }

  .tile.timeline {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  .menu {
    position: fixed;
    top: 68px;
    right: 16px;
    width: min(300px, calc(100% - 32px));
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 12px;
    padding: 14px;
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
  }

  .topbar.open .menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}
