/* ═══════════════════════════════════════════════════════════════════════════
   CITY PACKAGE PAGE — /package/[city-slug]
   Healthians-inspired layout with teal + orange brand palette
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Breadcrumb ─────────────────────────────────────────────────────────────── */
.cp-breadcrumb {
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}
.cp-breadcrumb-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 16px;
  font-size: 12px;
  color: #64748B;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.cp-breadcrumb-inner a { color: #0B7B8C; font-weight: 600; }
.cp-breadcrumb-inner a:hover { text-decoration: underline; }
.cp-bc-sep { color: #CBD5E1; margin: 0 2px; }

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.cp-hero {
  background: linear-gradient(135deg, #0E3D52 0%, #0B7B8C 50%, #0EA5C9 100%);
  overflow: hidden;
  position: relative;
}
.cp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px 28px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.cp-hero-left { flex: 1; min-width: 0; }
.cp-hero-right {
  flex-shrink: 0;
  display: none;
  flex-direction: column;
  gap: 14px;
  width: 320px;
  /* Image shows properly without dark overlay */
}
.cp-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 12px;
  letter-spacing: .03em;
}
.cp-hero-h1 {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 10px;
}
.cp-hero-city { color: #FCD34D; }
.cp-hero-sub {
  font-size: 13px;
  color: rgba(255,255,255,.82);
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 520px;
}
.cp-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(0,0,0,.2);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px;
}
.cp-stat { text-align: center; flex: 1; min-width: 60px; }
.cp-stat-n { display: block; font-size: 17px; font-weight: 900; color: #FCD34D; line-height: 1.1; }
.cp-stat-l { display: block; font-size: 9px; color: rgba(255,255,255,.65); font-weight: 600; text-transform: uppercase; margin-top: 2px; letter-spacing: .04em; }
.cp-stat-div { width: 1px; background: rgba(255,255,255,.2); height: 28px; flex-shrink: 0; }
.cp-hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.cp-cta-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: #F97316; color: #fff; font-size: 14px; font-weight: 800;
  border-radius: 10px; padding: 12px 20px; min-height: 44px;
  box-shadow: 0 4px 14px rgba(249,115,22,.45);
  transition: background .15s, transform .12s;
}
.cp-cta-primary:hover { background: #EA6C0A; transform: translateY(-1px); }
.cp-cta-wa {
  display: inline-flex; align-items: center; gap: 6px;
  background: #16A34A; color: #fff; font-size: 14px; font-weight: 800;
  border-radius: 10px; padding: 12px 20px; min-height: 44px;
  box-shadow: 0 4px 14px rgba(22,163,74,.35);
  transition: background .15s, transform .12s;
}
.cp-cta-wa:hover { background: #15803D; transform: translateY(-1px); }
.cp-trust-row {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.cp-trust-item {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: 11px; font-weight: 600;
  border-radius: 8px; padding: 5px 10px;
}

/* Hero right panel */
.cp-hero-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  display: block;
  /* No dark filter — show faces clearly */
}
.cp-quick-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
.cp-qc-title { font-size: 13px; font-weight: 800; color: #0E3D52; margin-bottom: 6px; }
.cp-qc-city  { font-size: 11px; color: #64748B; margin-bottom: 10px; }
.cp-qc-pkg   { background: #F0F9FF; border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; }
.cp-qc-pkg-name  { font-size: 12px; font-weight: 700; color: #0E3D52; margin-bottom: 3px; }
.cp-qc-pkg-price { font-size: 16px; font-weight: 900; color: #0B7B8C; }
.cp-qc-pkg-price span { font-size: 11px; color: #94A3B8; text-decoration: line-through; margin-left: 5px; }
.cp-qc-btn {
  display: block; width: 100%; background: #F97316; color: #fff;
  font-size: 13px; font-weight: 800; border-radius: 9px; padding: 12px;
  text-align: center; min-height: 44px;
}
.cp-qc-note { font-size: 10px; color: #64748B; text-align: center; margin-top: 8px; }

/* ── Main layout ─────────────────────────────────────────────────────────────── */
.cp-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 80px;
}
.cp-section { margin-top: 36px; }
.cp-section-header { margin-bottom: 18px; }
.cp-section-title {
  font-size: 20px;
  font-weight: 900;
  color: #0E3D52;
  line-height: 1.2;
  margin-bottom: 5px;
}
.cp-section-sub { font-size: 13px; color: #64748B; }

/* ── Package grid ────────────────────────────────────────────────────────────── */
.cp-pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.cp-pkg-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid #E2E8F0;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  background: #fff;
}
.cp-pkg-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(11,123,140,.15); }
.cp-pkg-highlight  { border-color: #F97316; box-shadow: 0 4px 16px rgba(249,115,22,.15); }
.cp-pkg-top {
  padding: 14px 12px 10px;
  position: relative;
  min-height: 110px;
}
.cp-pkg-disc {
  position: absolute; top: 8px; left: 8px;
  background: rgba(0,0,0,.35); color: #FCD34D;
  font-size: 9px; font-weight: 900; border-radius: 6px; padding: 2px 7px;
  text-transform: uppercase; letter-spacing: .05em;
}
.cp-pkg-badge {
  position: absolute; top: 8px; right: 8px;
  background: rgba(255,255,255,.25); color: #fff;
  font-size: 9px; font-weight: 800; border-radius: 6px; padding: 2px 7px;
  text-transform: uppercase; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cp-pkg-icon  { font-size: 24px; margin-bottom: 5px; display: block; }
.cp-pkg-name  { font-size: 12px; font-weight: 800; color: #fff; line-height: 1.3; margin-bottom: 4px; }
.cp-pkg-tests { font-size: 10px; color: rgba(255,255,255,.75); }
.cp-pkg-bottom {
  padding: 10px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.cp-pkg-price { font-size: 16px; font-weight: 900; color: #0E3D52; line-height: 1; }
.cp-pkg-mrp   { font-size: 10px; color: #94A3B8; text-decoration: line-through; margin-top: 1px; }
.cp-pkg-fast  { font-size: 9px; color: #64748B; margin-top: 3px; }
.cp-pkg-btn {
  background: #0B7B8C; color: #fff; border: none;
  border-radius: 8px; padding: 8px 12px; min-height: 36px;
  font-size: 12px; font-weight: 800; cursor: pointer; white-space: nowrap;
  flex-shrink: 0;
}
.cp-pkg-btn:hover { background: #0B3D52; }

/* ── Category grid ───────────────────────────────────────────────────────────── */
.cp-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.cp-cat-card {
  background: #fff;
  border: 2px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px 12px;
  cursor: pointer;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 5px;
}
.cp-cat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--cc, #0B7B8C);
}
.cp-cat-card:hover {
  border-color: var(--cc, #0B7B8C);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}
.cp-cat-icon { font-size: 26px; line-height: 1; }
.cp-cat-name { font-size: 13px; font-weight: 800; color: #0E3D52; }
.cp-cat-desc { font-size: 10px; color: #64748B; line-height: 1.5; flex: 1; }
.cp-cat-meta { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.cp-cat-price { font-size: 11px; font-weight: 800; color: var(--cc,#0B7B8C); }
.cp-cat-count { font-size: 10px; color: #94A3B8; }
.cp-cat-arrow {
  position: absolute; bottom: 10px; right: 12px;
  color: var(--cc, #0B7B8C); font-size: 16px; font-weight: 800;
  opacity: 0; transition: opacity .15s;
}
.cp-cat-card:hover .cp-cat-arrow { opacity: 1; }

/* ── How it works ────────────────────────────────────────────────────────────── */
.cp-how { background: #F0F9FF; border-radius: 16px; padding: 24px 20px; }
.cp-steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.cp-step {
  flex: 1; min-width: 130px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.cp-step-n {
  width: 28px; height: 28px;
  background: #0B7B8C; color: #fff;
  border-radius: 50%; font-size: 13px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cp-step-icon  { font-size: 28px; }
.cp-step-title { font-size: 13px; font-weight: 800; color: #0E3D52; }
.cp-step-desc  { font-size: 11px; color: #64748B; line-height: 1.55; }
.cp-step-arrow {
  font-size: 20px; color: #CBD5E1; padding-top: 30px;
  flex-shrink: 0;
  display: none;
}

/* ── Why us grid ─────────────────────────────────────────────────────────────── */
.cp-why { }
.cp-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.cp-why-item {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px;
  display: flex; gap: 12px; align-items: flex-start;
}
.cp-why-icon { font-size: 28px; flex-shrink: 0; }
.cp-why-item strong { display: block; font-size: 13px; font-weight: 800; color: #0E3D52; margin-bottom: 4px; }
.cp-why-item p  { font-size: 12px; color: #64748B; line-height: 1.55; margin: 0; }

/* ── Popular tests ───────────────────────────────────────────────────────────── */
.cp-tests-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-test-chip {
  display: inline-flex; align-items: center;
  background: #F8FAFC; border: 1.5px solid #E2E8F0;
  border-radius: 999px; padding: 8px 14px; min-height: 36px;
  font-size: 12px; font-weight: 600; color: #334155;
  transition: border-color .12s, background .12s, color .12s;
}
.cp-test-chip:hover { border-color: #0B7B8C; background: #E0F4F7; color: #0B7B8C; }

/* ── FAQ ─────────────────────────────────────────────────────────────────────── */
.cp-faq-list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.cp-faq-item { border: 1.5px solid #E2E8F0; border-radius: 12px; overflow: hidden; background: #fff; }
.cp-faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 14px 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 13px; font-weight: 700; color: #0E3D52; line-height: 1.5;
  min-height: 44px;
}
.cp-faq-q:hover { background: #F8FAFC; }
.cp-faq-q.open  { background: #E0F4F7; color: #0B3D52; }
.cp-faq-arrow   { flex-shrink: 0; transition: transform .2s; color: #64748B; }
.cp-faq-q.open .cp-faq-arrow { transform: rotate(180deg); color: #0B7B8C; }
.cp-faq-a {
  display: none; padding: 0 16px 14px; font-size: 12px; color: #475569; line-height: 1.7;
}
.cp-faq-a.open { display: block; }

/* ── City links grid ─────────────────────────────────────────────────────────── */
.cp-city-links { border-top: 1px solid #E2E8F0; padding-top: 20px; }
.cp-city-grid {
  display: flex; flex-wrap: wrap; gap: 0;
  border: 1px solid #E2E8F0; border-radius: 10px; overflow: hidden;
}
.cp-city-link {
  font-size: 12px; color: #475569; font-weight: 500;
  padding: 8px 14px; min-height: 40px;
  display: inline-flex; align-items: center;
  border-right: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  transition: color .12s, background .12s;
  flex: 1 1 50%;
  min-width: 0;
}
.cp-city-link:hover { color: #0B7B8C; background: #F0F9FF; }

/* ══ DESKTOP ═════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .cp-hero-h1 { font-size: 38px; }
  .cp-hero-right { display: flex; }
  .cp-hero-inner { padding: 48px 40px 44px; align-items: center; }
  .cp-step-arrow { display: block; }
  .cp-cat-grid { grid-template-columns: repeat(4, 1fr); }
  .cp-pkg-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .cp-city-link { flex: 0 0 auto; min-width: 180px; }
  .cp-main { padding: 0 40px 80px; }
  .cp-section-title { font-size: 24px; }
  .cp-hero-img { height: 230px; object-position: center 15%; filter: brightness(1.05) contrast(0.95); }
  .cp-hero { background: linear-gradient(105deg, #0B3D52 0%, #0B6B80 45%, #0E8FAB 75%, #13B5D8 100%); }
}

/* ── Hide mobile bottom-nav on desktop ────────────────────────────────────── */
@media (min-width: 768px) { .bottom-nav { display: none !important; } }

/* ── Hero image placeholder ─────────────────────────────────────────────── */
.cp-hero-img-ph {
  width: 100%;
  height: 220px;
  background: rgba(255,255,255,.08);
  border: 2px dashed rgba(255,255,255,.2);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
