/* Page wrapper */
.jd-page{
  font-family: "Inter", system-ui, sans-serif;
  background: #ffffff;
}

/* container */
.jd-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HERO */
.jd-hero{
  padding: 44px 0 30px;
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
  border-bottom: 1px solid #eef2f6;
}

.jd-breadcrumb{
  font-size: 13px;
  color: #64748b;
  margin-bottom: 18px;
}
.jd-breadcrumb span{ margin: 0 8px; }

.jd-hero-grid{
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  align-items: start;
}

.jd-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1f2a5a;
  background: #e9efff;
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.jd-title{
  font-family: "Hedvig Letters Serif", Georgia, serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.08;
  color: #0f172a;
  margin: 0 0 10px;
}

.jd-subtitle{
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  max-width: 560px;
  margin-bottom: 18px;
}

.jd-meta{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 22px;
}

.jd-meta-item{
  border: 1px solid #eef2f6;
  border-radius: 14px;
  padding: 12px 12px;
  background: #fff;
}
.jd-meta-item .label{
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
}
.jd-meta-item .value{
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.jd-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.jd-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.jd-btn.primary{
  background: #1f2a5a;
  color: #fff;
  box-shadow: 0 12px 28px rgba(31,42,90,.18);
}
.jd-btn.primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(31,42,90,.22);
}

.jd-btn.secondary{
  background: #ffffff;
  border: 1px solid #dbe6ff;
  color: #1f2a5a;
}
.jd-btn.secondary:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(15,23,42,.08);
}

/* contact card */
.jd-contact-card{
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 18px 44px rgba(15,23,42,.06);
  position: sticky;
  top: 92px;
}

.jd-contact-card h3{
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}
.jd-contact-card p{
  margin: 0 0 14px;
  font-size: 13px;
  color: #475569;
  line-height: 1.7;
}

.jd-contact-row{
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #eef2f6;
}
.jd-contact-row:first-of-type{ border-top: 0; }

.jd-contact-row .icon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #f1f5ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f2a5a;
}

.jd-contact-row .small{
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 2px;
}

.jd-contact-row a{
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
}
.jd-contact-row a:hover{ text-decoration: underline; }

.jd-note{
  margin-top: 14px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  padding: 12px;
  font-size: 12px;
  color: #475569;
  line-height: 1.6;
}

/* CONTENT */
.jd-content{
  padding: 34px 0 60px;
}

.jd-two-col{
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 26px;
  align-items: start;
}

.jd-card{
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: 0 14px 38px rgba(15,23,42,.05);
}

.jd-card h2{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}
.jd-card p{
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #475569;
}

.jd-list{
  margin: 0;
  padding-left: 18px;
  color: #475569;
  font-size: 14px;
  line-height: 1.9;
}

.jd-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.tag{
  border: 1px solid #dbe6ff;
  color: #1f2a5a;
  background: #f5f7ff;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* SIDE */
.jd-side-card{
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: 0 14px 38px rgba(15,23,42,.05);
}
.jd-side-card h3{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.jd-side-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.jd-side-grid .small{
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 2px;
}
.jd-side-grid p{
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.jd-steps{
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: #475569;
  line-height: 1.9;
}

/* RESPONSIVE */
@media (max-width: 980px){
  .jd-hero-grid,
  .jd-two-col{
    grid-template-columns: 1fr;
  }
  .jd-contact-card{
    position: relative;
    top: auto;
  }
  .jd-meta{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .jd-title{
    font-size: 40px;
  }
}

@media (max-width: 520px){
  .jd-title{ font-size: 34px; }
  .jd-container{ padding: 0 16px; }
  .jd-meta{ grid-template-columns: 1fr; }
}
