/* ============================================================
   home.css — KCC Homepage Stylesheet
   Extends disease.css (loaded globally via head.html)
   No duplicate base styles here — disease.css handles reset,
   fonts, buttons, .section, .container, .doctor-card etc.
   ============================================================ */

/* Prevent horizontal overflow on mobile.
   NOTE: overflow on html breaks Chrome Android fixed positioning.
   body overflow-x hidden is safe — html keeps default visible so
   body remains the viewport scroll container and fixed elements
   stay viewport-relative. */
body { overflow-x: hidden; }

/* ════════════════════════════════════════════════════
   §1  HERO
════════════════════════════════════════════════════ */
.hp-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

/* Background image layer */
.hp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hp-hero__img-placeholder {
  position: absolute;
  inset: 0;
  /* Replace with: background-image: url('/assets/images/hero-kcc.jpg'); */
  background:
    linear-gradient(135deg,
      #083d52 0%,
      #0a5c6e 25%,
      #0d7a7a 55%,
      #0a4a6a 80%,
      #0c2e52 100%);
  background-size: cover;
  background-position: center 30%;
}
.hp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(5, 35, 50, 0.72) 0%,
    rgba(5, 35, 50, 0.50) 45%,
    rgba(5, 35, 50, 0.20) 100%
  );
}

/* Hero content */
.hp-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 360px; /* FIX: prevents mobile overflow */
  gap: 48px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
  max-width: 100%;
}

/* Eyebrow */
.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  margin-bottom: 20px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 6px 14px;
  border-radius: 30px;
  width: fit-content;
}
.hp-eyebrow__dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: hp-pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes hp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* Hero headline */
.hp-hero__h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hp-hero__h1 em {
  font-style: normal;
  color: var(--pink);
  position: relative;
}

.hp-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* CTAs */
.hp-hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  -webkit-tap-highlight-color: transparent;
}
.hp-cta-call {
  border-color: rgba(255,255,255,0.35) !important;
  color: white !important;
  background: rgba(255,255,255,0.07) !important;
}
.hp-cta-call:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: rgba(255,255,255,0.6) !important;
}

/* Open hours line */
.hp-hero__open {
  font-size: 0.80rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.hp-open-dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Stats floating card */
.hp-hero__stats-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.hp-stat {
  text-align: center;
}
.hp-stat__num {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 4px;
}
.hp-stat__label {
  display: block;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.50);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.3;
}

/* Hero responsive */
@media (max-width: 1024px) {
  .hp-hero__content { grid-template-columns: 1fr; gap: 36px; }
  .hp-hero__stats-card { max-width: 420px; }
  .hp-hero { min-height: auto; }
}
@media (max-width: 640px) {
  .hp-hero__content { padding-top: 40px; padding-bottom: 40px; }
  .hp-hero__h1 { font-size: 2.2rem; }
  .hp-hero__stats-card { grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px 16px; }
  .hp-stat__num { font-size: 1.3rem; }
  .hp-stat__label { font-size: 0.62rem; }
}

/* ════════════════════════════════════════════════════
   §2  PATIENT JOURNEY CARDS
════════════════════════════════════════════════════ */
.hp-journey__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}
.hp-jcard {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.22s, box-shadow 0.22s;
  display: flex;
  flex-direction: column;
  -webkit-tap-highlight-color: transparent;
}
.hp-jcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.hp-jcard--featured {
  border-color: var(--kcc);
  box-shadow: 0 0 0 1px var(--kcc), var(--shadow);
}
.hp-jcard__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.hp-jcard__step {
  font-family: 'Sora', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hp-jcard h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--dark);
}
.hp-jcard p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}
.hp-jcard__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.hp-jcard__list li a,
.hp-jcard__list li {
  font-size: 0.78rem;
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 20px;
  color: var(--kcc);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  font-family: 'Sora', sans-serif;
}
.hp-jcard__list li a:hover {
  background: var(--kcc);
  color: white;
  text-decoration: none;
}
.hp-jcard__list li { color: var(--muted); background: var(--cream); cursor: default; }

/* Override btn--primary color for journey cards */
.hp-jcard .btn--primary {
  background: var(--kcc);
  margin-top: auto;
  width: 100%;
  justify-content: center;
}
.hp-jcard--featured .btn--primary { background: var(--kcc); }

