/* =========================
   Homepage V2
========================= */

.homepage-v2 {
  background:
    radial-gradient(
      circle at top left,
      rgba(41, 88, 165, 0.08),
      transparent 24%
    ),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.hp-kicker,
.hp-mini-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hp-kicker {
  background: rgba(255, 255, 255, 0.1);
  color: #d6e4ff;
}

.hp-mini-kicker {
  background: rgba(41, 88, 165, 0.1);
  color: var(--primary);
}

.hp-section-heading h2,
.hp-split-heading h2,
.hp-provider-content h2,
.hp-final-cta-box h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.06;
  color: var(--dark);
}

.hp-section-heading p,
.hp-split-heading p,
.hp-provider-bio p,
.hp-final-cta-box p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
}

.hp-section-heading.center {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}

/* .hp-split-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
} */

.hp-section-link {
  margin-top: 24px;
}

/* Hero */
.hp-hero {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  padding: 110px 0 130px;
  color: #fff;
}

.hp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(8, 22, 47, 0.88) 0%,
    rgba(19, 53, 109, 0.68) 48%,
    rgba(8, 22, 47, 0.78) 100%
  );
}

.hp-hero-shape {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  filter: blur(8px);
}

.hp-hero-shape-1 {
  width: 340px;
  height: 340px;
  right: 10%;
  top: -80px;
}

.hp-hero-shape-2 {
  width: 260px;
  height: 260px;
  left: 6%;
  bottom: -90px;
}

.hp-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.hp-hero-content h1 {
  margin: 0 0 18px;
  font-size: clamp(44px, 7vw, 50px);
  line-height: 0.98;
  color: #fff;
  max-width: 760px;
}

.hp-hero-subtitle {
  max-width: 760px;
  margin: 0;
  font-size: 20px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

.hp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn-white-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.hp-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hp-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.hp-badge-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
}

.hp-badge-icon svg {
  width: 16px;
  height: 16px;
}

.hp-hero-side {
  display: grid;
  gap: 16px;
}

.hp-glass-card {
  padding: 22px 22px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.hp-glass-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.hp-glass-card-icon svg {
  width: 24px;
  height: 24px;
}

.hp-glass-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #fff;
}

.hp-glass-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.75;
}

/* Trust strip */
.hp-trust-strip {
  margin-top: -70px;
  position: relative;
  z-index: 5;
}

.hp-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hp-trust-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  padding: 24px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.hp-trust-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.12);
}

.hp-trust-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(41, 88, 165, 0.12),
    rgba(41, 88, 165, 0.05)
  );
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-trust-icon svg {
  width: 24px;
  height: 24px;
}

.hp-trust-text h3 {
  margin: 0 0 8px;
  color: var(--dark);
  font-size: 22px;
}

.hp-trust-text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

/* Mission */
.hp-mission-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid #e7edf6;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
  text-align: center;
}

.hp-mission-card p {
  margin: 0;
  font-size: 22px;
  line-height: 1.8;
  color: var(--text);
}

/* Process */
.hp-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.hp-process-card {
  position: relative;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e7edf6;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.hp-process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.1);
}

.hp-process-number {
  display: inline-flex;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.08em;
}

.hp-process-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  color: var(--dark);
  min-height: 80px !important;
}

.hp-process-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

/* Conditions / procedures */
.hp-list-grid,
.hp-procedure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hp-list-card,
.hp-procedure-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 20px 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e7edf6;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.hp-list-card:hover,
.hp-procedure-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  border-color: #d7e2f1;
}

