/* Injecții la domiciliu — page-specific styles.
   Ported 1:1 from mockup-injectii-la-domiciliu.html.
   Shared chrome (tokens, topbar, header, footer, status-bar, mobile-callbar,
   fab) lives in main.css. Shared subpage chrome (dark page-hero, trust-bar,
   section, FAQ accordion, btn-red / btn-wa) lives in consultatii-domiciliu.css
   and is loaded first. This file adds only classes unique to this page. */

/* ===== HERO: highlight column instead of photo ===== */
.page-hero-inner-injectii {
  grid-template-columns: 1fr 380px;
}
.page-hero h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}
.page-hero p {
  font-size: 16px;
  margin-bottom: 28px;
}

.badge-247 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
}
.badge-247 .dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.hero-highlights {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  padding: 28px;
}
.hero-highlights h3 {
  font-family: 'Fraunces', serif;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  opacity: .9;
}
.hero-hl-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.hero-hl-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.hero-hl-icon {
  width: 34px;
  height: 34px;
  background: rgba(179, 36, 47, .3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.hero-hl-text strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 2px;
}
.hero-hl-text span {
  color: rgba(255, 255, 255, .55);
  font-size: 12.5px;
  line-height: 1.4;
}

/* ===== TIPURI INJECȚII ===== */
.types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.type-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  border-top: 3px solid var(--red);
  transition: box-shadow .2s, transform .2s;
}
.type-card:hover {
  box-shadow: 0 8px 28px rgba(15, 42, 67, .1);
  transform: translateY(-2px);
}
.type-tag {
  display: inline-block;
  background: rgba(179, 36, 47, .09);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.type-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.type-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== MEDICAMENTE ===== */
.meds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.med-category {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.med-category .mc-icon {
  font-size: 26px;
  margin-bottom: 12px;
  display: block;
}
.med-category h3 {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.med-category p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
.med-category-cta {
  background: rgba(179, 36, 47, .04);
  border-color: rgba(179, 36, 47, .15);
}
.med-note {
  margin-top: 28px;
  padding: 18px 22px;
  background: rgba(179, 36, 47, .06);
  border: 1px solid rgba(179, 36, 47, .15);
  border-radius: 10px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text);
}
.med-note .mn-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== CUM FUNCȚIONEAZĂ (vertical steps) ===== */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 780px;
  margin: 0 auto;
}
.step-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0;
  position: relative;
}
.step-row:not(:last-child) .step-line::after {
  content: '';
  position: absolute;
  left: 29px;
  top: 60px;
  bottom: 0;
  width: 2px;
  background: var(--border);
  z-index: 0;
}
.step-line {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}
.step-circle {
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 5px var(--bg-alt);
}
.step-content {
  padding: 4px 0 36px 24px;
}
.step-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 7px;
}
.step-content p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}
.step-row:last-child .step-content {
  padding-bottom: 0;
}

/* ===== DE CE CRISMED ===== */
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.why-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.section-white .why-card {
  background: var(--bg);
}
.why-card .wc-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}
.why-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.why-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
.why-card-accent {
  background: var(--navy);
  border-color: var(--navy);
}
.why-card-accent h3 {
  color: #fff;
}
.why-card-accent p {
  color: rgba(255, 255, 255, .7);
}

/* ===== CINE ARE NEVOIE (overrides .needs-item from consultatii-domiciliu.css) ===== */
.needs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
}
.needs-list .needs-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  border-left: 3px solid var(--red);
}
.needs-list .needs-item p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.55;
  margin: 0;
}
.needs-list .ni-check {
  width: 24px;
  height: 24px;
  background: rgba(179, 36, 47, .1);
  color: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* FAQ on this page is left-aligned (not centered like the umbrella page). */
.faq-wrap-injectii {
  max-width: 780px;
  margin: 0;
}

/* ===== CTA FINAL ===== */
.cta-final {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1a2530 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 80% at 100% 50%, rgba(179, 36, 47, .22) 0%, transparent 70%);
}
.cta-final-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
}
.cta-final-text h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  color: #fff;
  margin-bottom: 10px;
}
.cta-final-text p {
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
  max-width: 480px;
  margin-bottom: 26px;
}
.cta-final .cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cta-final .cta-phone {
  text-align: center;
  display: block;
  font-size: inherit;
  letter-spacing: normal;
  gap: 0;
  color: inherit;
}
.cta-final .cta-phone small {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.cta-final .cta-phone strong {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, .6);
  margin-top: 24px;
  transition: color .2s;
  position: relative;
  z-index: 1;
}
.back-link:hover {
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .page-hero-inner-injectii {
    grid-template-columns: 1fr minmax(280px, 340px);
    gap: 36px;
  }
  .cta-final .cta-phone strong {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
}

@media (max-width: 980px) {
  .page-hero-inner-injectii {
    grid-template-columns: 1fr;
  }
  .hero-highlights {
    display: none;
  }
  .types-grid {
    grid-template-columns: 1fr;
  }
  .meds-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-cards {
    grid-template-columns: 1fr 1fr;
  }
  .cta-final-inner {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }
  .cta-final-text p {
    margin: 0 auto 24px;
  }
  .cta-final .cta-actions {
    justify-content: center;
  }
  .cta-final {
    padding: 56px 0;
  }
}

@media (max-width: 760px) {
  .meds-grid,
  .why-cards {
    grid-template-columns: 1fr;
  }
  .cta-final {
    padding: 48px 0;
  }
  .cta-final .cta-phone strong {
    font-size: clamp(1.5rem, 8vw, 2rem);
    white-space: normal;
  }
  .step-content {
    padding-left: 16px;
  }
}

@media (max-width: 480px) {
  .page-hero .hero-ctas,
  .cta-final .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-final .cta-actions .btn-red,
  .cta-final .cta-actions .btn-wa {
    width: 100%;
    justify-content: center;
  }
  .cta-final-text h2 {
    font-size: clamp(1.3rem, 6vw, 1.65rem);
  }
  .cta-final-text p {
    font-size: 14.5px;
    margin-bottom: 20px;
  }
  .type-card,
  .med-category,
  .why-card {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .type-card,
  .back-link {
    transition: none;
  }
  .type-card:hover {
    transform: none;
  }
}