.hp-journey__fallback {
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}
.hp-journey__fallback a { color: var(--kcc); font-weight: 600; }

@media (max-width: 960px) {
  .hp-journey__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto 28px; }
}

/* ════════════════════════════════════════════════════
   §3  CANCER GRID
════════════════════════════════════════════════════ */
.hp-cancer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.hp-cancer-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  text-decoration: none;
  transition: all 0.18s;
  color: var(--text);
}
.hp-cancer-card:hover {
  border-color: var(--kcc);
  background: var(--light);
  transform: translateX(3px);
  text-decoration: none;
  color: var(--dark);
}
.hp-cancer-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hp-cancer-name {
  flex: 1;
  font-size: 0.87rem;
  font-weight: 600;
  font-family: 'Sora', sans-serif;
  color: var(--dark);
  line-height: 1.3;
}
.hp-cancer-arrow {
  font-size: 0.9rem;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
}
.hp-cancer-card:hover .hp-cancer-arrow { opacity: 1; transform: translateX(3px); }
.hp-cancer-card--all { border-style: dashed; }
.hp-cancer-card--all .hp-cancer-name { color: var(--kcc); }

@media (max-width: 960px) { .hp-cancer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .hp-cancer-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
@media (max-width: 400px) { .hp-cancer-grid { grid-template-columns: 1fr 1fr; } }

/* ════════════════════════════════════════════════════
   §4  TREATMENTS HORIZONTAL SCROLL
════════════════════════════════════════════════════ */

.hp-tx-scroll-outer {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 0 24px;
  max-width: 100%;
}


.hp-tx-scroll-outer::-webkit-scrollbar { display: none; }


.hp-tx-scroll {
  display: flex;
  gap: 16px;
}

.hp-tx-card {
  width: 240px;
  flex-shrink: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: all 0.22s;
  position: relative;
  overflow: hidden;
}
.hp-tx-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--kcc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s;
}
.hp-tx-card:hover {
  border-color: var(--kcc);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: var(--text);
}
.hp-tx-card:hover::before { transform: scaleX(1); }
.hp-tx-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: var(--kcc);
  flex-shrink: 0;
}
.hp-tx-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--dark);
}
.hp-tx-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}
.hp-tx-card__tag {
  display: inline-block;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--kcc);
  background: var(--light);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 20px;
  font-family: 'Sora', sans-serif;
  width: fit-content;
}

/* ════════════════════════════════════════════════════
   §5  WHY KCC
════════════════════════════════════════════════════ */
.hp-why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.hp-why__text h2 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); margin-bottom: 16px; }
.hp-why__text p { color: var(--muted); line-height: 1.75; }

.hp-why__pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0;
}
.hp-why__pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
}
.hp-why__pill svg { flex-shrink: 0; }

.hp-why__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hp-why__ctas .btn--primary { background: var(--kcc); }

