/* =============================================================
   SECTION 1 — PREMIUM HERO / METROPOLIS DIAGNOSTIC STYLE
   Clean, minimal left write-up + Price Callout Pill + Phlebotomist Visual
   Strict 3-Field Lead Capture Form (Full Name, Mobile, Select City)
   5-Item Emerald Green Trust Ribbon at bottom
   Strict 100VH Desktop Fit (No unwanted scrolling on desktop)
   All rules scoped under .premium-hero
   ============================================================= */

.premium-hero {
  --ph-bg-start: #EDFAF4;
  --ph-bg-mid:   #DCF4E8;
  --ph-bg-mid2:  #D1EFE2;
  --ph-bg-end:   #E8F8F0;
  --ph-text-title: #0C2D22;
  --ph-text-body:  #264E40;
  --ph-text-muted: #4C7265;
  --ph-green-brand: #00875A;
  --ph-green-hover: #00734D;
  --ph-blue-accent: #0077CC;
  --ph-accent-emerald: #10B981;
  --ph-white: #FFFFFF;
  --ph-line: rgba(16, 185, 129, 0.14);
  --ph-font-display: 'Bricolage Grotesque', 'Inter', sans-serif;
  --ph-font-body: 'Inter', sans-serif;

  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #EFFBF6 0%, #E3F6EE 45%, #EDFAF4 100%);
  font-family: var(--ph-font-body);
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;

  /* Desktop Fit (min 100vh, natural flow so bottom bar is never clipped) */
  min-height: 100vh;
  height: auto;
  padding-top: 4.4rem;
  padding-bottom: 0;
}

/* ---------- Ambient background ---------- */
.premium-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.premium-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.4;
}

.premium-hero-glow-1 {
  width: 38rem;
  height: 38rem;
  top: -10rem;
  right: -6rem;
  background: radial-gradient(circle, rgba(0, 135, 90, 0.22) 0%, transparent 70%);
  animation: premium-hero-drift 15s ease-in-out infinite;
}

.premium-hero-glow-2 {
  width: 30rem;
  height: 30rem;
  bottom: 2rem;
  left: -6rem;
  background: radial-gradient(circle, rgba(0, 119, 204, 0.18) 0%, transparent 70%);
  animation: premium-hero-drift 18s ease-in-out infinite reverse;
}

.premium-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ph-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ph-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 40%, #000 0%, transparent 80%);
  mask-image: radial-gradient(ellipse 85% 65% at 50% 40%, #000 0%, transparent 80%);
  opacity: 0.5;
}

@keyframes premium-hero-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-1.5rem, 1.5rem) scale(1.04); }
}

/* ---------- Layout container ---------- */
.premium-hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1360px;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 1.25rem;
}

.hero-main-row {
  align-items: center;
  width: 100%;
}

/* =============================================================
   LEFT COLUMN: MINIMAL WRITE-UP (METROPOLIS STYLE)
   ============================================================= */
