/* ================== HolaSofía – Pricing (NUEVO) ================== */

.hs-pricing-section {
  position: relative;
  padding: 90px 0 120px;
  background: #f8fbff; /* fondo muy claro azul */
}

.hs-pricing-bg {
  position: relative;
}

.hs-pricing-header {
  margin-bottom: 28px;
}

.hs-pricing-kicker {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 1.1rem;            /* texto superior */
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 10px;
}

.hs-pricing-title {
  font-size: 2.8rem;            /* título principal */
  font-weight: 800;
  color: #020617;
}

.hs-pricing-toggle .nav-item {
  margin-bottom: 0;
}

.hs-pricing-toggle .nav-link {
  border: none !important;
  border-radius: 999px;
  padding: 9px 28px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #4b5563;
  background: transparent;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hs-pricing-toggle .nav-link:hover {
  color: #111827;
}

.hs-pricing-toggle .nav-link.active {
  background: #111827;
  color: #f9fafb;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
}

.hs-pricing-toggle-badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: #22c55e;
  color: #ecfdf5;
  font-size: 0.8rem;
}

/* ===== Contenido tabs ===== */

.hs-pricing-tab-content {
  margin-top: 46px;
}

/* ===== Layout: columnas y altura uniforme ===== */

/* Hace que todas las columnas se estiren igual */
.hs-pricing-tab-content .row.justify-content-center {
  align-items: stretch;
}

/* Cada columna actúa como contenedor flex de la tarjeta */
.hs-pricing-tab-content .col-lg-4.col-sm-6.col-12 {
  display: flex;
}

/* Un poco más anchas en desktop */
@media (min-width: 992px) {
  .hs-pricing-tab-content .col-lg-4.col-sm-6.col-12 {
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* ===== Cards de precios ===== */

.hs-pricing-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 48px 40px 54px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 780px;      /* todas las tarjetas misma altura base */
}

/* Card central destacada (Desarrollo) – sin desplazarla para que todo quede alineado */
.hs-pricing-card--highlight {
  transform: none;
  border-width: 0;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.55);
}

.hs-pricing-card--dev.hs-pricing-card--highlight {
  background: linear-gradient(
    180deg,
    #0d2858 0%,
    #071f3f 100%
  );
  color: #e5e7eb;
}

@media (max-width: 991.98px) {
  .hs-pricing-card {
    min-height: 0;
  }
}

/* Cabecera del plan: misma altura en todas las tarjetas */
.hs-pricing-head {
  margin-bottom: 26px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Por si todavía existe .plan-head con text-align:center en el CSS viejo */
.plan-head.hs-pricing-head {
  text-align: left !important;
}

/* ===== BANDA "20% DE DESCUENTO EN PLANES ANUALES" ===== */

.hs-pricing-annual-badge {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 36px;
  padding: 0 60px 0 26px;
  box-sizing: border-box;
  white-space: nowrap;

  border-radius: 999px 0 0 999px;
  background: #edf4ff;
  color: #0051a8;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);

  margin-left: auto;
  margin-bottom: 32px;
  align-self: flex-end;
}

/* Ajustes para tablets y móviles (misma forma, solo un poco más compacta) */
@media (max-width: 991.98px) {
  .hs-pricing-annual-badge {
    height: 34px;
    padding: 0 46px 0 22px;
    margin-bottom: 24px;
  }
}

@media (max-width: 575.98px) {
  .hs-pricing-annual-badge {
    height: 32px;
    padding: 0 32px 0 18px;
    font-size: 10px;
  }
}

/* ===== Etiquetas (Plan Asesor / Plan Desarrollo / Plan Inmobiliaria) ===== */

.hs-pricing-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 18px;
  min-height: 5px;
  border-radius: 13px;
  background: #e7f3ff;
  border: 1px solid #c6ddff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.10);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #0f3b66;
  margin-bottom: 16px;
}

/* Colores por tipo de plan */
.hs-pricing-card--advisor .hs-pricing-badge {
  background: #e7f3ff;
  border-color: #c6ddff;
  color: #0f3b66;
}

.hs-pricing-card--dev .hs-pricing-badge {
  background: #d7ff72;
  border-color: #c1f259;
  color: #0b1f3b;
}