/* Stats stack */
.hp-why__stat-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.hp-wstat {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.hp-wstat--accent {
  background: var(--kcc);
  border-color: var(--kcc);
  grid-column: 1 / -1;
}
.hp-wstat--accent .hp-wstat__num,
.hp-wstat--accent .hp-wstat__label { color: white; }
.hp-wstat--accent .hp-wstat__label { opacity: 0.8; }
.hp-wstat__num {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 4px;
}
.hp-wstat__label {
  font-size: 0.80rem;
  color: var(--muted);
  line-height: 1.4;
}

/* India compare card */
.hp-india-compare {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fffbf0;
  border: 1px solid #f3e09a;
  border-radius: var(--radius);
  padding: 16px 18px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.hp-india-compare:hover {
  text-decoration: none;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.hp-india-compare__icon { font-size: 1.6rem; flex-shrink: 0; }
.hp-india-compare__heading { font-weight: 700; font-size: 0.88rem; color: var(--dark); font-family: 'Sora', sans-serif; margin-bottom: 2px; }
.hp-india-compare__sub { font-size: 0.78rem; color: var(--muted); }
.hp-india-compare > svg { flex-shrink: 0; color: var(--muted); }

@media (max-width: 960px) {
  .hp-why__grid { grid-template-columns: 1fr; gap: 40px; }
  .hp-why__stat-stack { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════════════
   §6  TRUST STRIP
════════════════════════════════════════════════════ */
.hp-trust {
  background: var(--dark);
  padding: 32px 0;
}
.hp-trust__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.hp-trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 180px;
}
.hp-trust__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.60);
  flex-shrink: 0;
}
.hp-trust__item strong {
  display: block;
  font-size: 0.82rem;
  font-family: 'Sora', sans-serif;
  color: white;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2px;
}
.hp-trust__item span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}
@media (max-width: 960px) { .hp-trust__grid { gap: 20px; } }
@media (max-width: 640px) {
  .hp-trust__grid { flex-direction: column; align-items: flex-start; }
  .hp-trust__item { min-width: 0; width: 100%; }
}

/* ════════════════════════════════════════════════════
   §7  NEPALI SECTION
════════════════════════════════════════════════════ */
.hp-nepali__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hp-nepali__services {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hp-nservice {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  font-family: 'Plus Jakarta Sans', sans-serif;
  padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
}
.hp-nservice svg { flex-shrink: 0; }
@media (max-width: 800px) { .hp-nepali__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ════════════════════════════════════════════════════
   §8  THREE STEPS
════════════════════════════════════════════════════ */
.hp-steps__grid {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  gap: 0;
  align-items: start;
  margin: 48px 0 40px;
}
.hp-step {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.hp-step__num {
  width: 44px; height: 44px;
  background: var(--kcc);
  color: white;
  border-radius: 50%;
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.hp-step h3 { font-size: 1rem; margin-bottom: 10px; }
.hp-step p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.hp-step__badge {
  display: inline-block;
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--kcc);
  background: var(--light);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 20px;
  font-family: 'Sora', sans-serif;
}
.hp-step__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 50px;
}
.hp-step__connector::after {
  content: '→';
  font-size: 1.5rem;
  color: var(--border);
  opacity: 0.8;
}

.hp-steps__cta {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.hp-steps__or { font-size: 0.88rem; color: var(--muted); }
.hp-steps__or a { color: var(--kcc); font-weight: 600; }

@media (max-width: 800px) {
  .hp-steps__grid { grid-template-columns: 1fr; }
  .hp-step__connector { display: none; }
}

/* ════════════════════════════════════════════════════
   HOMEPAGE OVERRIDES to disease.css btn colours
   (homepage uses --kcc not --page-accent)
════════════════════════════════════════════════════ */
.hp-hero .btn--primary,
.hp-journey .btn--primary,
.hp-why .btn--primary,
.hp-steps .btn--primary {
  background: var(--kcc);
}
.hp-hero .btn--primary:hover,
.hp-journey .btn--primary:hover,
.hp-why .btn--primary:hover,
.hp-steps .btn--primary:hover {
  background: var(--dark);
}
.hp-hero .btn--outline,
.hp-why .btn--outline {
  color: var(--kcc);
  border-color: var(--kcc);
}

/* ════════════════════════════════════════════════════
   SCROLL ANIMATIONS — intersection observer triggers
════════════════════════════════════════════════════ */
.hp-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.hp-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
.hp-animate--delay-1 { transition-delay: 0.10s; }
.hp-animate--delay-2 { transition-delay: 0.20s; }
.hp-animate--delay-3 { transition-delay: 0.30s; }


/* ════════════════════════════════════════════════════
   MOBILE OVERHAUL — comprehensive fixes
   Target: phones 320–767px
════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────── */
@media (max-width: 767px) {
  .hp-hero {
    min-height: auto;
  }
  .hp-hero__content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .hp-eyebrow {
    font-size: 0.68rem;
    padding: 5px 12px;
  }
  .hp-hero__h1 {
    font-size: 2.4rem;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
  }
  .hp-hero__sub {
    font-size: 0.97rem;
    margin-bottom: 24px;
  }
  .hp-hero__ctas {
    flex-direction: column;
    gap: 10px;
  }
  .hp-hero__ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
    font-size: 1rem;
  }
  .hp-hero__open {
    font-size: 0.76rem;
  }
  /* Stats — horizontal strip, full width */
  .hp-hero__stats-card {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0;
    background: rgba(255,255,255,0.05);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.10);
  }
  .hp-stat {
    padding: 16px 8px;
    border-right: 1px solid rgba(255,255,255,0.08);
  }
  .hp-stat:last-child { border-right: none; }
  .hp-stat__num {
    font-size: 1.35rem;
  }
  .hp-stat__label {
    font-size: 0.60rem;
  }
}

/* ── Patient journey — SINGLE column on mobile ── */
@media (max-width: 767px) {
  .hp-journey__grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 0 0 24px;
    gap: 16px;
  }
  .hp-jcard {
    padding: 24px 20px;
  }
  /* Horizontal layout on mobile — icon left, content right */
  .hp-jcard__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .hp-jcard h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  .hp-jcard p {
    font-size: 0.88rem;
  }
  .hp-jcard .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.92rem;
  }
}

