/* servicios.css — page-specific styles for servicios.astro */

/* ── Definitions section ─────────────────────────────────────────────────── */
.definition-text {
  color: var(--paragraph-blue);
  font-family: "Poppins", sans-serif;
}

/* ── Info + FAQ section ──────────────────────────────────────────────────── */
.info-faq-section {
  background-image: linear-gradient(270deg, #3798af, #244693);
}

.info-faq-section__heading {
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.info-faq-section__text {
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

/* FAQ header icon badge */
.faq-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 1.25rem;
}

.faq-heading {
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* FAQ accordion (native <details>/<summary>) */
.faq-item {
}

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 1rem;
  opacity: 0.8;
}

.faq-item[open] .faq-item__question::after {
  content: "−";
}

.faq-item__answer {
  color: rgba(255, 255, 255, 0.8);
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  padding-bottom: 1.25rem;
  margin: 0;
}

/* ── Testimonials section ────────────────────────────────────────────────── */
.swiperTestimonios {
  padding-bottom: 3rem !important;
}

.swiperTestimonios .swiper-pagination {
  bottom: 0 !important;
}

.swiperTestimonios .swiper-slide {
  display: flex;
  height: auto;
}

.swiperTestimonios .swiper-slide > * {
  width: 100%;
}

.testimonials-rated-text {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: #374151;
  margin: 0;
}

.testimonials-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--heading-blue);
  text-decoration: none;
}

.testimonials-link:hover {
  text-decoration: underline;
}

/* ── Trust / Valoraciones section ───────────────────────────────────────── */
.trust-section {
  padding: 4rem 1rem;
  text-align: center;
}

.trust-section__inner {
  max-width: 720px;
  margin-inline: auto;
}

/* ── Consulta + Cirugías section (shared video background) ───────────────── */
.consulta-section {
  position: relative;
  overflow: hidden;
  background-color: #244693;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.consulta-section__video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.consulta-section__video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(171deg, #3798af 0%, #244693 100%);
  opacity: 0.87;
  z-index: 1;
}
.consulta-section__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 0;
}

.consulta-section__inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.consulta-section__heading {
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  font-weight: 500;
  text-align: left;
  margin: 0 0 1.5rem;
}

.consulta-section__text {
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

/* Feature badge cards */
.feature-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border-radius: 9999px;
  padding: 1rem 2.5rem;
  text-align: center;
  width: 280px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.feature-badge:nth-child(2) {
  margin-left: 2rem;
}
.feature-badge:nth-child(3) {
  margin-left: 4rem;
}
.feature-badge img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.feature-badge span {
  color: #244693;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
}

/* Cirugías surgery image */
.surgery-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

@media (max-width: 767px) {
  .consulta-section__video-bg {
    display: none;
  }
  .consulta-section__heading {
    font-size: 28px;
  }
}
