/**
 * Custom Stylesheet for Housing & Cities Pages
 * Theme: Hüseyin Kalkan — İtalya Üniversite Danışmanlığı
 */

/* ==========================================================================
   GLOBAL COMMON STYLES & BREADCRUMB
   ========================================================================== */
.hk-housing-page-wrapper,
.hk-cities-page-wrapper {
  background: #F8FAFC;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1E293B;
}

.hk-breadcrumb-bar {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  padding: 12px 0;
  font-size: 0.85rem;
}

.hk-breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hk-breadcrumb-list a {
  color: #64748B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hk-breadcrumb-list a:hover {
  color: #157A50;
}

.hk-breadcrumb-list .separator {
  color: #CBD5E1;
  font-size: 0.75rem;
}

.hk-breadcrumb-list .active {
  color: #102A43;
  font-weight: 700;
}

.section-padding {
  padding: 72px 0;
}

.bg-gray {
  background: #F1F5F9;
}

.text-green { color: #157A50 !important; }
.text-blue { color: #2563EB !important; }
.text-gold { color: #C5A059 !important; }
.text-yellow { color: #F59E0B !important; }

/* Section Header Typography */
.hk-section-header {
  margin-bottom: 48px;
}

.hk-sec-sub-title {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #157A50;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hk-sec-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #102A43;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.hk-sec-desc {
  font-size: 1.05rem;
  color: #64748B;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   1. HERO SECTIONS
   ========================================================================== */
.hk-housing-hero,
.hk-cities-hero {
  background: linear-gradient(135deg, #0A1B2C 0%, #102A43 60%, #17375E 100%);
  color: #FFFFFF;
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #157A50;
}

.hk-housing-hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hk-hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(21, 122, 80, 0.25);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #34D399;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.hk-housing-hero-title,
.hk-cities-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hk-housing-hero-desc,
.hk-cities-hero-desc {
  font-size: 1.1rem;
  color: #CBD5E1;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 640px;
}

.hk-cities-hero-desc {
  margin: 0 auto 36px;
}

.hk-housing-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Button Variants */
.hk-btn-lg {
  padding: 14px 28px;
  font-size: 1.025rem;
  font-weight: 800;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.hk-btn-whatsapp {
  background: #25D366;
  color: #FFFFFF !important;
  border: 1px solid #20BD5A;
}

.hk-btn-whatsapp:hover {
  background: #1EBE5D;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.hk-btn-gold {
  background: #C5A059;
  color: #0A1B2C !important;
  border: 1px solid #DFBE7B;
}

.hk-btn-gold:hover {
  background: #DFBE7B;
  box-shadow: 0 6px 18px rgba(197, 160, 89, 0.4);
  transform: translateY(-2px);
}

.hk-btn-outline-white {
  background: transparent;
  color: #FFFFFF !important;
  border: 2px solid rgba(255,255,255,0.4);
}

.hk-btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* Hero Right Visual & Floating Badges */
.hk-hero-visual-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255,255,255,0.15);
}

.hk-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.hk-float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: #102A43;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.825rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-top-left { top: 20px; left: 20px; }
.badge-top-right { top: 20px; right: 20px; }
.badge-bottom-left { bottom: 20px; left: 20px; }
.badge-bottom-right { bottom: 20px; right: 20px; }

/* ==========================================================================
   2. QUICK INFO STRIP
   ========================================================================== */
.hk-quick-info-strip {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  padding: 24px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.hk-quick-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hk-quick-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hk-quick-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #EBF7F1;
  color: #157A50;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hk-quick-text strong {
  display: block;
  font-size: 0.95rem;
  color: #102A43;
  font-weight: 800;
}

.hk-quick-text span {
  font-size: 0.8rem;
  color: #64748B;
}

/* ==========================================================================
   3. HOUSING TYPES CARDS WITH BACKGROUND PHOTOS
   ========================================================================== */
.hk-housing-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hk-housing-type-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.hk-housing-type-card:hover {
  transform: translateY(-6px);
  border-color: #157A50;
  box-shadow: 0 16px 36px rgba(16, 42, 67, 0.12);
}

.hk-ht-image-box {
  height: 180px;
  position: relative;
  overflow: hidden;
  background: #0A1B2C;
}

.hk-ht-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.hk-housing-type-card:hover .hk-ht-image-box img {
  transform: scale(1.06);
}

.hk-ht-tag-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 27, 44, 0.85);
  backdrop-filter: blur(8px);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hk-ht-icon-badge {
  position: absolute;
  bottom: -20px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  border: 2px solid #FFFFFF;
  z-index: 2;
}

.icon-navy { background: #102A43; color: #FFFFFF; }
.icon-green { background: #157A50; color: #FFFFFF; }
.icon-gold { background: #C5A059; color: #0A1B2C; }
.icon-blue { background: #0284C7; color: #FFFFFF; }
.icon-purple { background: #7C3AED; color: #FFFFFF; }
.icon-red { background: #DC2626; color: #FFFFFF; }

.hk-ht-body {
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.hk-ht-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #102A43;
  margin-bottom: 8px;
  line-height: 1.3;
}

.hk-ht-body p {
  font-size: 0.9rem;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 18px;
}

.hk-ht-action-link {
  font-size: 0.85rem;
  font-weight: 800;
  color: #157A50;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  padding-top: 10px;
  border-top: 1px solid #F1F5F9;
}

.hk-ht-action-link:hover {
  color: #0D5C3A;
  transform: translateX(4px);
}

/* ==========================================================================
   4. MULTI-SECTION HOUSING FORM
   ========================================================================== */
.hk-form-card-wrapper {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  padding: 48px;
  box-shadow: 0 12px 36px rgba(16, 42, 67, 0.08);
  max-width: 960px;
  margin: 0 auto;
}

.hk-form-header {
  text-align: center;
  margin-bottom: 36px;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 24px;
}

.hk-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EBF7F1;
  color: #157A50;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.hk-form-title {
  font-size: 2rem;
  font-weight: 900;
  color: #102A43;
  margin-bottom: 8px;
}

.hk-form-subtitle {
  font-size: 0.95rem;
  color: #64748B;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

.hk-form-block {
  background: #FAFAFA;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
}

.hk-block-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}

.hk-block-title .step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #102A43;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hk-block-title h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #102A43;
  margin: 0;
}

.hk-form-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hk-form-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.style-top-gap { margin-top: 18px; }
.style-top-gap-lg { margin-top: 28px; }

.hk-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hk-form-group label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #334155;
}

.hk-form-group label .required {
  color: #DC2626;
}

.hk-form-group input,
.hk-form-group select,
.hk-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  font-size: 0.925rem;
  color: #1E293B;
  background: #FFFFFF;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.hk-form-group input:focus,
.hk-form-group select:focus,
.hk-form-group textarea:focus {
  border-color: #157A50;
  outline: none;
  box-shadow: 0 0 0 3px rgba(21, 122, 80, 0.15);
}

/* Radio Chip Grid */
.hk-radio-chips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 6px;
}

.chip-option {
  cursor: pointer;
}

.chip-option input {
  display: none;
}

.chip-option span {
  display: block;
  text-align: center;
  padding: 8px 12px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  transition: all 0.2s ease;
}

.chip-option input:checked + span {
  background: #102A43;
  border-color: #102A43;
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(16, 42, 67, 0.2);
}

/* Checkbox Preferences Grid */
.hk-checkbox-preferences-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  color: #334155;
  font-weight: 600;
}

.hk-kvkk-agreements {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.hk-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: #475569;
  cursor: pointer;
}

.hk-form-response-box {
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
}

.hk-form-response-box.success {
  background: #ECFDF5;
  border: 1.5px solid #10B981;
  color: #047857;
}

.hk-form-response-box.error {
  background: #FEF2F2;
  border: 1.5px solid #EF4444;
  color: #B91C1C;
}

.btn-block, .hk-btn-block {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   5. STEPS PROCESS (NASIL ÇALIŞIR?)
   ========================================================================== */
.hk-steps-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hk-step-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 32px 20px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.hk-step-number {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.8rem;
  font-weight: 900;
  color: #E2E8F0;
}

.hk-step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #EBF7F1;
  color: #157A50;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 18px;
}

.hk-step-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #102A43;
  margin-bottom: 10px;
}

.hk-step-card p {
  font-size: 0.875rem;
  color: #64748B;
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   6. CITIES HOUSING CARDS & FILTERABLE GRID
   ========================================================================== */
.hk-city-cards-grid,
.hk-cities-main-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hk-city-housing-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hk-city-card-header h3 {
  font-size: 1.4rem;
  font-weight: 900;
  color: #102A43;
  margin: 8px 0 6px;
}

.hk-city-density {
  font-size: 0.85rem;
  color: #64748B;
  font-weight: 700;
}

.hk-city-level-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.775rem;
  font-weight: 800;
}

.level-yuksek, .cost-high { background: #FEF2F2; color: #DC2626; }
.level-orta-yuksek, .cost-midhigh { background: #FFFBEB; color: #D97706; }
.level-orta, .cost-mid { background: #EFF6FF; color: #2563EB; }
.level-ekonomik-orta, .level-ekonomik, .cost-economic { background: #EBF7F1; color: #157A50; }

.hk-city-card-footer {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
}

/* Full City Card (Cities Page) */
.hk-city-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.hk-city-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(16, 42, 67, 0.12);
}

.hk-city-img-box {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.hk-city-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hk-city-card:hover .hk-city-img-box img {
  transform: scale(1.05);
}

.hk-city-region-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 27, 44, 0.85);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.hk-city-cost-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
}

.hk-city-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.hk-city-content h3 {
  font-size: 1.4rem;
  font-weight: 900;
  color: #102A43;
  margin-bottom: 8px;
}

.hk-city-short {
  font-size: 0.875rem;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 16px;
}

.hk-city-unis-list {
  background: #F8FAFC;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.825rem;
  color: #334155;
  margin-bottom: 14px;
}

.hk-city-unis-list strong {
  display: block;
  color: #102A43;
  font-weight: 800;
  margin-bottom: 2px;
}

.hk-city-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.field-tag {
  background: #EBF7F1;
  color: #157A50;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.hk-city-actions {
  display: flex;
  gap: 10px;
}

.hk-btn-sm {
  padding: 7px 14px;
  font-size: 0.825rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hk-btn-outline-navy {
  background: #FFFFFF;
  border: 1px solid #102A43;
  color: #102A43;
}

.hk-btn-outline-navy:hover {
  background: #102A43;
  color: #FFFFFF;
}

.hk-btn-primary {
  background: #157A50;
  color: #FFFFFF;
  border: 1px solid #157A50;
}

.hk-btn-primary:hover {
  background: #0D5C3A;
  border-color: #0D5C3A;
}

/* ==========================================================================
   7. LIVE SEARCH & FILTER PILLS
   ========================================================================== */
.hk-city-search-box-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.hk-city-search-input-group {
  position: relative;
  margin-bottom: 16px;
}

.hk-city-search-input-group .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 1.1rem;
}

.hk-city-search-input-group input {
  width: 100%;
  padding: 16px 48px 16px 48px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.hk-city-search-input-group input::placeholder {
  color: #94A3B8;
}

.hk-city-search-input-group input:focus {
  border-color: #34D399;
  background: rgba(255,255,255,0.15);
}

.btn-clear-search {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 1.4rem;
  cursor: pointer;
}

.hk-city-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 700;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover, .filter-pill.active {
  background: #157A50;
  border-color: #157A50;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(21, 122, 80, 0.4);
}

/* ==========================================================================
   8. WARNINGS SECTION
   ========================================================================== */
.hk-warning-box-wrapper {
  background: #FFFBEB;
  border: 2px solid #FCD34D;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.08);
}

.hk-warning-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid #FDE68A;
}

.hk-warning-header i {
  font-size: 2.2rem;
  margin-top: 4px;
}

.hk-warning-header h2 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #78350F;
  margin-bottom: 4px;
}

.hk-warning-header p {
  font-size: 0.95rem;
  color: #92400E;
  margin: 0;
}

.hk-warning-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.hk-warning-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFFFFF;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid #FDE68A;
}

.hk-warning-item .w-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F59E0B;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hk-warning-item h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #78350F;
  margin-bottom: 4px;
}

.hk-warning-item p {
  font-size: 0.875rem;
  color: #78350F;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   9. COMPARISON TABLE & INTERACTIVE QUIZ
   ========================================================================== */
.hk-table-responsive-wrapper {
  overflow-x: auto;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.hk-city-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.hk-city-compare-table th {
  background: #102A43;
  color: #FFFFFF;
  padding: 16px 20px;
  font-weight: 800;
  font-size: 0.875rem;
  white-space: nowrap;
}

.hk-city-compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #F1F5F9;
  color: #334155;
}

.hk-city-compare-table tr:hover {
  background: #F8FAFC;
}

.table-note {
  font-size: 0.8rem;
  color: #64748B;
  margin-top: 12px;
  font-style: italic;
}

/* Finder Robot Card */
.hk-finder-card-wrapper {
  background: #FFFFFF;
  border-radius: 20px;
  border: 2px solid #E2E8F0;
  padding: 48px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
  max-width: 900px;
  margin: 0 auto;
}

.hk-finder-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFBEB;
  color: #D97706;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.hk-finder-header h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: #102A43;
  margin-bottom: 8px;
}

.hk-finder-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hk-finder-result-box {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 2px dashed #E2E8F0;
}

.hk-finder-result-box .result-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #102A43;
  margin-bottom: 4px;
}

.hk-finder-result-box .result-note {
  font-size: 0.8rem;
  color: #64748B;
  margin-bottom: 20px;
}

.hk-recommended-cities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hk-rec-city-item {
  background: #F8FAFC;
  border: 1.5px solid #157A50;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hk-rec-city-item h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #102A43;
  margin-bottom: 8px;
}

.hk-rec-city-item p {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* ==========================================================================
   10. FAQ ACCORDION
   ========================================================================== */
.hk-faq-accordion-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hk-faq-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.hk-faq-question {
  width: 100%;
  padding: 18px 24px;
  background: #FFFFFF;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 800;
  color: #102A43;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.2s ease;
}

.hk-faq-question:hover {
  background: #F8FAFC;
}

.faq-icon {
  color: #157A50;
  transition: transform 0.3s ease;
}

.hk-faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.hk-faq-answer {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
  display: none;
  border-top: 1px solid #F1F5F9;
}

.hk-faq-item.active .hk-faq-answer {
  display: block;
}

/* ==========================================================================
   11. FINAL CTA SECTION
   ========================================================================== */
.hk-final-cta-section {
  background: linear-gradient(135deg, #0A1B2C 0%, #102A43 100%);
  color: #FFFFFF;
  padding: 72px 0;
  border-top: 4px solid #157A50;
}

.hk-cta-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.hk-cta-desc {
  font-size: 1.1rem;
  color: #CBD5E1;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hk-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Modal Overlay */
.hk-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 27, 44, 0.8);
  backdrop-filter: blur(4px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hk-modal-overlay.active {
  display: flex;
}

.hk-city-modal-box {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 36px;
  max-width: 640px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.btn-close-city-modal {
  position: absolute;
  top: 16px;
  right: 18px;
  background: #F1F5F9;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #64748B;
}

.hk-modal-info-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}

.hk-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

/* ==========================================================================
   12. SINGLE CITY GUIDE IN-DEPTH STYLES
   ========================================================================== */
.hk-single-city-hero {
  padding: 90px 0 80px;
  color: #FFFFFF;
  position: relative;
  border-bottom: 4px solid #157A50;
}

.hk-city-hero-content {
  max-width: 860px;
}

.hk-city-hero-main-title {
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.15;
  margin: 12px 0 14px;
  letter-spacing: -0.02em;
}

.hk-city-hero-tagline {
  font-size: 1.25rem;
  color: #FCD34D;
  font-weight: 700;
  margin-bottom: 30px;
}

.hk-city-vitals-strip {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hk-city-vitals-strip .vital-item {
  background: rgba(10, 27, 44, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hk-city-vitals-strip .vital-item i {
  font-size: 1.6rem;
}

.hk-city-vitals-strip .vital-item span {
  display: block;
  font-size: 0.75rem;
  color: #94A3B8;
  font-weight: 700;
  text-transform: uppercase;
}

.hk-city-vitals-strip .vital-item strong {
  display: block;
  font-size: 0.95rem;
  color: #FFFFFF;
}

.hk-city-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* 2-Column Guide Layout */
.hk-city-layout-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.hk-city-main-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.hk-city-content-block {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  padding: 36px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.hk-city-content-block h2 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #102A43;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #F1F5F9;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hk-city-content-block .lead-text {
  font-size: 1.075rem;
  line-height: 1.75;
  color: #334155;
}

.hk-city-unis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 16px;
}

.hk-city-uni-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.uni-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.uni-card-top h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #102A43;
  margin: 0;
}

.uni-rank-badge {
  background: #102A43;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.hk-city-uni-card p {
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 14px;
}

.uni-card-link {
  font-size: 0.8rem;
  font-weight: 800;
  color: #157A50;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hk-info-box-highlight {
  background: #EFF6FF;
  border-left: 4px solid #2563EB;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.95rem;
  color: #1E3A8A;
  line-height: 1.6;
}

.hk-cost-breakdown-table-wrap {
  overflow-x: auto;
  margin-top: 16px;
}

.hk-cost-table {
  width: 100%;
  border-collapse: collapse;
}

.hk-cost-table th {
  background: #F1F5F9;
  color: #102A43;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 800;
  text-align: left;
}

.hk-cost-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.9rem;
  color: #334155;
}

.hk-cost-table .total-row {
  background: #FFFBEB;
  font-weight: 800;
}

.hk-districts-box {
  background: #F8FAFC;
  border: 1.5px solid #157A50;
  border-radius: 12px;
  padding: 18px 20px;
}

.hk-districts-box h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #102A43;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hk-districts-box p {
  font-size: 0.9rem;
  color: #334155;
  margin: 0;
  line-height: 1.55;
}

.hk-pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hk-pros-box {
  background: #ECFDF5;
  border: 1.5px solid #10B981;
  border-radius: 12px;
  padding: 22px;
}

.hk-pros-box h4 {
  color: #065F46;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hk-pros-box ul,
.hk-cons-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hk-pros-box li {
  font-size: 0.875rem;
  color: #064E3B;
  line-height: 1.5;
  position: relative;
  padding-left: 18px;
}

.hk-pros-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10B981;
  font-weight: 900;
}

.hk-cons-box {
  background: #FFFBEB;
  border: 1.5px solid #F59E0B;
  border-radius: 12px;
  padding: 22px;
}

.hk-cons-box h4 {
  color: #92400E;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hk-cons-box li {
  font-size: 0.875rem;
  color: #78350F;
  line-height: 1.5;
  position: relative;
  padding-left: 18px;
}

.hk-cons-box li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #F59E0B;
  font-weight: 900;
}

.hk-local-support-box {
  background: linear-gradient(135deg, #0A1B2C 0%, #102A43 100%);
  color: #FFFFFF;
  border-left: 5px solid #157A50;
}

.hk-local-support-box h3 {
  color: #FFFFFF;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hk-local-support-box p {
  color: #CBD5E1;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* Sticky City Sidebar */
.hk-city-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hk-sidebar-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.hk-sidebar-card h3,
.hk-sidebar-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #102A43;
  margin-bottom: 10px;
}

.hk-sidebar-card p {
  font-size: 0.875rem;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 18px;
}

.sidebar-btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hk-sidebar-city-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hk-sidebar-city-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  transition: all 0.2s ease;
}

.hk-sidebar-city-list li a:hover {
  background: #102A43;
  color: #FFFFFF;
  border-color: #102A43;
}

/* MEDIA QUERIES FOR RESPONSIVE UI */
@media (max-width: 992px) {
  .hk-housing-hero-container,
  .hk-city-layout-container {
    grid-template-columns: 1fr;
  }

  .hk-quick-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hk-housing-types-grid,
  .hk-city-cards-grid,
  .hk-cities-main-grid,
  .hk-steps-grid-4col,
  .hk-city-unis-grid,
  .hk-pros-cons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hk-warning-list-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section-padding { padding: 48px 0; }

  .hk-quick-info-grid,
  .hk-housing-types-grid,
  .hk-city-cards-grid,
  .hk-cities-main-grid,
  .hk-steps-grid-4col,
  .hk-city-unis-grid,
  .hk-pros-cons-grid,
  .hk-form-grid-3col,
  .hk-form-grid-2col,
  .hk-finder-grid-3col,
  .hk-recommended-cities-grid,
  .hk-checkbox-preferences-grid {
    grid-template-columns: 1fr;
  }

  .hk-radio-chips-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hk-form-card-wrapper,
  .hk-finder-card-wrapper,
  .hk-warning-box-wrapper,
  .hk-city-content-block {
    padding: 24px 16px;
  }

  .hk-housing-hero-title,
  .hk-cities-hero-title,
  .hk-city-hero-main-title {
    font-size: 1.8rem;
  }

  .hk-housing-hero-actions,
  .hk-city-hero-actions,
  .hk-cta-buttons {
    flex-direction: column;
  }

  .hk-btn-lg {
    width: 100%;
    justify-content: center;
  }
}