/* ── Section headers — bigger on mobile ──────── */
@media (max-width: 767px) {
  .section-header h2 {
    font-size: 1.65rem !important;
  }
  .section-header p {
    font-size: 0.95rem;
  }
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 28px; }
}

/* ── Cancer grid — 2 col on mobile ──────────── */
@media (max-width: 767px) {
  .hp-cancer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hp-cancer-card {
    padding: 13px 12px;
    gap: 10px;
  }
  .hp-cancer-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .hp-cancer-icon svg {
    width: 17px;
    height: 17px;
  }
  .hp-cancer-name {
    font-size: 0.80rem;
  }
  .hp-cancer-arrow { display: none; }
}

/* ── Treatments scroll ───────────────────────── */
@media (max-width: 767px) {
  .hp-tx-scroll-outer {
    padding-left: 0;
    padding-right: 0;
  }
  .hp-tx-card {
    width: 210px;
    padding: 20px 16px;
  }
  .hp-tx-card h3 { font-size: 0.95rem; }
  .hp-tx-card p  { font-size: 0.80rem; }
}

/* ── Why KCC ─────────────────────────────────── */
@media (max-width: 767px) {
  .hp-why__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hp-why__stat-stack {
    grid-template-columns: 1fr 1fr;
  }
  .hp-wstat__num { font-size: 1.5rem; }
  .hp-why__ctas {
    flex-direction: column;
  }
  .hp-why__ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.92rem;
  }
}

/* ── Doctor cards ────────────────────────────── */
@media (max-width: 767px) {
  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .doctor-card {
    gap: 16px;
  }
  .doctor-avatar {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
  }
  .dr-cta .btn {
    padding: 10px 16px;
    font-size: 0.82rem;
  }
}

/* ── Trust strip ─────────────────────────────── */
@media (max-width: 767px) {
  .hp-trust { padding: 24px 0; }
  .hp-trust__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .hp-trust__item {
    min-width: 0;
    gap: 10px;
  }
  .hp-trust__icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .hp-trust__item strong { font-size: 0.77rem; }
  .hp-trust__item span  { font-size: 0.68rem; }
}

/* ── Nepali section ──────────────────────────── */
@media (max-width: 767px) {
  .hp-nepali__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hp-nepali .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
}

/* ── Three steps ─────────────────────────────── */
@media (max-width: 767px) {
  .hp-steps__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 32px 0 28px;
  }
  .hp-step { padding: 22px 20px; }
  .hp-step__connector { display: none; }
  .hp-steps__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hp-steps__cta .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
    font-size: 1rem;
  }
  .hp-steps__or {
    text-align: center;
  }
}

/* ── Global mobile btn sizing ────────────────── */
@media (max-width: 767px) {
  /* Ensure all standalone CTAs are thumb-friendly */
  .hp-hero .btn,
  .hp-journey .btn,
  .hp-steps .btn,
  .hp-nepali .btn {
    min-height: 48px;
  }
}


/* ════════════════════════════════════════════════════
   LOCATION PILL IN HERO
════════════════════════════════════════════════════ */
.hp-hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hp-loc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.30);
  padding: 5px 12px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  font-family: 'Sora', sans-serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.hp-loc-pill:hover {
  background: rgba(255,255,255,0.12);
  color: white;
  text-decoration: none;
}
.hp-loc-pill svg { flex-shrink: 0; }

/* Remove eyebrow margin-bottom since meta handles it */
.hp-hero__meta .hp-eyebrow { margin-bottom: 0; }

