/* =====================================================
   SERVICE PAGES — service-page.css
   ===================================================== */

/* ── Breadcrumb ── */
.svc-breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 14px;
}
.svc-breadcrumb a {
  color: rgba(255,255,255,0.72);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.svc-breadcrumb a:hover { color: #fff; }

/* ── Hero ── */
.svc-hero {
  background: linear-gradient(135deg, #1f2d3d 0%, #1f6f8b 55%, #123141 100%);
  color: #fff;
  padding: clamp(48px, 7vw, 96px) 24px;
}
.svc-hero-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.svc-hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 14px;
}
.svc-hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.6;
  opacity: 0.88;
  margin-bottom: 28px;
}
.svc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.svc-hero-loc {
  font-size: 13px;
  opacity: 0.70;
}
.svc-hero-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  aspect-ratio: 4/3;
}
.svc-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Info + bullets ── */
.svc-info {
  padding: clamp(48px, 6vw, 80px) 24px;
  background: #fff;
}
.svc-info-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.svc-intro h2 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.svc-intro p {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
}
.svc-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}
.svc-check {
  color: var(--olivos-green);
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── CTA Band ── */
.svc-cta-band {
  background: var(--olivos-blue);
  padding: clamp(40px, 5vw, 64px) 24px;
  text-align: center;
}
.svc-cta-wrap {
  max-width: 640px;
  margin: 0 auto;
}
.svc-cta-wrap h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}
.svc-cta-wrap p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin-bottom: 24px;
}
.svc-cta-wrap .btn-primary {
  font-size: 16px;
  padding: 14px 28px;
  background: #fff;
  color: var(--olivos-blue);
  border-radius: 14px;
}
.svc-cta-wrap .btn-primary:hover { background: #f0f8ff; }

/* ── FAQ ── */
.svc-faq {
  padding: clamp(48px, 6vw, 80px) 24px;
  background: var(--olivos-gray);
}
.svc-faq-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.svc-faq-wrap h2 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 28px;
}
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.07);
  overflow: hidden;
}
.faq-q {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--olivos-blue);
  flex-shrink: 0;
  transition: transform .2s ease;
}
details[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  padding: 0 20px 16px;
}

/* ── Related services ── */
.svc-related {
  padding: clamp(48px, 6vw, 72px) 24px;
  background: #fff;
}
.svc-related-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.svc-related-wrap h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.related-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  background: var(--olivos-gray);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.09);
  border-color: rgba(31,111,139,0.25);
  color: var(--olivos-blue);
}
.related-icon { font-size: 28px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .svc-hero-wrap,
  .svc-info-wrap {
    grid-template-columns: 1fr;
  }
  .svc-hero-img { order: -1; aspect-ratio: 16/9; }
}

/* =====================================================
   LABORATORY PACKAGES SECTION
   ===================================================== */

.lab-pkgs {
  padding: clamp(56px, 7vw, 88px) 24px;
  background: #fff;
}
.lab-pkgs-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.lab-pkgs-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto clamp(36px, 4vw, 52px);
}
.lab-pkgs-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1f6f8b;
  margin-bottom: 10px;
}
.lab-pkgs-heading {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 900;
  color: #0d2233;
  margin-bottom: 12px;
  line-height: 1.2;
}
.lab-pkgs-lead {
  font-size: 15px;
  color: #5a6a77;
  line-height: 1.65;
}

/* ── Grid ── */
.lab-pkgs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
/* 8 cards: 4 cols x 2 rows on desktop */

/* ── Card ── */
.lab-pkg-card {
  position: relative;
  background: #f7fafc;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.lab-pkg-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,0.09);
  transform: translateY(-4px);
}
.lab-pkg-card--featured {
  background: #0d2233;
  border-color: #0d2233;
  color: #fff;
}

/* Badge */
.lab-pkg-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f6f8b;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
}

/* Card head */
.lab-pkg-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.lab-pkg-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(31,111,139,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.lab-pkg-card--featured .lab-pkg-icon {
  background: rgba(255,255,255,0.12);
}
.lab-pkg-icon svg {
  width: 100%;
  height: 100%;
  stroke: #1f6f8b;
}
.lab-pkg-card--featured .lab-pkg-icon svg {
  stroke: #7dd3e8;
}
.lab-pkg-category {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1f6f8b;
  margin-bottom: 2px;
}
.lab-pkg-card--featured .lab-pkg-category {
  color: #7dd3e8;
}
.lab-pkg-name {
  font-size: 15px;
  font-weight: 800;
  color: #0d2233;
  line-height: 1.2;
  margin: 0;
}
.lab-pkg-card--featured .lab-pkg-name { color: #fff; }

/* Description */
.lab-pkg-desc {
  font-size: 12.5px;
  color: #5a6a77;
  line-height: 1.6;
}
.lab-pkg-card--featured .lab-pkg-desc { color: rgba(255,255,255,0.72); }

/* Exam list */
.lab-pkg-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  margin: 0;
  padding: 0;
}
.lab-pkg-list li {
  font-size: 12px;
  color: #3d5060;
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.lab-pkg-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1f6f8b;
  font-weight: 800;
  font-size: 11px;
}
.lab-pkg-card--featured .lab-pkg-list li { color: rgba(255,255,255,0.82); }
.lab-pkg-card--featured .lab-pkg-list li::before { color: #7dd3e8; }

/* CTA */
.lab-pkg-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: #1f6f8b;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 99px;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.02em;
  transition: background 0.18s, transform 0.15s;
  margin-top: auto;
}
.lab-pkg-cta:hover {
  background: #155870;
  transform: translateY(-1px);
}
.lab-pkg-card--featured .lab-pkg-cta {
  background: #fff;
  color: #0d2233;
}
.lab-pkg-card--featured .lab-pkg-cta:hover {
  background: #e8f4f8;
}

/* Bottom note */
.lab-pkgs-note {
  text-align: center;
  font-size: 13.5px;
  color: #5a6a77;
}
.lab-pkgs-note a {
  color: #1f6f8b;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 1100px) {
  .lab-pkgs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .lab-pkgs-grid { grid-template-columns: 1fr; }
}

/* 3-column variant for 6-card grids (especialidades) */
.lab-pkgs-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1100px) {
  .lab-pkgs-grid--3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .lab-pkgs-grid--3col { grid-template-columns: 1fr; }
}
