/* Miscelanea */
.ads-cta-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.landing-ads-cta {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(to right, rgba(0, 159, 227), rgb(2, 127, 180));
  color: var(--white);
  border-radius: 2rem;
  transition: 0.2s;
}

.landing-ads-cta:hover {
  transform: translateY(-2.5px);
  background: linear-gradient(to right, rgb(0, 162, 232), rgb(1, 144, 205));
}

.ads-logos {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
}

.ads-logos img {
  width: 60px;
}

/* Hero */
#landing-hero {
  position: relative;
  display: flex;
  height: 500px;
}

#landing-hero::before {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
}

.landing-hero-desc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 0.75rem;
  max-width: 800px;
  height: 100%;
  color: var(--dark);
}

.landing-hero-desc-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #fbdf58;
  cursor: pointer;
}

.landing-hero-desc h1 {
  color: var(--primario);
}

.landing-hero-desc-stars span {
  margin-left: 0.25rem;
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 500;
}

.landing-hero-desc span:nth-child(4) {
  color: var(--primario);
  font-size: 1.625rem;
  font-weight: 600;
}

.landing-hero-desc span:nth-child(6) {
  font-size: 0.925rem;
  font-weight: 600;
}

.landing-hero-img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: auto;
  height: 100%;
  z-index: -10;
}

@media (max-width: 992px) {
  #landing-hero {
    height: 800px;
  }

  .landing-hero-img {
    position: absolute;
    bottom: 0;
    right: -15%;
    width: auto;
    height: 250px;
  }
}

/* Proceso Start */
#proceso {
  margin-block: 4rem;
}

.proceso-container {
  padding: 4rem;
  background: linear-gradient(to left, rgb(21, 185, 255), rgb(0, 202, 233));
  border-radius: 2rem;
}

.proceso-container h2 {
  margin-bottom: 2rem;
  text-align: center;
  color: var(--white);
  font-weight: 500;
}

.proceso-grid {
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.proceso-item {
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: 2rem;
  color: var(--dark);
}

.proceso-item span:nth-child(1) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 1rem;
  width: 3rem;
  height: 3rem;
  background-color: #d6f3ff;
  color: var(--primario);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 50%;
}

.proceso-item h3 {
  font-size: 1.25rem;
}

@media (max-width: 992px) {
  .proceso-grid {
    grid-template-columns: 1fr;
  }
}

/* Como Saber */
#como-saber .container {
  padding: 4rem;
  background-color: #fafafa;
  color: var(--dark);
  border-radius: 2rem;
}

.como-saber-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 2rem;
}

#como-saber-accordion .accordion-item {
  margin-block: 2rem;
  background-color: #fafafa;
  border: none !important;
}

#como-saber-accordion .accordion-button {
  background-color: #fafafa;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Tabla Comparativa */
#tabla-comparativa {
  margin-block: 2rem;
  color: var(--dark);
}

.tabla-wrapper {
  padding: 4rem;
  border: 1px solid #eee;
  border-radius: 2rem;
}

.tabla-title {
  max-width: 500px;
}

.tabla-title h2 {
  font-size: 1.5rem;
}

/* ====== VARIABLES ====== */
:root {
  --radius: 18px;
  --gap: 22px;

  --bg: #ffffff;
  --muted: #6b7280;

  /* Morados (At home) */
  --blue-25: #f3fbff;
  --blue-50: #e1f6ff;
  --blue-100: #c7eeff;

  /* Grises (In-Lab) */
  --gray-25: #f6f7f8;
  --gray-50: #eceef0;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ====== CONTENEDOR TARJETA ====== */
.compare-card {
  background: var(--bg);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: clamp(16px, 3vw, 28px);
}

/* ====== GRID PRINCIPAL (etiquetas + 2 columnas) ====== */
.compare-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: var(--gap);
  align-items: start;
}

/* ====== COLUMNA DE ETIQUETAS ====== */
.labels .spacer {
  height: 54px;
} /* espacio para el header de cada columna */
.label {
  display: flex;
  align-items: center;
  min-height: 66px;
  font-size: 0.925rem;
}

/* ====== COLUMNAS (tarjetas verticales) ====== */
.col {
  border-radius: var(--radius);
  overflow: hidden; /* para pill continuo */
  background: #fff;
}
.col-head {
  text-align: center;
  font-weight: 600;
  padding: 14px 12px;
}

/* Celda base (mismo alto en todas) */
.cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 14px 16px;
  text-align: center;
  font-size: 0.98rem;
}

/* Estados visuales */
.col-home .tint {
  background: var(--blue-50);
}
.col-home .tint-strong {
  background: var(--blue-100);
}
.col-lab .tint-gray {
  background: var(--gray-50);
}
.col-lab .cell:not(.tint-gray):not(.price):not(.note) {
  background: var(--gray-25);
}

/* Precio y notas */
.price {
  font-weight: 600;
  font-size: 1rem;
}
.note {
  color: var(--text);
}

/* ====== MARCAS ✓ / ✕ EN CÍRCULO ====== */
.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  background-color: transparent;
  color: #1f2937;
  user-select: none;
}

.check {
  color: green;
}

.cross {
  color: red;
}

/* ====== ACCESIBILIDAD ====== */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.dn-sm {
  display: inline;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
  .tabla-wrapper {
    padding: 2rem;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }
  .labels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .labels .spacer {
    display: none;
  }
  .label {
    font-weight: 600;
    color: var(--muted);
  }
  .col {
    margin-top: 4px;
  }
  .col-head {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
  }
  .dn-sm {
    display: none;
  }
}

/* Testimonios */
#testimonios {
  margin-block: 2rem;
}

.testimonios-grid {
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-columns: repeat(3, 1fr);
  margin-inline: auto;
  color: var(--dark);
}

.testimonios-item {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.testimonios-item .bi-quote {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--primario);
  font-size: 4rem;
  opacity: 0.75;
  z-index: -99;
}

.testimonios-item span:nth-child(2) {
  margin-top: 2rem;
  color: #212529;
}

.testimonios-stars {
  color: #fbdf58;
}

.testimonios-autor span {
  color: #6b7280;
  font-size: .925rem;
}

@media (max-width: 992px) {
  .testimonios-grid {
    grid-template-columns: 1fr;
  }
}

/* Call Center */
#call-center {
  color: var(--dark);
}

.call-center-wrapper {
  padding: 4rem;
  background-color: #fafafa;
  color: var(--dark);
  border-radius: 2rem;
}

.call-center-values {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 1rem;
  margin-block: 2rem;
}

.call-center-values-item {
  display: flex;
  align-items: center;
  background-color: var(--white);
  padding: 1rem;
  gap: 1rem;
  width: 100%;
  max-width: 400px;
  border-radius: 1rem;
  box-shadow: 0 4px 34px #0000000d;
}

.call-center-values-item i {
  color: var(--primario);
  font-size: 2rem;
}

.call-center-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 2rem;
}

/* FAQ */

#faq {
  margin-block: 2rem;
}