/* Stack meta pills vertically on very small phones */
@media (max-width: 420px) {
  .hp-hero__meta { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Team CTA btn outline in hero */
.hp-cta-team {
  border-color: rgba(255,255,255,0.35) !important;
  color: white !important;
  background: rgba(255,255,255,0.07) !important;
}
.hp-cta-team:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: rgba(255,255,255,0.6) !important;
  text-decoration: none;
  color: white !important;
}

/* ════════════════════════════════════════════════════
   AUTO-SCROLL TREATMENT MARQUEE
   Pure CSS — duplicated list creates seamless loop
   Add class hp-tx-scroll--auto to the scroll div
   and duplicate the cards in HTML with aria-hidden
════════════════════════════════════════════════════ */
.hp-tx-scroll-outer {
  overflow: hidden;          /* hide overflow for marquee */
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 24px;
  cursor: default;
  position: relative;
}
/* Fade edges */
.hp-tx-scroll-outer::before,
.hp-tx-scroll-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.hp-tx-scroll-outer::before {
  left: 0;
  background: linear-gradient(to right, var(--cream), transparent);
}
.hp-tx-scroll-outer::after {
  right: 0;
  background: linear-gradient(to left, var(--cream), transparent);
}

.hp-tx-scroll {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: hp-marquee 36s linear infinite;
}
.hp-tx-scroll:hover { animation-play-state: paused; }

@keyframes hp-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Manual drag still works on touch — pause animation on touch */
@media (hover: none) {
  .hp-tx-scroll { animation-play-state: running; }
}

/* ════════════════════════════════════════════════════
   TEAM STRIP
════════════════════════════════════════════════════ */
.hp-team-strip {
  background: linear-gradient(135deg, var(--dark) 0%, #0f1a40 100%);
  padding: 72px 0;
}
.hp-team__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hp-team__left h2 {
  color: white;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 16px;
}
.hp-team__left p {
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  font-size: 0.97rem;
}
.hp-team__left .btn--primary {
  background: var(--pink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hp-team__left .btn--primary:hover {
  background: #c5006e;
}

.hp-team__creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hp-team__cred {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 20px 18px;
}
.hp-team__cred-num {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
}
.hp-team__cred-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.4;
}

@media (max-width: 767px) {
  .hp-team__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hp-team__creds { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hp-team__cred-num { font-size: 1.5rem; }
  .hp-team__left .btn--primary { width: 100%; justify-content: center; }
}

/* ════════════════════════════════════════════════════
   LOCATION SECTION
════════════════════════════════════════════════════ */
.hp-loc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.hp-loc__card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  transition: box-shadow 0.2s;
}
.hp-loc__card:hover { box-shadow: var(--shadow-lg); }
.hp-loc__card--main {
  border-color: var(--kcc);
  box-shadow: 0 0 0 1px var(--kcc);
}
.hp-loc__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--light);
  color: var(--kcc);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  font-family: 'Sora', sans-serif;
}
.hp-loc__badge--new {
  background: #fff7ed;
  color: #c2410c;
  border-color: #fed7aa;
}
.hp-loc__card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--dark);
}
.hp-loc__card > p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.hp-loc__features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hp-loc__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text);
}
.hp-loc__features svg { color: var(--kcc); flex-shrink: 0; }
.hp-loc__card .btn--outline {
  color: var(--kcc);
  border-color: var(--kcc);
}