.premium-hero-content {
  opacity: 0;
  transform: translateY(16px);
  animation: premium-hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

@keyframes premium-hero-rise {
  to { opacity: 1; transform: translateY(0); }
}

/* Dual-Tone Large Title */
.premium-hero-title {
  font-family: var(--ph-font-display);
  font-weight: 800;
  font-size: clamp(2.35rem, 3.1vw, 3.15rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-title-green {
  color: var(--ph-green-brand);
  display: inline-block;
}

.hero-title-blue {
  color: var(--ph-blue-accent);
  display: inline-block;
}

/* Price Callout Banner (Metropolis Dark Green Pill) */
.hero-price-pill {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  background: linear-gradient(135deg, #026945 0%, #00875A 100%);
  border-radius: 0.85rem;
  padding: 0.85rem 1.45rem;
  box-shadow: 0 10px 24px -6px rgba(0, 135, 90, 0.4);
  margin-bottom: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.price-pill-label {
  font-family: var(--ph-font-body);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.22;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.price-pill-divider {
  width: 1.5px;
  height: 2.35rem;
  background: rgba(255, 255, 255, 0.35);
}

.price-pill-value {
  font-family: var(--ph-font-display);
  font-size: 1.85rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price-pill-value .currency {
  font-size: 1.35rem;
  font-weight: 700;
}

.price-pill-value .asterisk {
  font-size: 1.1rem;
  vertical-align: top;
}

.price-pill-value .suffix {
  font-family: var(--ph-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-left: 0.2rem;
}

/* Two Feature Highlights with Horizontal Dividers */
.hero-feature-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
}

.hero-feature-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.72rem 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0C2D22;
  border-top: 1.5px solid rgba(16, 185, 129, 0.3);
}

.hero-feature-row:last-child {
  border-bottom: 1.5px solid rgba(16, 185, 129, 0.3);
}

.hero-feature-row i.bi-box-seam-fill {
  color: var(--ph-green-brand);
  font-size: 1.28rem;
  flex-shrink: 0;
}

.hero-feature-row i.bi-whatsapp {
  color: #25D366;
  font-size: 1.38rem;
  flex-shrink: 0;
}

/* =============================================================
   CENTER COLUMN: PHLEBOTOMIST VISUAL
   ============================================================= */
.hero-phlebo-col {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  animation: premium-hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-phlebo-wrapper {
  position: relative;
  width: 100%;
  max-width: 340px;
  height: 440px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow:
    0 24px 60px -10px rgba(12, 45, 34, 0.24),
    0 0 0 2px rgba(255, 255, 255, 0.95) inset;
  background: #FFFFFF;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-phlebo-wrapper:hover {
  transform: translateY(-2px);
  box-shadow:
    0 28px 60px -10px rgba(12, 45, 34, 0.26),
    0 0 0 2px rgba(16, 185, 129, 0.3);
}

.hero-phlebo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* =============================================================
   RIGHT COLUMN: 3-FIELD LEAD CAPTURE CARD
   ============================================================= */
.premium-hero-form-col {
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  animation: premium-hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

.hero-callback-card {
  position: relative;
  width: 100%;
  max-width: 375px;
  min-height: 440px;
  background: rgba(255, 255, 255, 0.96);
  border: 2.2px solid rgba(150, 220, 235, 0.9);
  border-radius: 1.45rem;
  padding: 2.35rem 1.85rem 2rem;
  box-shadow:
    0 24px 55px -10px rgba(0, 119, 204, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-callback-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

/* Selected Package Banner */
.hero-selected-pkg-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(0, 135, 90, 0.06));
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: 0.75rem;
  padding: 0.6rem 0.85rem;
  animation: hero-fade-in 0.3s ease;
}

.hero-pkg-badge-info {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #0C2D22;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-pkg-badge-info i {
  color: #10B981;
  font-size: 1rem;
  flex-shrink: 0;
}

.hero-pkg-badge-info strong {
  color: #00734D;
  font-weight: 800;
}

.hero-pkg-clear-btn {
  background: none;
  border: none;
  color: #64748B;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.hero-pkg-clear-btn:hover {
  color: #EF4444;
}

@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.hero-form-control {
  width: 100%;
  height: 54px;
  font-family: var(--ph-font-body);
  font-size: 0.98rem;
  color: #0F2F24;
  background: #FFFFFF;
  border: 1.6px solid #CFE3E0;
  border-radius: 0.75rem;
  padding: 0 1.05rem;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.hero-form-control::placeholder {
  color: #58726A;
  font-size: 0.96rem;
  font-weight: 500;
}

.hero-form-control:focus {
  border-color: var(--ph-green-brand);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 135, 90, 0.16);
}

/* Phone input with +91 prefix */
.hero-phone-wrap {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.hero-phone-prefix {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #F0FDF4;
  border: 1.6px solid #CFE3E0;
  border-right: none;
  border-radius: 0.75rem 0 0 0.75rem;
  padding: 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ph-green-brand);
  white-space: nowrap;
  user-select: none;
}

.flag-icon {
  font-size: 0.95rem;
}

.hero-phone-control {
  border-radius: 0 0.75rem 0.75rem 0;
  padding-left: 0.85rem;
}

/* Select City Dropdown */
.hero-select-wrap {
  position: relative;
  width: 100%;
}

.hero-select-control {
  appearance: none;
  -webkit-appearance: none;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2300875A' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 14px 14px;
  padding-right: 2.4rem;
  cursor: pointer;
}

/* Error states */
.hero-field-error {
  font-size: 0.72rem;
  font-weight: 600;
  color: #DC2626;
  display: none;
  margin-top: 0.2rem;
  padding-left: 0.2rem;
}

.hero-form-group.has-error .hero-form-control,
.hero-form-group.has-error .hero-phone-wrap .hero-form-control {
  border-color: #EF4444;
  background: #FEF2F2;
}

.hero-form-group.has-error .hero-field-error {
  display: block;
}

/* Checkboxes (Metropolis Style) */
.hero-check-group {
  margin-top: 0.05rem;
}

.hero-check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
  margin: 0;
}

.hero-check-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hero-custom-check {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 0.32rem;
  border: 1.6px solid var(--ph-green-brand);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
  transition: all 0.2s ease;
}

.hero-custom-check i {
  font-size: 0.8rem;
  color: #FFFFFF;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s ease;
}

.hero-check-label input[type="checkbox"]:checked + .hero-custom-check {
  background: var(--ph-green-brand);
  border-color: var(--ph-green-brand);
}

.hero-check-label input[type="checkbox"]:checked + .hero-custom-check i {
  opacity: 1;
  transform: scale(1);
}

.hero-check-text {
  font-size: 0.8rem;
  line-height: 1.34;
  color: #1A3E32;
  font-weight: 500;
}

.hero-terms-link {
  color: var(--ph-green-brand);
  text-decoration: underline;
  font-weight: 600;
}

.hero-terms-link:hover {
  color: var(--ph-green-hover);
}

/* Submit CTA Button (REQUEST A CALL) */
.hero-form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  font-family: var(--ph-font-body);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--ph-green-brand);
  border: none;
  border-radius: 0.75rem;
  margin-top: 0.35rem;
  cursor: pointer;
  box-shadow: 0 6px 18px -2px rgba(0, 135, 90, 0.45);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hero-form-submit:hover {
  background: var(--ph-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -2px rgba(0, 135, 90, 0.52);
}

.hero-form-submit:active {
  transform: translateY(0);
}

/* Flash highlight animation if targeted */
.hero-callback-card.flash-highlight {
  animation: form-flash-pulse 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes form-flash-pulse {
  0%, 100% { transform: scale(1); border-color: rgba(160, 222, 237, 0.85); }
  50% { transform: scale(1.02); border-color: var(--ph-green-brand); box-shadow: 0 0 0 8px rgba(0, 135, 90, 0.25); }
}

/* =============================================================
   SUCCESS CONFIRMATION STATE
   ============================================================= */
.hero-callback-success {
  text-align: center;
  padding: 1.25rem 0.5rem;
  animation: hero-fade-scale 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hero-fade-scale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.success-icon-wrap {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: rgba(0, 135, 90, 0.14);
  border: 2px solid var(--ph-green-brand);
  color: var(--ph-green-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin: 0 auto 0.75rem;
  box-shadow: 0 0 20px rgba(0, 135, 90, 0.28);
}

.success-title {
  font-family: var(--ph-font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ph-text-title);
  margin-bottom: 0.35rem;
}

.success-desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ph-text-body);
  max-width: 22rem;
  margin: 0 auto 0.85rem;
}

.success-timing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  color: #064E3B;
  background: #E8F7F0;
  border: 1px solid rgba(0, 135, 90, 0.35);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-whatsapp-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.6rem 1rem;
  border-radius: 0.55rem;
  box-shadow: 0 5px 15px -3px rgba(37, 211, 102, 0.45);
  transition: all 0.2s ease;
}

.btn-whatsapp-chat:hover {
  background: #22BF5B;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-reset-form {
  background: transparent;
  border: 1px solid rgba(0, 135, 90, 0.35);
  color: var(--ph-green-brand);
  font-weight: 600;
  font-size: 0.76rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.55rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-reset-form:hover {
  background: #E8F7F0;
  border-color: var(--ph-green-brand);
}

/* =============================================================
   BOTTOM METROPOLIS-STYLE GREEN TRUST BAR
   ============================================================= */
.premium-hero-bottom-bar {
  background: var(--ph-green-brand);
  width: 100%;
  padding: 1.85rem 0 1.95rem;
  min-height: 5.75rem;
  display: flex;
  align-items: center;
  margin-top: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 -4px 20px rgba(0, 135, 90, 0.2);
  flex-shrink: 0;
}

.hero-bottom-bar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  align-items: center;
  width: 100%;
}

.hero-bottom-bar-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #FFFFFF;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.38;
}

.hero-bottom-bar-item span {
  display: block;
}

.hero-bottom-bar-item i {
  font-size: 1.55rem;
  color: #FFFFFF;
  flex-shrink: 0;
}

/* =============================================================
   RESPONSIVE DESIGN
   ============================================================= */
@media (max-width: 1199.98px) {
  .premium-hero-bottom-bar {
    padding: 1.5rem 0 1.6rem;
    min-height: 5.25rem;
  }

  .hero-bottom-bar-item {
    font-size: 0.78rem;
    gap: 0.6rem;
    line-height: 1.32;
  }

  .hero-bottom-bar-item i {
    font-size: 1.35rem;
  }
}

@media (max-width: 991.98px) {
  .premium-hero {
    height: auto;
    min-height: 100vh;
    max-height: none;
    overflow: visible;
    padding-top: 5.2rem;
    padding-bottom: 1.5rem;
  }

  .premium-hero-container {
    justify-content: center;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
  }

  .hero-main-row {
    justify-content: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-text-col {
    order: 1;
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .premium-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .premium-hero-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-price-pill {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    max-width: 100%;
  }

  .hero-feature-list {
    margin: 0 auto 0.75rem;
    max-width: 380px;
    width: 100%;
  }

  .hero-feature-row {
    justify-content: center;
    text-align: left;
  }

  .hero-phlebo-col {
    order: 2;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 1.25rem auto;
  }

  .hero-phlebo-wrapper {
    margin: 0 auto;
    max-width: 340px;
    height: 400px;
  }

  .premium-hero-form-col {
    order: 3;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0.5rem auto 1rem;
  }

  .hero-callback-card {
    margin: 0 auto;
    max-width: 390px;
    width: 100%;
  }

  .hero-bottom-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.25rem;
  }

  .premium-hero-bottom-bar {
    padding: 1.65rem 0;
    min-height: auto;
  }
}

@media (max-width: 767.98px) {
  .premium-hero-title {
    font-size: clamp(1.65rem, 5.8vw, 2.05rem);
    text-align: center;
  }

  .hero-price-pill {
    padding: 0.65rem 1rem;
    gap: 0.85rem;
    margin-left: auto;
    margin-right: auto;
  }

  .price-pill-label {
    font-size: 0.88rem;
  }

  .price-pill-value {
    font-size: 1.35rem;
  }

  .hero-feature-list {
    max-width: 340px;
    margin: 0 auto 0.5rem;
  }

  .hero-feature-row {
    font-size: 0.92rem;
    padding: 0.6rem 0;
    justify-content: center;
  }

  .hero-phlebo-wrapper {
    max-width: 320px;
    height: 360px;
  }

  .hero-callback-card {
    max-width: 360px;
    padding: 1.75rem 1.35rem 1.6rem;
  }

  .hero-bottom-bar-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    max-width: 330px;
    margin: 0 auto;
  }

  .premium-hero-bottom-bar {
    padding: 1.5rem 0;
  }
}

@media (max-width: 480px) {
  .hero-price-pill {
    padding: 0.55rem 0.85rem;
    gap: 0.65rem;
  }

  .price-pill-label {
    font-size: 0.82rem;
  }

  .price-pill-value {
    font-size: 1.25rem;
  }

  .hero-feature-list {
    max-width: 310px;
  }

  .hero-feature-row {
    font-size: 0.88rem;
  }

  .hero-phlebo-wrapper {
    max-width: 290px;
    height: 320px;
  }

  .hero-callback-card {
    padding: 1.5rem 1.15rem 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .premium-hero-glow,
  .premium-hero-content,
  .hero-phlebo-col,
  .premium-hero-form-col {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
