/* CSS para servicios de laboratorio (PCR VPH, Cultivo Vaginal) */

main { padding-top: 64px; }

/* === HERO === */
.lab-hero {
  background: linear-gradient(135deg, var(--lab-bg-1, #2D1B69), var(--lab-bg-2, #1A0F3F));
  padding: 80px 5% 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lab-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,.05) 0%, transparent 50%),
                    radial-gradient(circle at 80% 30%, rgba(255,255,255,.04) 0%, transparent 50%);
  pointer-events: none;
}

.lab-hero-inner { position: relative; max-width: 920px; margin: 0 auto; }

.lab-hero-tag {
  display: inline-block;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--lab-accent, #C4B5FD);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.lab-hero h1 {
  font-family: var(--fd);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  color: white;
  line-height: 1.05;
  margin-bottom: 14px;
  font-weight: 700;
}

.lab-hero-sub {
  display: block;
  color: var(--lab-accent, #C4B5FD);
  font-family: var(--fb);
  font-size: 1rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin: 8px 0 32px;
}

.lab-hero-question {
  color: #FCA5A5;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.lab-hero-hook {
  color: #E2E8F0;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 32px;
}

.lab-hero-hook strong { color: white; }

.lab-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}

.lab-hero-badges span {
  background: rgba(34, 197, 94, .15);
  border: 1px solid rgba(34, 197, 94, .35);
  color: #86EFAC;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
}

.lab-hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, .35);
  padding: 8px 18px;
  border-radius: 50px;
  color: #FCD34D;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.lab-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.lab-btn-primary {
  background: linear-gradient(135deg, var(--lab-cta-1, #8B5CF6), var(--lab-cta-2, #6D28D9));
  color: white;
  padding: 18px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 10px 30px rgba(139, 92, 246, .4);
  transition: transform .2s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lab-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 40px rgba(139, 92, 246, .5); }

.lab-btn-ghost {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: white;
  padding: 18px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background .2s;
}

.lab-btn-ghost:hover { background: rgba(255,255,255,.14); }

/* === PRECIO BANNER === */
.lab-price-banner {
  background: linear-gradient(90deg, #052e16, #064e3b);
  border-top: 1px solid rgba(34,197,94,.3);
  border-bottom: 1px solid rgba(34,197,94,.3);
  padding: 22px 5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.lab-price-banner .pb-promo {
  background: #DC2626;
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .05em;
}

.lab-price-banner .pb-name { color: #A7F3D0; font-weight: 700; }

.lab-price-banner .pb-old {
  text-decoration: line-through;
  color: #94A3B8;
  font-size: 1.05rem;
}

.lab-price-banner .pb-new {
  color: #34D399;
  font-size: 1.6rem;
  font-weight: 800;
}

.lab-price-banner .pb-savings {
  color: #FBBF24;
  font-size: .9rem;
  font-weight: 700;
}

/* === SECCIONES === */
.lab-section {
  padding: 64px 5%;
  background: var(--lab-section-bg, #F8FAFF);
}

.lab-section-dark { background: #0A1628; color: #E2E8F0; }
.lab-section-dark h2, .lab-section-dark h3 { color: white; }

.lab-section-inner { max-width: 1100px; margin: 0 auto; }

.lab-section-tag {
  display: inline-block;
  background: rgba(139, 92, 246, .15);
  border: 1px solid rgba(139, 92, 246, .3);
  color: var(--lab-accent, #A78BFA);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}

.lab-section h2 {
  font-family: var(--fd);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--tw);
  margin-bottom: 14px;
  line-height: 1.15;
}

.lab-section-lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--tm);
  max-width: 760px;
  margin-bottom: 40px;
}

.lab-section-dark .lab-section-lead { color: #94A3B8; }

/* === GRID DE FEATURES === */
.lab-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.lab-feature {
  background: white;
  border: 1px solid #E2E8F0;
  border-left: 4px solid var(--lab-accent, #8B5CF6);
  border-radius: 14px;
  padding: 22px 24px;
}

.lab-section-dark .lab-feature {
  background: #0F2540;
  border-color: #1E3A5F;
  border-left-color: var(--lab-accent, #A78BFA);
}

.lab-feature-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.lab-feature h3 { font-family: var(--fd); font-size: 1.2rem; margin-bottom: 8px; color: var(--tw); }
.lab-section-dark .lab-feature h3 { color: white; }
.lab-feature p { color: var(--tm); line-height: 1.65; font-size: .95rem; }
.lab-section-dark .lab-feature p { color: #94A3B8; }

/* === PROCESO (steps) === */
.lab-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.lab-step {
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 24px 22px;
  text-align: center;
  position: relative;
}

.lab-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lab-cta-1, #8B5CF6), var(--lab-cta-2, #6D28D9));
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.lab-step h3 { font-family: var(--fd); font-size: 1.1rem; margin-bottom: 8px; color: var(--tw); }
.lab-step p { color: var(--tm); font-size: .9rem; line-height: 1.6; }

/* === FAQ === */
.lab-faq { max-width: 820px; margin: 0 auto; }

.lab-faq details {
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .2s;
}

.lab-faq details[open] { box-shadow: 0 4px 16px rgba(0,0,0,.06); }

.lab-faq summary {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 700;
  color: var(--tw);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.lab-faq summary::-webkit-details-marker { display: none; }
.lab-faq summary::after { content: '+'; font-size: 1.4rem; color: var(--lab-accent, #8B5CF6); transition: transform .2s; flex-shrink: 0; }
.lab-faq details[open] summary::after { content: '−'; }
.lab-faq details > div { padding: 0 24px 22px; color: var(--tm); line-height: 1.75; font-size: .98rem; }

/* === CTA FINAL === */
.lab-cta-final {
  background: linear-gradient(135deg, var(--lab-bg-1, #2D1B69), var(--lab-bg-2, #1A0F3F));
  padding: 72px 5%;
  text-align: center;
}

.lab-cta-final h2 {
  font-family: var(--fd);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: white;
  margin-bottom: 14px;
  line-height: 1.2;
}

.lab-cta-final p { color: #C4B5FD; font-size: 1.05rem; margin-bottom: 32px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* === Notice de laboratorio === */
.lab-notice {
  background: rgba(251, 191, 36, .1);
  border: 1px solid rgba(251, 191, 36, .3);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 32px auto 0;
  max-width: 700px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
}

.lab-section-dark .lab-notice { background: rgba(251, 191, 36, .08); }

.lab-notice-icon { font-size: 1.4rem; flex-shrink: 0; }

.lab-notice-text {
  color: var(--tm);
  font-size: .9rem;
  line-height: 1.65;
}

.lab-section-dark .lab-notice-text { color: #94A3B8; }

.lab-notice-text strong { color: var(--tw); }
.lab-section-dark .lab-notice-text strong { color: white; }

/* === Responsive === */
@media(max-width: 600px) {
  .lab-hero { padding: 60px 5% 40px; }
  .lab-section { padding: 48px 5%; }
  .lab-cta-final { padding: 56px 5%; }
}