/* WhatsApp transport bar — full width below cards */
.hp-loc__wa {
  grid-column: 1 / -1;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hp-loc__wa > svg { flex-shrink: 0; }
.hp-loc__wa > div { flex: 1; min-width: 200px; }
.hp-loc__wa-title {
  font-weight: 700;
  font-size: 0.90rem;
  color: var(--dark);
  font-family: 'Sora', sans-serif;
  margin-bottom: 2px;
}
.hp-loc__wa-sub {
  font-size: 0.80rem;
  color: var(--muted);
}

@media (max-width: 767px) {
  .hp-loc__grid { grid-template-columns: 1fr; }
  .hp-loc__wa { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hp-loc__wa .btn { width: 100%; justify-content: center; }
}


/* ════════════════════════════════════════════════════
   IPHONE / IOS SPECIFIC FIXES
════════════════════════════════════════════════════ */

/* Prevent iOS from auto-linking phone numbers incorrectly */
a[href^="tel"] { -webkit-tap-highlight-color: rgba(0,0,0,0.1); }

/* Fix iOS momentum scroll on treatment marquee */
.hp-tx-scroll-outer {
  -webkit-overflow-scrolling: touch;
}

/* Ensure buttons render correctly on iOS Safari */
.btn {
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

/* Fix iOS Safari bottom safe area for steps CTA */
@media (max-width: 767px) {
  .hp-steps__cta {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  /* Location cards full width */
  .hp-loc__card {
    padding: 22px 18px;
  }
  /* Hero stats — even smaller phones */
  @media (max-width: 380px) {
    .hp-hero__stats-card {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: 1fr 1fr;
    }
    .hp-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .hp-stat:nth-child(2n) { border-right: none; }
    .hp-stat:nth-last-child(-n+2) { border-bottom: none; }
  }
}

/* Fix marquee on reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .hp-tx-scroll { animation: none; overflow-x: auto; width: 100%; }
  .hp-tx-scroll [aria-hidden="true"] { display: none; }
}

/* ══════════════════════════════════════════════
   CAR-T ANNOUNCEMENT BANNER
══════════════════════════════════════════════ */
.hp-cart-banner {
  background: linear-gradient(135deg, #0f1f3d 0%, #1a3a6b 60%, #0d3a6e 100%);
  border-bottom: 3px solid #c8922a;
  position: relative;
  z-index: 10;
}
.hp-cart-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.hp-cart-banner__left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
}
.hp-cart-banner__label {
  flex-shrink: 0;
  background: #c8922a;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 3px;
  margin-top: 2px;
  text-transform: uppercase;
}
.hp-cart-banner__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hp-cart-banner__text strong {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}
.hp-cart-banner__text span {
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  line-height: 1.45;
}
.hp-cart-banner__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.hp-cart-banner__cta {
  background: #c8922a;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.hp-cart-banner__cta:hover { background: #b07d22; color: #fff; }
.hp-cart-banner__close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
}
.hp-cart-banner__close:hover { color: #fff; }
@media (max-width: 640px) {
  .hp-cart-banner__inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hp-cart-banner__text strong { font-size: 0.88rem; }
  .hp-cart-banner__cta { width: 100%; text-align: center; }
}

/* ══════════════════════════════════════════════
   HERO TRUST BULLETS
══════════════════════════════════════════════ */
.hp-hero__trust {
  list-style: none;
  padding: 0;
  margin: 14px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hp-hero__trust li {
  color: rgba(255,255,255,0.88);
  font-size: 0.87rem;
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}
.hp-hero__trust li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #5eead4;
  font-weight: 700;
}

/* ══════════════════════════════════════════════
   HERO CALL BUTTON
══════════════════════════════════════════════ */
.btn--call {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
}
.btn--call:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

/* ══════════════════════════════════════════════
   JOURNEY CARD — GEOGRAPHIC PROOF
══════════════════════════════════════════════ */
.hp-jcard__geo {
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 8px;
  line-height: 1.5;
  font-style: italic;
}

/* ══════════════════════════════════════════════
   AUTHORITY TEXT BLOCK  §3b
══════════════════════════════════════════════ */
.hp-authority {
  background: #f8fafc;
  border-top: 1px solid #e5eaf0;
  border-bottom: 1px solid #e5eaf0;
  padding: 52px 0;
}
.hp-authority__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.hp-authority__text h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--navy);
  margin-bottom: 14px;
}
.hp-authority__text p {
  color: #374151;
  font-size: 0.93rem;
  line-height: 1.75;
}
.hp-authority__text a { color: var(--kcc); text-decoration: underline; }
.hp-authority__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--kcc);
  text-decoration: none;
}
.hp-authority__link:hover { text-decoration: underline; }

/* Firsts & Onlys */
.hp-authority__firsts {
  background: var(--navy);
  border-radius: 12px;
  padding: 24px 28px;
}
.hp-firsts__header {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8922a;
  margin-bottom: 18px;
}
.hp-firsts__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hp-firsts__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.87rem;
  line-height: 1.4;
}
.hp-firsts__badge {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(13,148,136,0.25);
  color: #5eead4;
  margin-top: 1px;
  text-transform: uppercase;
}
.hp-firsts__badge--only {
  background: rgba(200,146,42,0.25);
  color: #f0b84a;
}
.hp-firsts__badge--new {
  background: rgba(236,0,140,0.25);
  color: #f472b6;
}
@media (max-width: 767px) {
  .hp-authority__inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ══════════════════════════════════════════════
   FAQ SECTION  §8b
══════════════════════════════════════════════ */
.hp-faq__grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hp-faq__item {
  border-bottom: 1px solid #e5eaf0;
}
.hp-faq__item:first-child { border-top: 1px solid #e5eaf0; }
.hp-faq__q {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  padding: 18px 40px 18px 0;
  cursor: pointer;
  position: relative;
  list-style: none;
  line-height: 1.45;
}
.hp-faq__q::-webkit-details-marker { display: none; }
.hp-faq__q::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--kcc);
  font-weight: 400;
  transition: transform 0.2s;
}
details[open] .hp-faq__q::after {
  content: '−';
}
.hp-faq__a {
  padding: 0 0 18px 0;
  color: #374151;
  font-size: 0.93rem;
  line-height: 1.75;
}
.hp-faq__a p { margin: 0; }
.hp-faq__a a { color: var(--kcc); text-decoration: underline; }

