/* ============================================
   Palmer - Components & Additional Styles
   ============================================ */

/* ========== PROGRESS BAR ========== */
.progress-item { margin-bottom: 20px; }
.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1A2E35;
}
.progress-track {
  height: 6px;
  background: #E0E4E7;
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: #0077B6;
  border-radius: 3px;
  transition: width 1s ease;
}

/* ========== ICON BLOCK ========== */
.icon-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid #D0D4D7;
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.icon-block:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.icon-block-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: rgba(0,119,182,0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #0077B6;
}
.icon-block-body h4 { font-size: 17px; margin-bottom: 8px; }
.icon-block-body p { font-size: 14px; color: #4a5c62; line-height: 1.6; margin: 0; }

/* ========== NUMBERED STEPS ========== */
.steps-list { counter-reset: steps; }
.step-item {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  align-items: flex-start;
}
.step-item:last-child { margin-bottom: 0; }
.step-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: #0077B6;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
}
.step-content h4 { font-size: 18px; margin-bottom: 8px; }
.step-content p { font-size: 15px; color: #4a5c62; line-height: 1.7; margin: 0; }

/* ========== TIMELINE ========== */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #E0E4E7;
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #E0E4E7;
}
.timeline-item:last-child { border-bottom: none; margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -32px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: #0077B6;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #0077B6;
}
.timeline-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #0077B6;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.timeline-item h4 { font-size: 17px; margin-bottom: 10px; }
.timeline-item p { font-size: 15px; color: #4a5c62; line-height: 1.7; margin: 0; }

/* ========== COMPARISON TABLE ========== */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.comparison-col {
  border: 1px solid #D0D4D7;
  border-radius: 4px;
  overflow: hidden;
}
.comparison-header {
  padding: 20px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}
.comparison-header.primary { background: #1A2E35; color: #F5F5F5; }
.comparison-header.secondary { background: #E0E4E7; color: #1A2E35; }
.comparison-body { padding: 24px; }
.comparison-body li {
  padding: 10px 0;
  border-bottom: 1px solid #E0E4E7;
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.comparison-body li:last-child { border-bottom: none; }
.check { color: #0077B6; font-weight: 700; }
.cross { color: #c0392b; font-weight: 700; }

/* ========== CALLOUT ========== */
.callout {
  border-radius: 4px;
  padding: 20px 24px;
  margin: 24px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.callout--info { background: rgba(0,119,182,0.07); border-left: 4px solid #0077B6; }
.callout--warning { background: rgba(230,126,34,0.07); border-left: 4px solid #e67e22; }
.callout--success { background: rgba(39,174,96,0.07); border-left: 4px solid #27ae60; }
.callout-icon { font-size: 18px; margin-top: 1px; flex-shrink: 0; }
.callout-icon.info { color: #0077B6; }
.callout-icon.warning { color: #e67e22; }
.callout-icon.success { color: #27ae60; }
.callout-body p { font-size: 15px; margin: 0; color: #1A2E35; line-height: 1.6; }
.callout-body strong { font-weight: 700; }

/* ========== RESOURCE CARD ========== */
.resource-card {
  background: #fff;
  border: 1px solid #D0D4D7;
  border-radius: 4px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.resource-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.resource-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #1A2E35;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F5F5F5;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}
.resource-body h5 { font-size: 15px; margin-bottom: 6px; }
.resource-type {
  font-size: 11px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0077B6;
  margin-bottom: 8px;
  display: block;
}
.resource-body p { font-size: 13px; color: #4a5c62; line-height: 1.5; margin: 0; }

/* ========== MAP / INFO BLOCK ========== */
.info-map-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}
.map-placeholder {
  border: 1px solid #D0D4D7;
  border-radius: 4px;
  height: 340px;
  overflow: hidden;
}
.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #E0E4E7;
}
.contact-detail:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(0,119,182,0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0077B6;
  font-size: 16px;
}
.contact-detail-body label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7a8a90;
  display: block;
  margin-bottom: 4px;
}
.contact-detail-body p { font-size: 16px; margin: 0; color: #1A2E35; font-weight: 400; }
.contact-detail-body a { color: #1A2E35; }
.contact-detail-body a:hover { color: #0077B6; }

/* ========== POLICY PAGE ========== */
.policy-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}
.policy-toc {
  position: sticky;
  top: 88px;
  background: #fff;
  border: 1px solid #D0D4D7;
  border-radius: 4px;
  padding: 24px;
}
.policy-toc h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #7a8a90;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #E0E4E7;
}
.policy-toc ol { margin-left: 18px; }
.policy-toc ol li { margin-bottom: 8px; font-size: 13px; list-style: decimal; }
.policy-toc ol a { color: #4a5c62; }
.policy-toc ol a:hover { color: #0077B6; }
.policy-content h2 {
  font-size: 24px;
  margin: 48px 0 16px;
  padding-top: 8px;
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content h3 { font-size: 18px; margin: 28px 0 12px; }
.policy-content p, .policy-content li { font-size: 15px; line-height: 1.8; color: #3a4c52; }
.policy-content ul { margin: 0 0 16px 24px; list-style: disc; }
.policy-content ol { margin: 0 0 16px 24px; list-style: decimal; }
.policy-content li { margin-bottom: 6px; }
.policy-date {
  font-size: 13px;
  color: #7a8a90;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 32px;
  padding: 12px 16px;
  background: #E0E4E7;
  border-radius: 4px;
}

/* ========== THANK YOU PAGE ========== */
.thankyou-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}
.thankyou-box {
  max-width: 560px;
  text-align: center;
  padding: 64px 48px;
  background: #fff;
  border: 1px solid #D0D4D7;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
}
.thankyou-icon {
  width: 72px;
  height: 72px;
  background: rgba(0,119,182,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 30px;
  color: #0077B6;
}
.thankyou-box h1 { font-size: 34px; margin-bottom: 16px; }
.thankyou-box p { font-size: 17px; color: #4a5c62; line-height: 1.7; margin-bottom: 32px; }

/* ========== FILTER BAR ========== */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-bar .filter-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #7a8a90;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.filter-btn {
  background: none;
  border: 1px solid #D0D4D7;
  border-radius: 4px;
  padding: 7px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #4a5c62;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover, .filter-btn.active {
  background: #0077B6;
  border-color: #0077B6;
  color: #fff;
}

/* ========== SEARCH BAR ========== */
.search-bar {
  position: relative;
  max-width: 480px;
}
.search-bar input {
  width: 100%;
  padding: 12px 48px 12px 16px;
  border: 1px solid #D0D4D7;
  border-radius: 4px;
  font-size: 15px;
  font-family: 'Lato', sans-serif;
  color: #1A2E35;
  outline: none;
  transition: border-color 0.2s ease;
}
.search-bar input:focus { border-color: #0077B6; }
.search-bar button {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48px;
  background: #0077B6;
  border: none;
  border-radius: 0 4px 4px 0;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}
.search-bar button:hover { background: #005F99; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .info-map-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc { position: static; }
  .thankyou-box { padding: 40px 24px; }
}