.hs-pricing-card--agency .hs-pricing-badge {
  background: #e7f3ff;
  border-color: #c6ddff;
  color: #0f3b66;
}

/* Títulos y precios principales */
.hs-pricing-price {
  margin-top: 8px;
  margin-bottom: 12px;
  font-weight: 800;
  color: #020617;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
}

.hs-pricing-price-currency {
  font-size: 1.9rem;
  margin-right: 1px;
}

.hs-pricing-price-amount {
  font-size: 2.6rem;
}

.hs-pricing-price-per {
  font-size: 1.15rem;
  color: #6b7280;
}

/* Descripción */
.hs-pricing-subtitle {
  font-size: 1.55rem;
  line-height: 1.9;
  color: #6b7280;
  max-width: 340px;
  flex: 1 0 auto;
}

/* Solo tarjeta oscura – Plan Desarrollo */
.hs-pricing-card--dev .hs-pricing-subtitle {
  color: #ffffff;
}

/* Overrides de color para la tarjeta oscura (central) */
.hs-pricing-card--dev .hs-pricing-plan-title,
.hs-pricing-card--dev .hs-pricing-price,
.hs-pricing-card--dev .hs-pricing-price-currency,
.hs-pricing-card--dev .hs-pricing-price-amount {
  color: #f9fafb;
}

/* Título pequeño INDIVIDUAL / DESARROLLOS / A LA MEDIDA */
.hs-pricing-plan-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0a0a23;
  margin-bottom: 12px;
}

/* Override para la tarjeta oscura (Plan Desarrollo) */
.hs-pricing-card--dev .hs-pricing-plan-title {
  color: #f9fafb;
}

/* ===== CTA ===== */

.hs-pricing-cta {
  position: relative;
  padding: 32px 0;
  margin: 0 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Líneas alrededor del botón */
.hs-pricing-cta::before,
.hs-pricing-cta::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0),
    rgba(148, 163, 184, 0.40),
    rgba(15, 23, 42, 0)
  );
}

.hs-pricing-cta::before {
  top: 8px;
}

.hs-pricing-cta::after {
  bottom: 8px;
}

/* Versión tarjeta oscura */
.hs-pricing-card--dev .hs-pricing-cta::before,
.hs-pricing-card--dev .hs-pricing-cta::after {
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0),
    rgba(226, 232, 240, 0.65),
    rgba(15, 23, 42, 0)
  );
}

/* Botón principal */
.hs-pricing-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 30px;
  min-width: 190px;
  border-radius: 999px;
  border: none;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, filter .2s ease;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
}

.hs-pricing-btn-primary:hover {
  transform: translateY(-1px);
}

.hs-pricing-card--advisor .hs-pricing-btn-primary,
.hs-pricing-card--agency .hs-pricing-btn-primary,
.hs-pricing-card--dev .hs-pricing-btn-primary {
  background: linear-gradient(135deg, #00a8ff 0%, #0052ff 100%);
  color: #ffffff;
}

/* ===== Lista de features ===== */

.hs-pricing-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  font-size: 1.24rem;
  color: #4b5563;
  flex: 1 0 auto;
}

.hs-pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

/* Icono check */
.hs-pricing-check {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5ff 0%, #2563eb 100%);
  box-shadow: 0 7px 14px rgba(37, 99, 235, 0.5);
  position: relative;
  margin-top: 2px;
  flex-shrink: 0;
}

.hs-pricing-check::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 4px;
  width: 7px;
  height: 11px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(40deg);
}

/* Icono X */
.hs-pricing-x {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  position: relative;
  margin-top: 2px;
  flex-shrink: 0;
  background: radial-gradient(circle at 30% 20%, #f9fafb 0%, #e5e7eb 45%, #d1d5db 100%);
  box-shadow: 0 6px 14px rgba(148, 163, 184, 0.55);
}

.hs-pricing-x::before,
.hs-pricing-x::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: #6b7280;
  border-radius: 999px;
  transform-origin: center;
}

.hs-pricing-x::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.hs-pricing-x::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hs-pricing-features-title {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.20rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #9ca3af;
}

/* Override de colores para features en tarjeta oscura */
.hs-pricing-card--dev .hs-pricing-features {
  color: #e5e7eb;
}