/* ══════════════════════════════════════════════
   WHAT MAKES KCC UNIQUE — §Firsts (new)
══════════════════════════════════════════════ */
.hp-unique {
  background: var(--dark, #0f1f3d);
  padding: 72px 0;
}
.hp-unique__header {
  text-align: center;
  margin-bottom: 52px;
}
.hp-unique__eyebrow {
  color: #c8922a !important;
  background: rgba(200,146,42,0.12) !important;
  border-color: rgba(200,146,42,0.25) !important;
}
.hp-unique__header h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.3;
}
.hp-unique__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
}
.hp-unique__item {
  background: rgba(255,255,255,0.03);
  padding: 28px 24px;
  transition: background 0.2s;
}
.hp-unique__item:hover {
  background: rgba(255,255,255,0.07);
}
.hp-unique__item--highlight {
  background: rgba(200,146,42,0.10);
  border: 1px solid rgba(200,146,42,0.20);
}
.hp-unique__item--highlight:hover {
  background: rgba(200,146,42,0.16);
}
.hp-unique__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(13,148,136,0.2);
  color: #5eead4;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.hp-unique__icon--new {
  background: rgba(200,146,42,0.25);
  color: #f0b84a;
}
.hp-unique__item h3 {
  color: #fff;
  font-size: 0.97rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.hp-unique__item p {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.hp-unique__link {
  font-size: 0.80rem;
  font-weight: 600;
  color: #5eead4;
  text-decoration: none;
  transition: color 0.2s;
}
.hp-unique__link:hover { color: #99f6e4; text-decoration: underline; }
.hp-unique__item--highlight .hp-unique__link { color: #f0b84a; }
.hp-unique__item--highlight .hp-unique__link:hover { color: #fcd34d; }
@media (max-width: 900px) {
  .hp-unique__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hp-unique__grid { grid-template-columns: 1fr; }
  .hp-unique { padding: 48px 0; }
}

/* ══════════════════════════════════════════════
   PATIENT STORIES
══════════════════════════════════════════════ */
.hp-stories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}
.hp-story {
  margin: 0;
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 12px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.hp-story::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 3.5rem;
  line-height: 1;
  color: #e5eaf0;
  font-family: Georgia, serif;
}
.hp-story__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d9488, #0a5c6e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.hp-story__quote {
  margin: 0;
  font-size: 0.90rem;
  line-height: 1.7;
  color: #374151;
  font-style: italic;
  flex: 1;
}
.hp-story__caption {
  border-top: 1px solid #f0f4f8;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hp-story__caption strong {
  font-size: 0.90rem;
  color: #0f1f3d;
  font-style: normal;
}
.hp-story__caption span {
  font-size: 0.78rem;
  color: #6b7280;
  font-style: normal;
}
.hp-stories__note {
  text-align: center;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .hp-stories__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto 20px; }
}

/* ══════════════════════════════════════════════
   DOCTOR PREVIEW
══════════════════════════════════════════════ */
.hp-docprev__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.hp-docprev__card {
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.hp-docprev__card:hover {
  border-color: #0d9488;
  box-shadow: 0 4px 20px rgba(13,148,136,0.10);
}
.hp-docprev__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1f3d, #1a3a6b);
  flex-shrink: 0;
}
.hp-docprev__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hp-docprev__initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1.3rem;
  font-weight: 700;
}
.hp-docprev__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hp-docprev__info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f1f3d;
  margin: 0;
}
.hp-docprev__role {
  font-size: 0.80rem;
  font-weight: 600;
  color: #0d9488;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hp-docprev__training {
  font-size: 0.78rem;
  color: #6b7280;
  margin-top: 2px;
}
.hp-docprev__info p {
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 6px 0 0;
}
.hp-docprev__cta {
  text-align: center;
}
@media (max-width: 900px) {
  .hp-docprev__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 32px; }
}




