/**
 * Shortcodes styles.
 */

.sw-powered-by {
	display: inline-flex;
	font-family: inherit;
	align-items: center;
	gap: 0.28rem;
	font-size: 0.875rem;
	line-height: 1.4;
	color: #6b7280;
}

.sw-powered-by__link {
	font-family: inherit;
	color: #374151;
	font-weight: 500;
	text-decoration: none;
	transition: color 180ms ease, text-decoration-color 180ms ease;
}

.sw-powered-by *,
.sw-back-button * {
	font-family: inherit;
}

.sw-powered-by__link:hover,
.sw-powered-by__link:focus {
	color: #111827;
	/*text-decoration: underline;
	text-underline-offset: 0.18em;*/
}

.sw-back-button {
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 42px;
	padding: 0.7rem 1.15rem;
	border: none; /*1px solid rgba(17, 24, 39, 0.14);*/
	border-radius: 999px;
	background: #f5f5f7;
	color: #1d1d1f;
	font-size: 0.95rem;
	font-family: inherit;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
	transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
	text-transform: uppercase !important;
}

.sw-back-button:hover,
.sw-back-button:focus {
	background: #ffffff;
	color: #1d1d1f;
	border-color: none; /*rgba(17, 24, 39, 0.24);*/
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
	transform: translateY(-1px);
}

.sw-back-button:focus-visible {
	outline: 2px solid #6b7280;
	outline-offset: 3px;
}

.sw-back-button__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.05em;
	line-height: 1;
}

/**
 * Forms with floating placeholders and basic validations.
 * Add class "formsw" to a parent container; styles apply to any form inside it.
 * If the class is placed directly on a form, it is supported too.
 */
.formsw .sw-floating-field {
	position: relative;
	display: block;
	width: 100%;
}

.formsw textarea {
	resize: none !important;
}

.formsw .sw-floating-field input,
.formsw .sw-floating-field textarea {
	width: 100%;
	transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.formsw .sw-floating-field input {
	padding-top: 1.15rem !important;
	padding-bottom: 0.45rem !important;
}

.formsw .sw-floating-field textarea {
	min-height: 118px;
	padding-top: 1.45rem !important;
	resize: none !important;
}

.formsw .sw-floating-label {
	position: absolute;
	z-index: 2;
	left: 0.95rem;
	top: 50%;
	max-width: calc(100% - 1.9rem);
	color: currentColor;
	font-family: inherit;
	font-size: 1em;
	line-height: 1;
	opacity: 0.62;
	overflow: hidden;
	pointer-events: none;
	text-overflow: ellipsis;
	transform: translateY(-50%);
	transform-origin: left top;
	transition: top 180ms ease, transform 180ms ease, font-size 180ms ease, opacity 180ms ease;
	white-space: nowrap;
}

.formsw .sw-floating-field textarea + .sw-floating-label {
	top: 1rem;
	transform: translateY(0);
}

.formsw .sw-floating-field.is-focused .sw-floating-label,
.formsw .sw-floating-field.has-value .sw-floating-label {
	top: 0.46rem;
	font-size: 0.72em;
	opacity: 0.82;
	transform: translateY(0);
}

.formsw .sw-floating-field.is-focused input,
.formsw .sw-floating-field.is-focused textarea {
	outline: none;
}

/* ===========================================================
   CARRUSEL DE MARCAS — [cisne_marcas_marquee]
   Cinta continua de logotipos que se detiene al pasar el cursor
   y descubre el boton que lleva al archivo de cada marca.
   La duracion la calcula el shortcode segun cuantas marcas haya,
   para que la velocidad no cambie al agregar o quitar marcas.
   =========================================================== */

.cisne-marquee {
  position: relative;
  overflow: hidden;
  /* Los logotipos se desvanecen en los bordes en lugar de cortarse. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.cisne-marquee__track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: cisne-marquee-desplazar var(--cisne-marquee-duracion, 34s) linear infinite;
}

/* Se detiene con el cursor encima y tambien al llegar con el tabulador. */
.cisne-marquee:hover .cisne-marquee__track,
.cisne-marquee:focus-within .cisne-marquee__track {
  animation-play-state: paused;
}

@keyframes cisne-marquee-desplazar {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.cisne-marquee__item {
  flex: 0 0 auto;
  width: 250px;
  height: 102px;
  margin: 0;
  display: grid;
  place-items: center;
}

.cisne-marquee__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Deja el sitio del boton, que aparece debajo del logotipo. */
  padding-bottom: 55px;
  color: inherit;
  text-decoration: none;
}

.cisne-marquee__media {
  display: grid;
  place-items: center;
  min-height: 47px;
}

.cisne-marquee__logo {
  display: block;
  max-height: 47px;
  max-width: 100%;
  width: auto;
  height: auto;
  filter: grayscale(1);
  opacity: 0.92;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), filter 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cisne-marquee__link:hover .cisne-marquee__logo,
.cisne-marquee__link:focus-visible .cisne-marquee__logo {
  opacity: 1;
  filter: grayscale(0);
}

/* Marca sin logotipo cargado: se muestra su nombre. */
.cisne-marquee__nombre {
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  color: #7f8194;
  text-align: center;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cisne-marquee__link:hover .cisne-marquee__nombre,
.cisne-marquee__link:focus-visible .cisne-marquee__nombre {
  color: #000;
}

.cisne-marquee__btn {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  min-width: 162px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid #000;
  background: transparent;
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: #000;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.22s cubic-bezier(0.4, 0, 0.2, 1), color 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.cisne-marquee__link:hover .cisne-marquee__btn,
.cisne-marquee__link:focus-visible .cisne-marquee__btn {
  visibility: visible;
  opacity: 1;
}

.cisne-marquee__btn:hover {
  background: #000;
  color: #fff;
}

.cisne-marquee__link:focus-visible {
  outline: 2px solid #3d4173;
  outline-offset: 4px;
}

@media (max-width: 920px) {
  .cisne-marquee__item {
    width: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cisne-marquee__track {
    animation: none;
  }

  .cisne-marquee__logo,
  .cisne-marquee__btn,
  .cisne-marquee__nombre {
    transition-duration: 0.01ms;
  }
}
