/* ==========================================================================
   MARHABA TOURS & TRAVELS — WELCOME PACKET SYSTEM
   File: src/css/welcome-packet.css
   Target Format: US Letter (816px × 1056px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ROOT DOCUMENT CANVAS
   -------------------------------------------------------------------------- */

.welcome-packet,
#pdf-welcome-capture-target {
  width: 816px;
  min-width: 816px;
  max-width: 816px;
  margin: 0 auto;
  background: #ffffff !important;
  color: #172033 !important;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.wp-page {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 816px;
  height: 1056px;
  min-height: 1056px;
  max-height: 1056px;
  padding: 44px 54px 68px;
  margin: 0;
  box-sizing: border-box;
  background: #ffffff !important;
  color: #172033 !important;
  page-break-after: always;
  break-after: page;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   2. HEADER & FOOTER
   -------------------------------------------------------------------------- */

.wp-page-header {
  flex: 0 0 auto;
  margin-bottom: 22px;
}

.wp-brandline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e8dfcf;
}

.wp-brandline img {
  width: 175px;
  height: auto;
  object-fit: contain;
}

.wp-brandline span {
  color: #a98748 !important;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: right;
}

.wp-section-kicker {
  margin-top: 20px;
  color: #a98748 !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.wp-page-header h2 {
  margin: 6px 0 10px;
  color: #14243a !important;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.12;
}

.wp-gold-rule {
  width: 60px;
  height: 3px;
  background: #b8954d;
}

.wp-page-footer {
  position: absolute;
  right: 54px;
  bottom: 24px;
  left: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #e8dfcf;
  color: #8a94a4 !important;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & CARDS
   -------------------------------------------------------------------------- */

.wp-page-content {
  flex: 1 1 auto;
  min-height: 0;
  font-size: 12px;
  line-height: 1.65;
  color: #334155 !important;
}

.wp-page-content p {
  margin: 0 0 10px;
  color: #334155 !important;
}

.wp-page-content strong {
  color: #14243a !important;
  font-weight: 800;
}

.wp-welcome-copy {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid #e9e2d5;
  border-left: 4px solid #b8954d;
  border-radius: 10px;
  background: #fcfbf8;
  color: #334155 !important;
}

.wp-note-card {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid #e6dcc8;
  border-top: 3px solid #b8954d;
  border-radius: 10px;
  background: #fbf8f1;
  color: #475569 !important;
  font-size: 11px;
  line-height: 1.55;
}

.wp-city-intro {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f5f7fa;
}

.wp-city-intro .wp-city-label {
  color: #a98748 !important;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

.wp-city-intro h3 {
  margin: 4px 0 0;
  font-size: 24px;
  color: #14243a !important;
}

/* --------------------------------------------------------------------------
   4. CHIP LISTS & MAZARAT GRIDS
   -------------------------------------------------------------------------- */

.wp-chip-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.wp-chip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #e6eaf0;
  border-radius: 8px;
  background: #fbfcfd;
  color: #334155 !important;
  font-size: 11px;
  line-height: 1.4;
}

.wp-mazarat-grid ul {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.wp-mazarat-grid li {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #b8954d;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 10.5px;
  line-height: 1.4;
  color: #334155 !important;
}

.wp-mazarat-grid li strong {
  color: #0f172a !important;
  display: block;
  font-size: 11.5px;
  margin-bottom: 2px;
}

/* --------------------------------------------------------------------------
   5. COVER PAGE
   -------------------------------------------------------------------------- */

.wp-cover-page {
  padding: 0;
  background: #ffffff !important;
}

.wp-cover-topline {
  height: 8px;
  background: #b8954d;
}

.wp-cover-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 110px;
}

.wp-cover-brand img {
  width: 210px;
  max-height: 65px;
  object-fit: contain;
}

.wp-cover-photo {
  position: relative;
  height: 410px;
  overflow: hidden;
  background: #dbe2e9;
}

.wp-cover-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wp-cover-photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 25, 43, 0.02) 30%, rgba(10, 25, 43, 0.56) 100%);
}

.wp-cover-title-block {
  padding: 40px 60px 30px;
  text-align: center;
}

.wp-cover-title-block h1 {
  margin: 10px 0 8px;
  color: #14243a !important;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.08;
}

.wp-cover-subtitle {
  margin: 0;
  color: #64748b !important;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-style: italic;
}

.wp-cover-bottom {
  position: absolute;
  right: 54px;
  bottom: 28px;
  left: 54px;
  display: flex;
  justify-content: space-between;
  color: #a98748 !important;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}