.hero-kcc{
position:relative;
min-height:85vh;
display:flex;
align-items:center;
overflow:hidden;
background:linear-gradient(135deg,#0b1d3a,#3c6aa6);
color:white;
}

.hero-bg{
position:absolute;
inset:0;
z-index:1;
}

.hero-bg img{
width:100%;
height:100%;
object-fit:cover;
filter:brightness(.6);
}

.hero-inner{
position:relative;
z-index:2;
}

/* AFTER */
.hero-kcc .hero-text{
max-width:620px;
}

.hero-badge{
background:#e91e63;
padding:6px 12px;
border-radius:20px;
font-size:13px;
font-weight:600;
display:inline-block;
margin-bottom:15px;
}

.hero-kcc h1{
font-size:48px;
font-weight:700;
line-height:1.2;
}

.hero-kcc h1 span{
color:#ffb3c9;
}

.hero-sub{
font-size:18px;
margin-top:15px;
margin-bottom:25px;
}

.hero-cta{
display:flex;
gap:14px;
flex-wrap:wrap;
margin-bottom:20px;
}

.hero-btn-wa{
background:#25D366;
color:white;
padding:12px 22px;
font-weight:600;
border-radius:6px;
}

.hero-btn-team{
border:2px solid white;
color:white;
padding:12px 22px;
border-radius:6px;
}

.hero-trust{
display:flex;
gap:18px;
font-size:14px;
opacity:.9;
}

/* SMALL SCREENS */

@media (max-width:768px){

.hero-kcc{
min-height:70vh;
}

.hero-kcc h1{
font-size:34px;
}

.hero-sub{
font-size:16px;
}

}

/* VERY SMALL PHONES (hide image for speed) */

@media (max-width:480px){

.hero-bg{
display:none;
}

.hero-kcc{
background:linear-gradient(135deg,#0b1d3a,#4a79b5);
}

}
/* ── Hero Compact (two-column) ──────────────────── */
.hero-kcc-compact {
  background: linear-gradient(135deg, #0b1d3a 0%, #0f2d52 55%, #1a5276 100%);
  padding: 72px 0 60px;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero-kcc-compact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 75% at 75% 50%,
    rgba(13,148,136,.20) 0%, transparent 65%);
  pointer-events: none;
}
.hero-kcc-compact .hero-badge {
  background: rgba(233,30,99,.18);
  border: 1px solid rgba(233,30,99,.45);
  color: #ff80ab;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 18px;
}
.hero-kcc-compact .hero-text h1 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #fff;
}
.hero-kcc-compact .hero-text h1 span {
  color: #4db6ac;
  display: block;
}
.hero-kcc-compact .hero-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  line-height: 1.72;
  max-width: 470px;
  margin-bottom: 28px;
}
.hero-kcc-compact .hero-text p strong { color: #fff; }
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-buttons .hero-wa {
  background: #25d366;
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 7px;
  text-decoration: none;
  transition: background .2s;
}
.hero-buttons .hero-wa:hover { background: #1ebe5d; color: #fff; }
.hero-buttons .btn-outline-primary {
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
  padding: 11px 24px;
  border-radius: 7px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.hero-buttons .btn-outline-primary:hover {
  border-color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.hero-kcc-compact .hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-kcc-compact .hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 28px 64px rgba(0,0,0,.40);

    
}

/* Force two-column at md, don't wait for Bootstrap's lg (992px) */
@media (min-width: 768px) {
  .hero-kcc-compact .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 991.98px) {
  .hero-kcc-compact { padding: 48px 0 40px; }
  .hero-kcc-compact .hero-text { text-align: center; margin-bottom: 36px; }
  .hero-kcc-compact .hero-text p { margin-inline: auto; }
  .hero-buttons { justify-content: center; }
  .hero-kcc-compact .hero-image img { max-width: 360px; }
}
@media (max-width: 480px) {
  .hero-kcc-compact .hero-text h1 { font-size: 1.75rem; }
}