.hp-list-icon,
.hp-procedure-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 999px;
  background: rgba(41, 88, 165, 0.1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hp-list-icon svg,
.hp-procedure-icon svg {
  width: 16px;
  height: 16px;
}

.hp-list-card span:last-child,
.hp-procedure-card h3 {
  color: var(--dark);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

/* Provider */
.hp-provider-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 42px;
  align-items: center;
}

.hp-provider-image-wrap {
  position: relative;
}

.hp-provider-image {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.hp-provider-placeholder {
  min-height: 560px;
  border-radius: 30px;
  background: linear-gradient(135deg, #e9eef5, #f8fbff);
}

.hp-provider-creds {
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
}

.hp-provider-bio p {
  margin: 0 0 16px;
}

.hp-provider-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.hp-provider-highlight {
  padding: 18px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e7edf6;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.hp-provider-highlight strong {
  display: block;
  margin-bottom: 6px;
  color: var(--dark);
  font-size: 18px;
}

.hp-provider-highlight span {
  color: var(--muted);
  line-height: 1.7;
}

/* Why */
.hp-why {
  background: linear-gradient(135deg, #09172f 0%, #143970 100%);
}

.hp-why .hp-section-heading h2,
.hp-why .hp-section-heading p,
.hp-why .hp-mini-kicker {
  color: #fff;
}

.hp-why .hp-mini-kicker {
  background: rgba(255, 255, 255, 0.1);
}

.hp-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hp-why-card {
  padding: 30px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.hp-why-card:hover {
  transform: translateY(-5px);
}

.hp-why-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.hp-why-icon svg {
  width: 24px;
  height: 24px;
}

.hp-why-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 26px;
  min-height: 80px !important;
}

.hp-why-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

/* Testimonials */
.hp-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hp-testimonial-card {
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e7edf6;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

.hp-stars {
  margin-bottom: 16px;
  color: #f5b301;
  letter-spacing: 0.12em;
  font-size: 20px;
}

.hp-testimonial-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.85;
  font-size: 17px;
}

.hp-testimonial-card span {
  color: var(--dark);
  font-weight: 700;
}

/* Final CTA */
.hp-final-cta {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: #f7fbff;
}

.hp-final-cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.82)),
    url("/wp-content/uploads/2026/04/team-doctors-standing-together-hospital-premises.jpg")
      center center / cover no-repeat;
  opacity: 1;
}

.hp-final-cta-box {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hp-final-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5d6370;
}

.hp-final-cta-box h2 {
  color: var(--primary);
  margin-bottom: 12px;
}

.hp-final-cta-box p {
  max-width: 760px;
  margin: 0 auto;
}

.hp-final-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hp-final-cta .btn-white-outline {
  border-color: rgba(47, 94, 168, 0.24);
  background: rgba(255, 255, 255, 0.5);
  color: var(--primary);
}

.hp-final-cta .btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.78);
}

/* Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(26px);
  animation: revealUp 0.8s ease forwards;
}

.reveal-up:nth-child(2) {
  animation-delay: 0.08s;
}
.reveal-up:nth-child(3) {
  animation-delay: 0.12s;
}
.reveal-up:nth-child(4) {
  animation-delay: 0.16s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .hp-trust-grid,
  .hp-process-grid,
  .hp-why-grid,
  .hp-testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-list-grid,
  .hp-procedure-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-provider-grid,
  .hp-split-heading,
  .hp-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hp-hero {
    padding: 80px 0 100px;
  }

  .hp-hero-content h1 {
    font-size: 35px;
    line-height: 1.3em;
  }

  .hp-hero-subtitle,
  .hp-section-heading p,
  .hp-split-heading p,
  .hp-provider-bio p,
  .hp-final-cta-box p {
    font-size: 16px;
  }

  .hp-trust-grid,
  .hp-process-grid,
  .hp-list-grid,
  .hp-procedure-grid,
  .hp-why-grid,
  .hp-testimonial-grid,
  .hp-provider-highlights {
    grid-template-columns: 1fr;
  }

  .hp-trust-card {
    grid-template-columns: 1fr;
  }

  .hp-mission-card {
    padding: 24px;
  }

  .hp-mission-card p {
    font-size: 18px;
  }

  .hp-provider-image,
  .hp-provider-placeholder {
    min-height: 360px;
  }

  .hp-final-cta {
    padding: 80px 0;
  }
}

.hp-hero-content {
  text-align: left;
  max-width: 1000px;
  margin: 0;
}

.hp-hero-title-lines {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: clamp(42px, 6vw, 88px);
  line-height: 1.02;
  font-weight: 800;
  color: #fff;
}

.hp-hero-title-lines span {
  display: block;
  width: 100%;
}

.hp-hero-actions,
.hp-hero-badges {
  justify-content: left;
}

@media (max-width: 768px) {
  .hp-hero-content {
    text-align: center;
    margin: 0 auto;
  }

  .hp-hero-actions,
  .hp-hero-badges {
    justify-content: center;
  }

  .hp-hero-title-lines {
    font-size: 42px;
    gap: 2px;
  }

  .hp-hero-subtitle-center {
    font-size: 16px;
    text-align: center;
  }

  .hp-list-grid,
  .hp-procedure-grid {
    gap: 10px;
  }

  .hp-process-card h3 {
    min-height: 20px !important;
  }
  .hp-why-card h3 {
    min-height: 20px !important;
  }
}
