:root {
  --dv-bg: #f5f7fb;
  --dv-surface: rgba(255, 255, 255, 0.92);
  --dv-surface-solid: #ffffff;
  --dv-text: #142033;
  --dv-muted: #64748b;
  --dv-line: rgba(20, 32, 51, 0.1);
  --dv-primary: #0b7a8f;
  --dv-primary-strong: #07596a;
  --dv-accent: #d69f28;
  --dv-success: #11845b;
  --dv-danger: #bc3647;
  --dv-shadow: 0 18px 50px rgba(18, 33, 54, 0.11);
  --dv-soft-shadow: 0 10px 30px rgba(18, 33, 54, 0.08);
  --dv-radius: 20px;
  --dv-card-radius: 18px;
  --dv-bottom-nav-height: 78px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--dv-text);
  background:
    radial-gradient(circle at 15% 0%, rgba(11, 122, 143, 0.12), transparent 32rem),
    linear-gradient(180deg, #fbfcff 0%, var(--dv-bg) 45%, #eef4f7 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding-bottom: calc(var(--dv-bottom-nav-height) + env(safe-area-inset-bottom) + 20px);
}

body.app-locked {
  overflow: hidden;
}

a {
  color: var(--dv-primary);
  text-decoration: none;
}

a:hover {
  color: var(--dv-primary-strong);
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 9999;
  background: var(--dv-text);
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: 999px;
}

.skip-link:focus {
  left: 1rem;
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  background: #ffffff;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-card {
  width: min(86vw, 360px);
  text-align: center;
}

.splash-mark {
  width: 68px;
  height: 68px;
  display: inline-grid;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--dv-primary), #19a391 60%, var(--dv-accent));
  box-shadow: 0 18px 44px rgba(11, 122, 143, 0.25);
  margin-bottom: 1rem;
}

.splash-card h1 {
  font-size: 1.35rem;
  margin: 0 0 0.8rem;
  letter-spacing: 0;
}

.splash-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef4;
}

.splash-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--dv-primary), var(--dv-accent));
  animation: splashFill 950ms cubic-bezier(.2, .7, .1, 1) forwards;
}

.splash-card p {
  margin: 0.8rem 0 0;
  font-size: 0.86rem;
  color: var(--dv-muted);
}

@keyframes splashFill {
  to { transform: scaleX(1); }
}

.app-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 1rem clamp(0.9rem, 2.4vw, 1.8rem) 1.6rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(22px);
  background: rgba(245, 247, 251, 0.78);
  border-bottom: 1px solid rgba(20, 32, 51, 0.06);
}

.topbar-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
  min-height: 70px;
  padding: 0.75rem clamp(0.9rem, 2.4vw, 1.8rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: var(--dv-text);
}

.brand-mark {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--dv-primary), #12a288 65%, var(--dv-accent));
  box-shadow: var(--dv-soft-shadow);
}

.brand-title {
  display: block;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand-subtitle {
  display: block;
  color: var(--dv-muted);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60vw;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.language-select {
  width: auto;
  min-width: 86px;
  border-radius: 999px;
  border-color: var(--dv-line);
  font-size: 0.84rem;
  background-color: rgba(255, 255, 255, 0.72);
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--dv-line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--dv-text);
  box-shadow: 0 8px 22px rgba(18, 33, 54, 0.06);
}

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

.section {
  padding: 1rem 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--dv-primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

h1, h2, h3, h4 {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.12;
}

h3 {
  font-size: 1.1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(1rem, 3vw, 1.6rem);
  align-items: stretch;
}

.hero-card,
.glass-card,
.service-card,
.stat-card,
.form-panel,
.article-card,
.dashboard-panel {
  background: var(--dv-surface);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--dv-card-radius);
  box-shadow: var(--dv-shadow);
}

.hero-card {
  padding: clamp(1.15rem, 4vw, 2.3rem);
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 159, 40, 0.22), rgba(214, 159, 40, 0));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy p {
  color: var(--dv-muted);
  font-size: 1rem;
  max-width: 46rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  border-radius: 999px;
  font-weight: 750;
  letter-spacing: 0;
}

.btn-lg {
  padding: 0.78rem 1.05rem;
  font-size: 0.95rem;
}

.btn-primary {
  --bs-btn-bg: var(--dv-primary);
  --bs-btn-border-color: var(--dv-primary);
  --bs-btn-hover-bg: var(--dv-primary-strong);
  --bs-btn-hover-border-color: var(--dv-primary-strong);
}

.btn-outline-primary {
  --bs-btn-color: var(--dv-primary-strong);
  --bs-btn-border-color: rgba(11, 122, 143, 0.34);
  --bs-btn-hover-bg: var(--dv-primary);
  --bs-btn-hover-border-color: var(--dv-primary);
}

.btn-success {
  --bs-btn-bg: #11845b;
  --bs-btn-border-color: #11845b;
  --bs-btn-hover-bg: #0f6d4c;
  --bs-btn-hover-border-color: #0f6d4c;
}

.visa-visual {
  align-self: end;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  position: relative;
  z-index: 1;
  margin-top: 1.4rem;
}

.visa-card-preview {
  border-radius: 22px;
  background: linear-gradient(145deg, #12213a, #0b7a8f 58%, #d6a22f);
  color: #fff;
  padding: 1rem;
  min-height: 160px;
  box-shadow: 0 24px 50px rgba(18, 33, 54, 0.2);
}

.visa-card-preview .chip {
  width: 42px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff2b8, #d69f28);
  margin-bottom: 1.4rem;
}

.visa-card-preview .lines span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  margin-top: 0.5rem;
}