.hs-pricing-card--dev .hs-pricing-features-title {
  color: #a5b4fc;
}

/* ===== Responsivo general ===== */

@media (max-width: 991.98px) {
  .hs-pricing-section {
    padding: 70px 0 90px;
  }

  .hs-pricing-title {
    font-size: 2.4rem;
  }

  .hs-pricing-card {
    margin-bottom: 28px;
    min-height: 0;
  }

  .hs-pricing-tab-content .col-lg-4.col-sm-6.col-12 {
    display: block;
    margin-bottom: 24px;
  }

  .hs-pricing-card {
    width: 100%;
    padding: 30px 22px 34px;
    border-radius: 22px;
    min-height: 0;
  }

  .hs-pricing-head {
    min-height: 0;
  }
}

@media (max-width: 575.98px) {
  .hs-pricing-card {
    padding: 30px 24px 34px;
    border-radius: 22px;
  }

  .hs-pricing-title {
    font-size: 2.1rem;
  }

  .hs-pricing-badge {
    font-size: 1.2rem;
    padding: 4px 16px;
  }

  .hs-pricing-plan-title {
    font-size: 1.3rem;
  }

  .hs-pricing-price-amount {
    font-size: 2.1rem;
  }

  .hs-pricing-subtitle {
    font-size: 1.3rem;
    max-width: 100%;
  }

  .hs-pricing-features {
    font-size: 1.1rem;
  }
}

/* == Ensanchar un poco más las tarjetas en desktop == */
@media (min-width: 992px) {
  .hs-pricing-tab-content .col-lg-4.col-sm-6.col-12 {
    padding-left: 2px;
    padding-right: 2px;
  }
}

/* ===== Switch Mensual / Anual – tipo slider doble ===== */

.hs-pricing-toggle-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 349px;
  margin-bottom: 0;
}

.hs-pricing-toggle {
  display: flex;
}