.visa-card-preview .lines span:nth-child(2) {
  width: 68%;
}

.side-stack {
  display: grid;
  gap: 1rem;
}

.quick-apply-card {
  padding: 1.2rem;
}

.mini-list {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mini-list li {
  display: flex;
  align-items: start;
  gap: 0.6rem;
  color: var(--dv-muted);
}

.mini-list i {
  color: var(--dv-success);
  font-size: 0.95rem;
  margin-top: 0.12rem;
}

.service-grid,
.trust-grid,
.blog-grid,
.stats-grid,
.nationality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.service-card {
  padding: 1rem;
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(18, 33, 54, 0.13);
}

.service-card .service-icon,
.trust-icon,
.stat-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--dv-primary-strong);
  background: rgba(11, 122, 143, 0.1);
  margin-bottom: 0.7rem;
}

.service-card h3 {
  margin: 0 0 0.4rem;
}

.service-card p,
.trust-card p,
.article-card p {
  color: var(--dv-muted);
  margin-bottom: 0;
}

.trust-card,
.step-card,
.check-card,
.faq-item,
.testimonial-card,
.contact-card {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--dv-line);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--dv-text);
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.7rem;
  font-size: 0.84rem;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.check-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.check-card i {
  color: var(--dv-success);
}

.cta-band {
  padding: clamp(1.2rem, 4vw, 2rem);
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #0b5664, #0b7a8f 52%, #11845b);
  box-shadow: var(--dv-shadow);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  padding: clamp(1.2rem, 4vw, 2rem);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 248, 249, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--dv-shadow);
}

.breadcrumb {
  font-size: 0.84rem;
}

.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  background: rgba(11, 122, 143, 0.08);
  color: var(--dv-primary-strong);
  font-size: 0.84rem;
  font-weight: 700;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 1rem;
  align-items: start;
}

.glass-card,
.form-panel,
.dashboard-panel {
  padding: 1.1rem;
}

.form-control,
.form-select {
  border-radius: 14px;
  border-color: rgba(20, 32, 51, 0.13);
  min-height: 46px;
}

textarea.form-control {
  min-height: 118px;
}

.form-text {
  color: var(--dv-muted);
}

.result-panel {
  display: none;
  margin-top: 1rem;
}

.result-panel.show {
  display: block;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(11, 122, 143, 0.1);
  color: var(--dv-primary-strong);
}

.article-card {
  overflow: hidden;
}

.article-media {
  min-height: 154px;
  background: linear-gradient(135deg, rgba(11, 122, 143, 0.16), rgba(214, 159, 40, 0.2)), url("../img/blog-default.svg") center/cover;
}

.article-body {
  padding: 1rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.6rem 0;
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.3rem 0.55rem;
  background: rgba(20, 32, 51, 0.07);
  color: var(--dv-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.blog-article {
  font-size: 1rem;
  line-height: 1.75;
}

.news-article-title {
  max-width: 860px;
  font-size: clamp(1.35rem, 2.15vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.blog-article h2,
.blog-article h3 {
  margin-top: 1.4rem;
}

.blog-article p {
  color: #344256;
}

.auth-layout {
  min-height: 70vh;
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(100%, 460px);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  padding: 1rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 850;
  line-height: 1;
}

.table {
  vertical-align: middle;
}

.table-responsive {
  border-radius: 18px;
  border: 1px solid var(--dv-line);
  background: #fff;
}

.floating-whatsapp {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(var(--dv-bottom-nav-height) + env(safe-area-inset-bottom) + 1rem);
  z-index: 170;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #11845b;
  color: #fff;
  box-shadow: 0 16px 36px rgba(17, 132, 91, 0.32);
  border: 0;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 160;
  padding: 0 0 env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px);
  border-top: 1px solid rgba(20, 32, 51, 0.09);
}

.bottom-nav-inner {
  width: min(100%, 720px);
  height: var(--dv-bottom-nav-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
}

.bottom-nav a {
  height: 100%;
  display: grid;
  place-items: center;
  gap: 0.18rem;
  color: var(--dv-muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.bottom-nav i {
  font-size: 1.05rem;
}

.bottom-nav a.active {
  color: var(--dv-primary-strong);
}

.bottom-nav a.active i {
  transform: translateY(-2px);
}

.fade-up {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 420ms ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.offline-box {
  min-height: 70vh;
  display: grid;
  place-items: center;
}

@media (max-width: 991.98px) {
  .hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .trust-grid,
  .blog-grid,
  .stats-grid,
  .nationality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  body {
    padding-bottom: calc(var(--dv-bottom-nav-height) + env(safe-area-inset-bottom) + 12px);
  }

  .app-shell {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .topbar-inner {
    min-height: 64px;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .brand-subtitle {
    max-width: 48vw;
  }

  .hero-card {
    min-height: 0;
    border-radius: 22px;
  }

  .hero-actions .btn,
  .button-row .btn {
    width: 100%;
  }

  .service-grid,
  .trust-grid,
  .blog-grid,
  .stats-grid,
  .nationality-grid,
  .checklist-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-header,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-whatsapp {
    width: 48px;
    height: 48px;
    right: 0.85rem;
  }

  .bottom-nav-inner {
    height: 74px;
  }

  .bottom-nav a {
    font-size: 0.66rem;
  }
}