.hs-pricing-toggle .nav-tabs {
  border: none;
  border-radius: 999px;
  padding: 4px;
  background: linear-gradient(135deg, #0052ff 0%, #00c3ff 100%);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.35);
  display: flex;
  flex-wrap: nowrap;
}

.hs-pricing-toggle .nav-item {
  flex: 1 1 0;
  margin-bottom: 0;
}

.hs-pricing-toggle .nav-link {
  border: none !important;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 30px;
  font-size: 1.7rem;
  font-weight: 500;
  background: transparent;
  color: #e0edff;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.hs-pricing-toggle .nav-link.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
}

.hs-pricing-toggle .nav-link:not(.active):hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Transición horizontal tabs */

.hs-pricing-tab-content .tab-pane {
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.20s ease-out,
              transform 0.20s ease-out;
}

.hs-pricing-tab-content .tab-pane.show.active {
  opacity: 1;
  transform: translateX(0);
}

/* FIX título + switch en móvil */

@media (max-width: 575.98px) {

  .hs-pricing-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hs-pricing-title {
    margin-bottom: 100px !important;
  }

  .hs-pricing-toggle-wrapper {
    width: 100%;
    display: flex !important;
    justify-content: flex-start !important;
    margin-top: 0 !important;
    padding-top: 100px;
  }

  .hs-pricing-toggle .nav-tabs {
    width: auto;
    justify-content: flex-start;
  }
}

/* ==== AJUSTE FINAL: banda anual pegada completamente a la derecha ==== */

.hs-pricing-card {
  position: relative;
}

/* Desktop / base */
.hs-pricing-annual-badge {
  position: absolute;
  top: 26px;
  right: 0;
  left: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  height: 36px;
  padding: 0 40px 0 26px;
  box-sizing: border-box;
  white-space: nowrap;

  border-radius: 999px 0 0 999px;
  background: #edf4ff;
  color: #0051a8;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);

  margin: 0;
}

/* Reservamos espacio para que el texto no se suba encima de la banda */
.hs-pricing-head {
  padding-top: 64px;
}

/* Tablets y pantallas medianas */
@media (max-width: 991.98px) {
  .hs-pricing-annual-badge {
    left: 22px;
    top: 22px;
    height: 34px;
    padding: 0 30px 0 22px;
  }

  .hs-pricing-head {
    padding-top: 60px;
  }
}

/* Móviles pequeños */
@media (max-width: 575.98px) {
  .hs-pricing-annual-badge {
    left: 24px;
    top: 20px;
    height: 32px;
    padding: 0 24px 0 20px;
    font-size: 10px;
  }

  .hs-pricing-head {
    padding-top: 58px;
  }
}

/* ==== FIX: textos de los planes sin saltos de línea ==== */

.hs-pricing-badge {
  white-space: nowrap;
}

.hs-pricing-plan-title {
  white-space: nowrap;
}

.hs-pricing-price {
  flex-wrap: nowrap;
}

@media (max-width: 991.98px) {
  .hs-pricing-badge {
    font-size: 1.3rem;
  }

  .hs-pricing-plan-title {
    font-size: 1.35rem;
  }

  .hs-pricing-price-amount {
    font-size: 2.3rem;
  }
}

@media (max-width: 575.98px) {
  .hs-pricing-badge {
    font-size: 1.15rem;
  }

  .hs-pricing-plan-title {
    font-size: 1.25rem;
  }

  .hs-pricing-price-amount {
    font-size: 2.05rem;
  }
}

/* ==== Alinear el paquete de la segunda fila a la izquierda ==== */

@media (max-width: 991.98px) {
  .hs-pricing-tab-content .row.justify-content-center {
    justify-content: flex-start !important;
  }
}

/* Quitar sombra del switch Mensual/Anual en móvil y tablet */
@media (max-width: 991.98px) {
  .hs-pricing-toggle .nav-tabs {
    box-shadow: none !important;
  }

  .hs-pricing-toggle .nav-link.active {
    box-shadow: none !important;
  }
}

/* Quitar TODAS las sombras del switch Mensual/Anual en cualquier dispositivo */
.hs-pricing-toggle .nav-tabs {
  box-shadow: none !important;
}

.hs-pricing-toggle .nav-link.active {
  box-shadow: none !important;
}

/* Switch SIEMPRE a la izquierda en tablet y móvil */
@media (max-width: 991.98px) {
  .hs-pricing-toggle-wrapper {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-top: 18px;
    padding-top: 0;
  }

  .hs-pricing-toggle {
    display: flex;
    justify-content: flex-start;
  }

  .hs-pricing-toggle .nav-tabs {
    width: auto;
    justify-content: flex-start;
  }
}

/* Posición del switch Mensual / Anual SOLO en escritorio */
@media (min-width: 992px) {
  .hs-pricing-toggle-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 470px;   /* ajusta este valor para subir/bajar el switch */
    margin-bottom: 0;
  }
}


/* ==== Altura del switch SOLO en móvil ==== */
@media (max-width: 575.98px) {
  .hs-pricing-toggle-wrapper {
    margin-top: 200px !important;  /* antes 28px, ahora más abajo */
    margin-bottom: 0;
  }
}

/* ==== Ajuste final SOLO MÓVIL: bajar un poco más el switch
   sin mover los paquetes ==== */
@media (max-width: 575.98px) {

  /* switch un poco más abajo */
  .hs-pricing-toggle-wrapper {
    margin-top: 200px !important;   /* antes 32px */
  }

  /* compensamos para que las tarjetas no se muevan */
  .hs-pricing-tab-content {
    margin-top: 4px !important;    /* antes 16px */
  }
}

/* ==== Alinear SOLO "PERSONALIZACIÓN & SOPORTE" del plan Desarrollo (desktop) ==== */
/* Es el 4.º .hs-pricing-features-title dentro de la tarjeta Desarrollo */
@media (min-width: 992px) {
  .hs-pricing-card--dev .hs-pricing-features-title:nth-of-type(4) {
    margin-top: 32px; /* prueba 28–36px hasta que lo veas perfecto */
  }
}


<<<<<<< HEAD

=======
/* ==== Bajar solo "PERSONALIZACIÓN & SOPORTE" en el plan Desarrollo (desktop) ==== */
@media (min-width: 992px) {
  .hs-pricing-card--dev ul.hs-pricing-features:nth-of-type(3)
    + .hs-pricing-features-title {
    margin-top: 40px !important;  /* prueba 32–40px hasta que visualmente quede perfecto */
  }
}
>>>>>>> 056ecaa (fix_packages)
